#[repr(u8)]pub enum RotMemLpState {
NONE = 0,
LS = 1,
DS = 2,
_RESERVED_3 = 3,
SD = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
NONE = 0
Memory is not in low power state.
LS = 1
Light Sleep Mode. Low leakage mode, maintain memory contents.
DS = 2
Deep Sleep Mode. Low leakage mode, maintain memory contents.
_RESERVED_3 = 3
SD = 4
Shut Down Mode. Shut Down periphery and core, no memory retention.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl RotMemLpState
impl RotMemLpState
Trait Implementations§
Source§impl Clone for RotMemLpState
impl Clone for RotMemLpState
Source§fn clone(&self) -> RotMemLpState
fn clone(&self) -> RotMemLpState
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 RotMemLpState
impl Debug for RotMemLpState
Source§impl From<RotMemLpState> for u8
impl From<RotMemLpState> for u8
Source§fn from(val: RotMemLpState) -> u8
fn from(val: RotMemLpState) -> u8
Converts to this type from the input type.
Source§impl From<u8> for RotMemLpState
impl From<u8> for RotMemLpState
Source§fn from(val: u8) -> RotMemLpState
fn from(val: u8) -> RotMemLpState
Converts to this type from the input type.
Source§impl Ord for RotMemLpState
impl Ord for RotMemLpState
Source§fn cmp(&self, other: &RotMemLpState) -> Ordering
fn cmp(&self, other: &RotMemLpState) -> 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 RotMemLpState
impl PartialEq for RotMemLpState
Source§impl PartialOrd for RotMemLpState
impl PartialOrd for RotMemLpState
impl Copy for RotMemLpState
impl Eq for RotMemLpState
impl StructuralPartialEq for RotMemLpState
Auto Trait Implementations§
impl Freeze for RotMemLpState
impl RefUnwindSafe for RotMemLpState
impl Send for RotMemLpState
impl Sync for RotMemLpState
impl Unpin for RotMemLpState
impl UnwindSafe for RotMemLpState
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