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

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

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.