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

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