Struct stabilizer::hardware::signal_generator::Config
source · pub struct Config {
pub signal: Signal,
pub amplitude: i16,
pub phase_increment: [i32; 2],
pub phase_offset: i32,
}
Fields§
§signal: Signal
The type of signal being generated
amplitude: i16
The full-scale output code of the signal
phase_increment: [i32; 2]
The frequency tuning word of the signal. Phase is incremented by this amount
phase_offset: i32
The phase offset
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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