Struct dw1000::configs::RxConfig [−][src]
pub struct RxConfig {
pub bitrate: BitRate,
pub frame_filtering: bool,
pub pulse_repetition_frequency: PulseRepetitionFrequency,
pub expected_preamble_length: PreambleLength,
pub channel: UwbChannel,
pub sfd_sequence: SfdSequence,
pub append_crc: bool,
}
Expand description
Receive configuration
Fields
bitrate: BitRate
The bitrate that will be used for reception.
frame_filtering: bool
Enable frame filtering
If true, only frames directly addressed to this node and broadcasts will be received.
Defaults to true
.
pulse_repetition_frequency: PulseRepetitionFrequency
Sets the PRF value of the reception
expected_preamble_length: PreambleLength
The expected preamble length.
This affects the chosen PAC size. This should be the same as the preamble length that is used to send the messages. It is not a filter, though, so other preamble lengths may still be received.
channel: UwbChannel
The channel that the DW1000 will listen at.
sfd_sequence: SfdSequence
The type of SFD sequence that will be scanned for.
append_crc: bool
When true, a CRC will be expected to be appended to the message
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RxConfig
impl UnwindSafe for RxConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.