#[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
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more