#[repr(C)]pub struct fsk_spec_t {
pub name: *const c_char,
pub freq_zero: c_int,
pub freq_one: c_int,
pub tx_level: c_int,
pub min_level: c_int,
pub baud_rate: c_int,
}Expand description
FSK modem specification. This defines the frequencies, signal levels and baud rate (== bit rate for simple FSK) for a single channel of an FSK modem.
Fields§
§name: *const c_charShort text name for the modem.
freq_zero: c_intThe frequency of the zero bit state, in Hz
freq_one: c_intThe frequency of the one bit state, in Hz
tx_level: c_intThe transmit power level, in dBm0
min_level: c_intThe minimum acceptable receive power level, in dBm0
baud_rate: c_intThe bit rate of the modem, in units of 1/100th bps
Trait Implementations§
Source§impl Clone for fsk_spec_t
impl Clone for fsk_spec_t
Source§fn clone(&self) -> fsk_spec_t
fn clone(&self) -> fsk_spec_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for fsk_spec_t
impl Debug for fsk_spec_t
Source§impl Default for fsk_spec_t
impl Default for fsk_spec_t
impl Copy for fsk_spec_t
Auto Trait Implementations§
impl Freeze for fsk_spec_t
impl RefUnwindSafe for fsk_spec_t
impl !Send for fsk_spec_t
impl !Sync for fsk_spec_t
impl Unpin for fsk_spec_t
impl UnwindSafe for fsk_spec_t
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