Type Alias atsame54n::pm::hibcfg::BRAMCFG_W

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

Field BRAMCFG writer - Backup Ram Configuration

Aliased Type§

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

Implementations§

source§

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

source

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

All the backup RAM is retained

source

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

Only the first 4Kbytes of the backup RAM is retained

source

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

All the backup RAM is turned OFF