#[repr(u8)]
pub enum SLEEPPRM_A {
WAKEONACCESS,
WAKEUPINSTANT,
DISABLED,
}
Expand description
Power Reduction Mode during Sleep
Value on reset: 0
Variants
WAKEONACCESS
0: NVM block enters low-power mode when entering sleep.NVM block exits low-power mode upon first access.
WAKEUPINSTANT
1: NVM block enters low-power mode when entering sleep.NVM block exits low-power mode when exiting sleep.
DISABLED
3: Auto power reduction disabled.
Trait Implementations
sourceimpl Clone for SLEEPPRM_A
impl Clone for SLEEPPRM_A
sourcefn clone(&self) -> SLEEPPRM_A
fn clone(&self) -> SLEEPPRM_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SLEEPPRM_A
impl Debug for SLEEPPRM_A
sourceimpl From<SLEEPPRM_A> for u8
impl From<SLEEPPRM_A> for u8
sourcefn from(variant: SLEEPPRM_A) -> Self
fn from(variant: SLEEPPRM_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SLEEPPRM_A> for SLEEPPRM_A
impl PartialEq<SLEEPPRM_A> for SLEEPPRM_A
sourcefn eq(&self, other: &SLEEPPRM_A) -> bool
fn eq(&self, other: &SLEEPPRM_A) -> bool
impl Copy for SLEEPPRM_A
impl StructuralPartialEq for SLEEPPRM_A
Auto Trait Implementations
impl RefUnwindSafe for SLEEPPRM_A
impl Send for SLEEPPRM_A
impl Sync for SLEEPPRM_A
impl Unpin for SLEEPPRM_A
impl UnwindSafe for SLEEPPRM_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more