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