Type Alias atsamd51p::pm::stdbycfg::RAMCFG_W

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

Field RAMCFG writer - Ram Configuration

Aliased Type§

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

Implementations§

source§

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

source

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

All the system RAM is retained

source

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

Only the first 32Kbytes of the system RAM is retained

source

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

All the system RAM is turned OFF