nrf52840_pac::radio::state

Type Alias STATE_R

Source
pub type STATE_R = FieldReader<u8, STATE_A>;
Expand description

Field STATE reader - Current radio state

Aliased Type§

struct STATE_R { /* private fields */ }

Implementations§

Source§

impl STATE_R

Source

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

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_rx_ru(&self) -> bool

Checks if the value of the field is RX_RU

Source

pub fn is_rx_idle(&self) -> bool

Checks if the value of the field is RX_IDLE

Source

pub fn is_rx(&self) -> bool

Checks if the value of the field is RX

Source

pub fn is_rx_disable(&self) -> bool

Checks if the value of the field is RX_DISABLE

Source

pub fn is_tx_ru(&self) -> bool

Checks if the value of the field is TX_RU

Source

pub fn is_tx_idle(&self) -> bool

Checks if the value of the field is TX_IDLE

Source

pub fn is_tx(&self) -> bool

Checks if the value of the field is TX

Source

pub fn is_tx_disable(&self) -> bool

Checks if the value of the field is TX_DISABLE