Type Alias nrf52840_pac::power::intenset::SLEEPENTER_R
source · pub type SLEEPENTER_R = BitReader<SLEEPENTER_A>;
Expand description
Field SLEEPENTER
reader - Write ‘1’ to enable interrupt for SLEEPENTER event
Aliased Type§
struct SLEEPENTER_R { /* private fields */ }
Implementations§
source§impl SLEEPENTER_R
impl SLEEPENTER_R
sourcepub fn variant(&self) -> SLEEPENTER_A
pub fn variant(&self) -> SLEEPENTER_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED