Type Definition lpc81x_pac::lpc810::pmu::pcon::SLEEPFLAG_W
source · pub type SLEEPFLAG_W<'a, const O: u8> = BitWriter<'a, u32, PCON_SPEC, SLEEPFLAG_A, O>;
Expand description
Field SLEEPFLAG
writer - Sleep mode flag
Implementations§
source§impl<'a, const O: u8> SLEEPFLAG_W<'a, O>
impl<'a, const O: u8> SLEEPFLAG_W<'a, O>
sourcepub fn active_mode(self) -> &'a mut W
pub fn active_mode(self) -> &'a mut W
Active mode. Read: No power-down mode entered. Part is in Active mode. Write: No effect.
sourcepub fn low_power_mode(self) -> &'a mut W
pub fn low_power_mode(self) -> &'a mut W
Low power mode. Read: Sleep, Deep-sleep or Power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0.