#[repr(u8)]
pub enum SLEEPMODE_A {
    IDLE,
    STANDBY,
    HIBERNATE,
    BACKUP,
    OFF,
}Expand description
Sleep Mode
Value on reset: 2
Variants
IDLE
2: CPU, AHBx, and APBx clocks are OFF
STANDBY
4: All Clocks are OFF
HIBERNATE
5: Backup domain is ON as well as some PDRAMs
BACKUP
6: Only Backup domain is powered ON
OFF
7: All power domains are powered OFF
Trait Implementations
sourceimpl Clone for SLEEPMODE_A
 
impl Clone for SLEEPMODE_A
sourcefn clone(&self) -> SLEEPMODE_A
 
fn clone(&self) -> SLEEPMODE_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 SLEEPMODE_A
 
impl Debug for SLEEPMODE_A
sourceimpl From<SLEEPMODE_A> for u8
 
impl From<SLEEPMODE_A> for u8
sourcefn from(variant: SLEEPMODE_A) -> Self
 
fn from(variant: SLEEPMODE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SLEEPMODE_A> for SLEEPMODE_A
 
impl PartialEq<SLEEPMODE_A> for SLEEPMODE_A
sourcefn eq(&self, other: &SLEEPMODE_A) -> bool
 
fn eq(&self, other: &SLEEPMODE_A) -> bool
impl Copy for SLEEPMODE_A
impl StructuralPartialEq for SLEEPMODE_A
Auto Trait Implementations
impl RefUnwindSafe for SLEEPMODE_A
impl Send for SLEEPMODE_A
impl Sync for SLEEPMODE_A
impl Unpin for SLEEPMODE_A
impl UnwindSafe for SLEEPMODE_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