nrf52840_pac::nfct::sleepstate

Type Alias SLEEPSTATE_R

Source
pub type SLEEPSTATE_R = BitReader<SLEEPSTATE_A>;
Expand description

Field SLEEPSTATE reader - Reflects the sleep state during automatic collision resolution. Set to IDLE by a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or by a GOSLEEP task.

Aliased Type§

struct SLEEPSTATE_R { /* private fields */ }

Implementations§

Source§

impl SLEEPSTATE_R

Source

pub fn variant(&self) -> SLEEPSTATE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_sleep_a(&self) -> bool

Checks if the value of the field is SLEEP_A