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

source

pub const fn variant(&self) -> Option<SLEEPPRMSELECT_A>

Get enumerated values variant

source

pub fn is_wakeonaccess(&self) -> bool

NVM block enters low-power mode when entering sleep.NVM block exits low-power mode upon first access.

source

pub fn is_wakeupinstant(&self) -> bool

NVM block enters low-power mode when entering sleep.NVM block exits low-power mode when exiting sleep.

source

pub fn is_disabled(&self) -> bool

Auto power reduction disabled.