Type Alias atsamd21g::nvmctrl::ctrlb::SLEEPPRM_R
source · pub type SLEEPPRM_R = FieldReader<SLEEPPRMSELECT_A>;
Expand description
Field SLEEPPRM
reader - Power Reduction Mode during Sleep
Aliased Type§
struct SLEEPPRM_R { /* private fields */ }
Implementations§
source§impl SLEEPPRM_R
impl SLEEPPRM_R
sourcepub const fn variant(&self) -> Option<SLEEPPRMSELECT_A>
pub const fn variant(&self) -> Option<SLEEPPRMSELECT_A>
Get enumerated values variant
sourcepub fn is_wakeonaccess(&self) -> bool
pub fn is_wakeonaccess(&self) -> bool
NVM block enters low-power mode when entering sleep.NVM block exits low-power mode upon first access.
sourcepub fn is_wakeupinstant(&self) -> bool
pub fn is_wakeupinstant(&self) -> bool
NVM block enters low-power mode when entering sleep.NVM block exits low-power mode when exiting sleep.
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Auto power reduction disabled.