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