Enum atsaml21e16b::nvmctrl::ctrlb::SLEEPPRMSELECT_A
source · #[repr(u8)]
pub enum SLEEPPRMSELECT_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§
source§impl Clone for SLEEPPRMSELECT_A
impl Clone for SLEEPPRMSELECT_A
source§fn clone(&self) -> SLEEPPRMSELECT_A
fn clone(&self) -> SLEEPPRMSELECT_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 SLEEPPRMSELECT_A
impl Debug for SLEEPPRMSELECT_A
source§impl From<SLEEPPRMSELECT_A> for u8
impl From<SLEEPPRMSELECT_A> for u8
source§fn from(variant: SLEEPPRMSELECT_A) -> Self
fn from(variant: SLEEPPRMSELECT_A) -> Self
Converts to this type from the input type.