Type Alias atsamd51n::pm::hibcfg::W

source ·
pub type W = W<HIBCFG_SPEC>;
Expand description

Register HIBCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ramcfg(&mut self) -> RAMCFG_W<'_, HIBCFG_SPEC, 0>

Bits 0:1 - Ram Configuration

source

pub fn bramcfg(&mut self) -> BRAMCFG_W<'_, HIBCFG_SPEC, 2>

Bits 2:3 - Backup Ram Configuration

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual