#[repr(u8)]pub enum LpMode {
Show 16 variants
MODE0 = 0,
MODE1 = 1,
MODE2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
MODE8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
MODE0 = 0
SLEEP with system clock running
MODE1 = 1
DSLEEP with system clock off
MODE2 = 2
PDOWN with system clock off
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
MODE8 = 8
DPDOWN with system clock off
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for LpMode
impl Ord for LpMode
Source§impl PartialOrd for LpMode
impl PartialOrd for LpMode
impl Copy for LpMode
impl Eq for LpMode
impl StructuralPartialEq for LpMode
Auto Trait Implementations§
impl Freeze for LpMode
impl RefUnwindSafe for LpMode
impl Send for LpMode
impl Sync for LpMode
impl Unpin for LpMode
impl UnwindSafe for LpMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more