Enum nrf52svd::radio::mode::MODER
[−]
[src]
pub enum MODER { NRF_1MBIT, NRF_2MBIT, NRF_250KBIT, BLE_1MBIT, BLE_2MBIT, _Reserved(u8), }
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
NRF_250KBIT
Deprecated enumerator - 250 kbit/s Nordic proprietary radio mode
BLE_1MBIT
1 Mbit/s Bluetooth Low Energy
BLE_2MBIT
2 Mbit/s Bluetooth Low Energy
_Reserved(u8)
Reserved
Methods
impl MODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_nrf_1mbit(&self) -> bool
[src]
Checks if the value of the field is NRF_1MBIT
fn is_nrf_2mbit(&self) -> bool
[src]
Checks if the value of the field is NRF_2MBIT
fn is_nrf_250kbit(&self) -> bool
[src]
Checks if the value of the field is NRF_250KBIT
fn is_ble_1mbit(&self) -> bool
[src]
Checks if the value of the field is BLE_1MBIT
fn is_ble_2mbit(&self) -> bool
[src]
Checks if the value of the field is BLE_2MBIT
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more