#[repr(u8)]
pub enum MODE_A {
    NRF_1MBIT,
    NRF_2MBIT,
    BLE_1MBIT,
    BLE_2MBIT,
    BLE_LR125KBIT,
    BLE_LR500KBIT,
    IEEE802154_250KBIT,
}
Expand description

Radio data rate and modulation setting. The radio supports frequency-shift keying (FSK) modulation.

Value on reset: 0

Variants

NRF_1MBIT

0: 1 Mbit/s Nordic proprietary radio mode

NRF_2MBIT

1: 2 Mbit/s Nordic proprietary radio mode

BLE_1MBIT

3: 1 Mbit/s BLE

BLE_2MBIT

4: 2 Mbit/s BLE

BLE_LR125KBIT

5: Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX

BLE_LR500KBIT

6: Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX

IEEE802154_250KBIT

15: IEEE 802.15.4-2006 250 kbit/s

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
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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 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.