#[repr(u8)]pub enum PmctrlmainLpmode {
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 PmctrlmainLpmode
impl Clone for PmctrlmainLpmode
Source§fn clone(&self) -> PmctrlmainLpmode
fn clone(&self) -> PmctrlmainLpmode
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 PmctrlmainLpmode
impl Debug for PmctrlmainLpmode
Source§impl From<PmctrlmainLpmode> for u8
impl From<PmctrlmainLpmode> for u8
Source§fn from(val: PmctrlmainLpmode) -> u8
fn from(val: PmctrlmainLpmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PmctrlmainLpmode
impl From<u8> for PmctrlmainLpmode
Source§fn from(val: u8) -> PmctrlmainLpmode
fn from(val: u8) -> PmctrlmainLpmode
Converts to this type from the input type.
Source§impl Ord for PmctrlmainLpmode
impl Ord for PmctrlmainLpmode
Source§fn cmp(&self, other: &PmctrlmainLpmode) -> Ordering
fn cmp(&self, other: &PmctrlmainLpmode) -> 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 PmctrlmainLpmode
impl PartialEq for PmctrlmainLpmode
Source§impl PartialOrd for PmctrlmainLpmode
impl PartialOrd for PmctrlmainLpmode
impl Copy for PmctrlmainLpmode
impl Eq for PmctrlmainLpmode
impl StructuralPartialEq for PmctrlmainLpmode
Auto Trait Implementations§
impl Freeze for PmctrlmainLpmode
impl RefUnwindSafe for PmctrlmainLpmode
impl Send for PmctrlmainLpmode
impl Sync for PmctrlmainLpmode
impl Unpin for PmctrlmainLpmode
impl UnwindSafe for PmctrlmainLpmode
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