#[repr(u8)]pub enum Sleepprmselect {
Wakeonaccess = 0,
Wakeupinstant = 1,
Disabled = 3,
}
Expand description
Power Reduction Mode during Sleep
Value on reset: 0
Variants§
Wakeonaccess = 0
0: NVM block enters low-power mode when entering sleep.NVM block exits low-power mode upon first access.
Wakeupinstant = 1
1: NVM block enters low-power mode when entering sleep.NVM block exits low-power mode when exiting sleep.
Disabled = 3
3: Auto power reduction disabled.
Trait Implementations§
Source§impl Clone for Sleepprmselect
impl Clone for Sleepprmselect
Source§fn clone(&self) -> Sleepprmselect
fn clone(&self) -> Sleepprmselect
Returns a copy 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 Sleepprmselect
impl Debug for Sleepprmselect
Source§impl From<Sleepprmselect> for u8
impl From<Sleepprmselect> for u8
Source§fn from(variant: Sleepprmselect) -> Self
fn from(variant: Sleepprmselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Sleepprmselect
impl PartialEq for Sleepprmselect
impl Copy for Sleepprmselect
impl Eq for Sleepprmselect
impl IsEnum for Sleepprmselect
impl StructuralPartialEq for Sleepprmselect
Auto Trait Implementations§
impl Freeze for Sleepprmselect
impl RefUnwindSafe for Sleepprmselect
impl Send for Sleepprmselect
impl Sync for Sleepprmselect
impl Unpin for Sleepprmselect
impl UnwindSafe for Sleepprmselect
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