Type Alias nrf52840_pac::nfct::sleepstate::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
impl SLEEPSTATE_R
sourcepub fn variant(&self) -> SLEEPSTATE_A
pub fn variant(&self) -> SLEEPSTATE_A
Get enumerated values variant
sourcepub fn is_sleep_a(&self) -> bool
pub fn is_sleep_a(&self) -> bool
Checks if the value of the field is SLEEP_A