Type Alias atsame54n::nvmctrl::ctrla::PRM_W

source ·
pub type PRM_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, PRMSELECT_A>;
Expand description

Field PRM writer - Power Reduction Mode during Sleep

Aliased Type§

struct PRM_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> PRM_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

NVM block enters low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode upon first access.

source

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

NVM block enters low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode when system is not in standby mode.

source

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

NVM block does not enter low-power mode when entering standby mode. NVM block enters low-power mode when SPRM command is issued. NVM block exits low-power mode upon first access.