pub struct FskConfig {
Show 18 fields pub preamble_len: u16, pub payload_len: PayloadLength, pub dc_free: DcFree, pub crc: Crc, pub crc_autoclear: CrcAutoClear, pub address_filter: AddressFilter, pub crc_whitening: CrcWhitening, pub data_mode: DataMode, pub io_home: IoHome, pub beacon: Beacon, pub rx_afc: RxAfc, pub rx_agc: RxAgc, pub rx_trigger: RxTrigger, pub node_address: u8, pub broadcast_address: u8, pub invert_iq: bool, pub rx_continuous: bool, pub preamble: u16,
}
Expand description

FSK and OOK mode configuration

Fields

preamble_len: u16

Preamble length in symbols (defaults to 0x8)

payload_len: PayloadLength

Payload length configuration (defaults to Variable / Explicit header mode)

dc_free: DcFree

DC-Free encoding/decoding

crc: Crc

Payload RX CRC configuration (defaults to enabled)

crc_autoclear: CrcAutoClear

Disable auto-clear FIFO and restart RX on CRC failure

address_filter: AddressFilter

Address filtering in RX mode

crc_whitening: CrcWhitening

Select CRC whitening algorithm

data_mode: DataMode

Set data processing mode

io_home: IoHome

Enable io-homecontrol compatibility mode

beacon: Beacon

Enable beacon mode in fixed packet format

rx_afc: RxAfc

Receive mode Auto Frequency Compensation (AFC)

rx_agc: RxAgc

Receive mode Auto Gain Compensation (AGC)

rx_trigger: RxTrigger

Receive mode trigger

node_address: u8

Node address for filtering

broadcast_address: u8

Broadcast address for filtering

invert_iq: bool

IQ inversion configuration (defaults to disabled)

rx_continuous: bool

RX continuous mode

preamble: u16

Preamble

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.