pub struct Ft4Codec;Expand description
FT4 channel encoder/decoder.
Implementations§
Source§impl Ft4Codec
impl Ft4Codec
Sourcepub fn encode(payload: &Ft4Bits) -> Ft4Frame
pub fn encode(payload: &Ft4Bits) -> Ft4Frame
Encode a 77-bit payload into an Ft4Frame of 87 Gray-coded tone indices.
Sourcepub fn decode_hard(frame: &Ft4Frame) -> Option<Ft4Bits>
pub fn decode_hard(frame: &Ft4Frame) -> Option<Ft4Bits>
Decode an Ft4Frame using hard decisions.
Sourcepub fn frame_to_llr_hard(frame: &Ft4Frame) -> [f32; 174]
pub fn frame_to_llr_hard(frame: &Ft4Frame) -> [f32; 174]
Convert an Ft4Frame (hard tone decisions) into 174 LLRs (±10.0).
Auto Trait Implementations§
impl Freeze for Ft4Codec
impl RefUnwindSafe for Ft4Codec
impl Send for Ft4Codec
impl Sync for Ft4Codec
impl Unpin for Ft4Codec
impl UnsafeUnpin for Ft4Codec
impl UnwindSafe for Ft4Codec
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