Type Alias atsame54n::cmcc::cfg::W

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

Register CFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn icdis(&mut self) -> ICDIS_W<'_, CFG_SPEC, 1>

Bit 1 - Instruction Cache Disable

source

pub fn dcdis(&mut self) -> DCDIS_W<'_, CFG_SPEC, 2>

Bit 2 - Data Cache Disable

source

pub fn csizesw(&mut self) -> CSIZESW_W<'_, CFG_SPEC, 4>

Bits 4:6 - Cache size configured by software

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual