Struct stabilizer::hardware::pounder::dds_output::DdsOutput
source · pub struct DdsOutput { /* private fields */ }
Expand description
The DDS profile update stream.
Implementations§
source§impl DdsOutput
impl DdsOutput
sourcepub fn new(
qspi: QspiInterface,
io_update_trigger: HighResTimerE,
mode: Mode
) -> Self
pub fn new( qspi: QspiInterface, io_update_trigger: HighResTimerE, mode: Mode ) -> Self
Construct a new DDS output stream.
§Note
It is assumed that the QSPI stream and the IO_Update trigger timer have been configured in a way such that the profile has sufficient time to be written before the IO_Update signal is generated.
§Args
qspi
- The QSPI interface to the run the stream on.io_update_trigger
- The HighResTimerE used to generate IO_Update pulses.config
- The frozen DDS configuration.
sourcepub fn builder(&mut self) -> ProfileBuilder<'_>
pub fn builder(&mut self) -> ProfileBuilder<'_>
Get a builder for serializing a Pounder DDS profile.
Auto Trait Implementations§
impl Freeze for DdsOutput
impl RefUnwindSafe for DdsOutput
impl Send for DdsOutput
impl !Sync for DdsOutput
impl Unpin for DdsOutput
impl UnwindSafe for DdsOutput
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