#[repr(u8)]pub enum PmctrlwakeLpmode {
Show 16 variants
LPMODE0000 = 0,
LPMODE0001 = 1,
_RESERVED_2 = 2,
LPMODE0011 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
LPMODE1111 = 15,
}Variants§
LPMODE0000 = 0
Active/Sleep
LPMODE0001 = 1
Deep Sleep
_RESERVED_2 = 2
LPMODE0011 = 3
Power Down
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
LPMODE1111 = 15
Deep-Power Down
Implementations§
Trait Implementations§
Source§impl Clone for PmctrlwakeLpmode
impl Clone for PmctrlwakeLpmode
Source§fn clone(&self) -> PmctrlwakeLpmode
fn clone(&self) -> PmctrlwakeLpmode
Returns a duplicate 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 PmctrlwakeLpmode
impl Debug for PmctrlwakeLpmode
Source§impl From<PmctrlwakeLpmode> for u8
impl From<PmctrlwakeLpmode> for u8
Source§fn from(val: PmctrlwakeLpmode) -> u8
fn from(val: PmctrlwakeLpmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PmctrlwakeLpmode
impl From<u8> for PmctrlwakeLpmode
Source§fn from(val: u8) -> PmctrlwakeLpmode
fn from(val: u8) -> PmctrlwakeLpmode
Converts to this type from the input type.
Source§impl Ord for PmctrlwakeLpmode
impl Ord for PmctrlwakeLpmode
Source§fn cmp(&self, other: &PmctrlwakeLpmode) -> Ordering
fn cmp(&self, other: &PmctrlwakeLpmode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PmctrlwakeLpmode
impl PartialEq for PmctrlwakeLpmode
Source§impl PartialOrd for PmctrlwakeLpmode
impl PartialOrd for PmctrlwakeLpmode
impl Copy for PmctrlwakeLpmode
impl Eq for PmctrlwakeLpmode
impl StructuralPartialEq for PmctrlwakeLpmode
Auto Trait Implementations§
impl Freeze for PmctrlwakeLpmode
impl RefUnwindSafe for PmctrlwakeLpmode
impl Send for PmctrlwakeLpmode
impl Sync for PmctrlwakeLpmode
impl Unpin for PmctrlwakeLpmode
impl UnwindSafe for PmctrlwakeLpmode
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