pub enum MODER {
NRF_1MBIT,
NRF_2MBIT,
BLE_1MBIT,
BLE_2MBIT,
BLE_LR125KBIT,
BLE_LR500KBIT,
IEEE802154_250KBIT,
_Reserved(u8),
}
Expand description
Possible values of the field MODE
Variants
NRF_1MBIT
1 Mbit/s Nordic proprietary radio mode
NRF_2MBIT
2 Mbit/s Nordic proprietary radio mode
BLE_1MBIT
1 Mbit/s BLE
BLE_2MBIT
2 Mbit/s BLE
BLE_LR125KBIT
Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX
BLE_LR500KBIT
Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX
IEEE802154_250KBIT
IEEE 802.15.4-2006 250 kbit/s
_Reserved(u8)
Reserved
Implementations
sourceimpl MODER
impl MODER
sourcepub fn is_nrf_1mbit(&self) -> bool
pub fn is_nrf_1mbit(&self) -> bool
Checks if the value of the field is NRF_1MBIT
sourcepub fn is_nrf_2mbit(&self) -> bool
pub fn is_nrf_2mbit(&self) -> bool
Checks if the value of the field is NRF_2MBIT
sourcepub fn is_ble_1mbit(&self) -> bool
pub fn is_ble_1mbit(&self) -> bool
Checks if the value of the field is BLE_1MBIT
sourcepub fn is_ble_2mbit(&self) -> bool
pub fn is_ble_2mbit(&self) -> bool
Checks if the value of the field is BLE_2MBIT
sourcepub fn is_ble_lr125kbit(&self) -> bool
pub fn is_ble_lr125kbit(&self) -> bool
Checks if the value of the field is BLE_LR125KBIT
sourcepub fn is_ble_lr500kbit(&self) -> bool
pub fn is_ble_lr500kbit(&self) -> bool
Checks if the value of the field is BLE_LR500KBIT
sourcepub fn is_ieee802154_250kbit(&self) -> bool
pub fn is_ieee802154_250kbit(&self) -> bool
Checks if the value of the field is IEEE802154_250KBIT
Trait Implementations
impl Copy for MODER
impl StructuralPartialEq for MODER
Auto Trait Implementations
impl RefUnwindSafe for MODER
impl Send for MODER
impl Sync for MODER
impl Unpin for MODER
impl UnwindSafe for MODER
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