Type Definition lpc81x_pac::lpc812::pmu::pcon::SLEEPFLAG_R
source · pub type SLEEPFLAG_R = BitReader<SLEEPFLAG_A>;
Expand description
Field SLEEPFLAG
reader - Sleep mode flag
Implementations§
source§impl SLEEPFLAG_R
impl SLEEPFLAG_R
sourcepub fn variant(&self) -> SLEEPFLAG_A
pub fn variant(&self) -> SLEEPFLAG_A
Get enumerated values variant
sourcepub fn is_active_mode(&self) -> bool
pub fn is_active_mode(&self) -> bool
Checks if the value of the field is ACTIVE_MODE
sourcepub fn is_low_power_mode(&self) -> bool
pub fn is_low_power_mode(&self) -> bool
Checks if the value of the field is LOW_POWER_MODE