atsamd21j::nvmctrl::ctrlb

Type Alias SleepprmW

Source
pub type SleepprmW<'a, REG> = FieldWriter<'a, REG, 2, Sleepprmselect>;
Expand description

Field SLEEPPRM writer - Power Reduction Mode during Sleep

Aliased Type§

struct SleepprmW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> SleepprmW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn wakeonaccess(self) -> &'a mut W<REG>

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

Source

pub fn wakeupinstant(self) -> &'a mut W<REG>

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

Source

pub fn disabled(self) -> &'a mut W<REG>

Auto power reduction disabled.