Struct futuresdr::blocks::signal_source::NCO
source · pub struct NCO {
pub phase: FixedPointPhase,
/* private fields */
}
Expand description
Numerically Controlled Oscillator
Fields§
§phase: FixedPointPhase
Phase
Implementations§
source§impl NCO
impl NCO
sourcepub fn adjust_phase(&mut self, delta_phase: f32)
pub fn adjust_phase(&mut self, delta_phase: f32)
Adjust phase in radians
sourcepub fn adjust_freq(&mut self, delta_angle_rate: f32)
pub fn adjust_freq(&mut self, delta_angle_rate: f32)
Adjust frequency
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NCO
impl Send for NCO
impl Sync for NCO
impl Unpin for NCO
impl UnwindSafe for NCO
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