Struct stabilizer::hardware::pounder::dds_output::ProfileBuilder
source · pub struct ProfileBuilder<'a> { /* private fields */ }
Expand description
A temporary builder for serializing and writing profiles.
Implementations§
source§impl<'a> ProfileBuilder<'a>
impl<'a> ProfileBuilder<'a>
sourcepub fn update_channels(
&mut self,
channels: Channel,
ftw: Option<u32>,
pow: Option<u16>,
acr: Option<u32>
) -> &mut Self
pub fn update_channels( &mut self, channels: Channel, ftw: Option<u32>, pow: Option<u16>, acr: Option<u32> ) -> &mut Self
Update a number of channels with the provided configuration
§Args
channels
- A list of channels to apply the configuration to.ftw
- If provided, indicates a frequency tuning word for the channels.pow
- If provided, indicates a phase offset word for the channels.acr
- If provided, indicates the amplitude control register for the channels. The 24-bits of the ACR should be stored in the last 3 LSB.
Auto Trait Implementations§
impl<'a> Freeze for ProfileBuilder<'a>
impl<'a> RefUnwindSafe for ProfileBuilder<'a>
impl<'a> Send for ProfileBuilder<'a>
impl<'a> !Sync for ProfileBuilder<'a>
impl<'a> Unpin for ProfileBuilder<'a>
impl<'a> !UnwindSafe for ProfileBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more