Type Alias nrf52840_pac::radio::mode::MODE_W

source ·
pub type MODE_W<'a, const O: u8> = FieldWriter<'a, u32, MODE_SPEC, u8, MODE_A, 4, O>;
Expand description

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

Aliased Type§

struct MODE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> MODE_W<'a, O>

source

pub fn nrf_1mbit(self) -> &'a mut W

1 Mbit/s Nordic proprietary radio mode

source

pub fn nrf_2mbit(self) -> &'a mut W

2 Mbit/s Nordic proprietary radio mode

source

pub fn ble_1mbit(self) -> &'a mut W

1 Mbit/s BLE

source

pub fn ble_2mbit(self) -> &'a mut W

2 Mbit/s BLE

source

pub fn ble_lr125kbit(self) -> &'a mut W

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

source

pub fn ble_lr500kbit(self) -> &'a mut W

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

source

pub fn ieee802154_250kbit(self) -> &'a mut W

IEEE 802.15.4-2006 250 kbit/s