pub struct CpmConfig {
pub order: usize,
pub h_num: u32,
pub h_den: u32,
pub pulse: FrequencyPulse,
pub length: usize,
pub sps: usize,
}Expand description
The parameters of a CPM signal, validated by CpmConfig::build.
Fields§
§order: usizeThe alphabet size $M$ (2 or 4).
h_num: u32The numerator $p$ of the modulation index $h = p/q$.
h_den: u32The denominator $q$ of the modulation index.
pulse: FrequencyPulseThe frequency pulse.
length: usizeThe pulse length $L$ in symbols.
sps: usizeSamples per symbol.
Implementations§
Trait Implementations§
impl Copy for CpmConfig
impl StructuralPartialEq for CpmConfig
Auto Trait Implementations§
impl Freeze for CpmConfig
impl RefUnwindSafe for CpmConfig
impl Send for CpmConfig
impl Sync for CpmConfig
impl Unpin for CpmConfig
impl UnsafeUnpin for CpmConfig
impl UnwindSafe for CpmConfig
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