Enum atsaml21e16b::pm::sleepcfg::SLEEPMODESELECT_A
source · #[repr(u8)]
pub enum SLEEPMODESELECT_A {
IDLE,
STANDBY,
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
BACKUP
5: Only Backup domain is powered ON
OFF
6: All power domains are powered OFF
Trait Implementations§
source§impl Clone for SLEEPMODESELECT_A
impl Clone for SLEEPMODESELECT_A
source§fn clone(&self) -> SLEEPMODESELECT_A
fn clone(&self) -> SLEEPMODESELECT_A
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 SLEEPMODESELECT_A
impl Debug for SLEEPMODESELECT_A
source§impl From<SLEEPMODESELECT_A> for u8
impl From<SLEEPMODESELECT_A> for u8
source§fn from(variant: SLEEPMODESELECT_A) -> Self
fn from(variant: SLEEPMODESELECT_A) -> Self
Converts to this type from the input type.