Type Alias nrf52840_pac::radio::state::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