Type Alias nrf52840_pac::radio::mode::MODE_R

source ·
pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description

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

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> Option<MODE_A>

Get enumerated values variant

source

pub fn is_nrf_1mbit(&self) -> bool

Checks if the value of the field is NRF_1MBIT

source

pub fn is_nrf_2mbit(&self) -> bool

Checks if the value of the field is NRF_2MBIT

source

pub fn is_ble_1mbit(&self) -> bool

Checks if the value of the field is BLE_1MBIT

source

pub fn is_ble_2mbit(&self) -> bool

Checks if the value of the field is BLE_2MBIT

source

pub fn is_ble_lr125kbit(&self) -> bool

Checks if the value of the field is BLE_LR125KBIT

source

pub fn is_ble_lr500kbit(&self) -> bool

Checks if the value of the field is BLE_LR500KBIT

source

pub fn is_ieee802154_250kbit(&self) -> bool

Checks if the value of the field is IEEE802154_250KBIT