Enum lpc81x_pac::lpc810::pmu::pcon::SLEEPFLAG_A
source · pub enum SLEEPFLAG_A {
ACTIVE_MODE,
LOW_POWER_MODE,
}
Expand description
Sleep mode flag
Value on reset: 0
Variants§
ACTIVE_MODE
0: Active mode. Read: No power-down mode entered. Part is in Active mode. Write: No effect.
LOW_POWER_MODE
1: Low power mode. Read: Sleep, Deep-sleep or Power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0.
Trait Implementations§
source§impl Clone for SLEEPFLAG_A
impl Clone for SLEEPFLAG_A
source§fn clone(&self) -> SLEEPFLAG_A
fn clone(&self) -> SLEEPFLAG_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SLEEPFLAG_A
impl Debug for SLEEPFLAG_A
source§impl From<SLEEPFLAG_A> for bool
impl From<SLEEPFLAG_A> for bool
source§fn from(variant: SLEEPFLAG_A) -> Self
fn from(variant: SLEEPFLAG_A) -> Self
Converts to this type from the input type.