#[repr(C)]pub(crate) struct Stream {
pub(crate) demod: Complex<i32>,
pub(crate) phase: [i32; 2],
pub(crate) delta_ftw: i32,
pub(crate) delta_pow: i16,
pub(crate) mod_amp: u16,
pub(crate) pll: u32,
}Expand description
Stream data format.
Fields§
§demod: Complex<i32>Demodulated signal. -1 << 31 corresponds to negative full scale.
phase: [i32; 2]Current number of phase wraps. In units of turns.
delta_ftw: i32Current frequency tuning word added to the configured modulation
offset mod_freq.
delta_pow: i16Current phase offset word applied to the modulation DDS.
mod_amp: u16Modulation DDS amplitude word
pll: u32PLL time
Trait Implementations§
impl Copy for Stream
impl Pod for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, M> ForwardCompat<T, M> for T
impl<T, M> ForwardCompat<T, M> for T
§impl<T> ReverseCompat<T> for T
impl<T> ReverseCompat<T> for T
§fn reverse(self) -> Reverse<T>
fn reverse(self) -> Reverse<T>
Create an e-h-c wrapper around and e-h object Available methods depend on the wrapped type
§fn reverse_cell(self) -> Reverse<RefCell<T>>
fn reverse_cell(self) -> Reverse<RefCell<T>>
Create an e-h-c reverse compatibility wrapper using a ref-cell for interior mutability (required for InputPin types)