Type Alias atsame54n::icm::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 wbdis(&mut self) -> WBDIS_W<'_, CFG_SPEC, 0>

Bit 0 - Write Back Disable

source

pub fn eomdis(&mut self) -> EOMDIS_W<'_, CFG_SPEC, 1>

Bit 1 - End of Monitoring Disable

source

pub fn slbdis(&mut self) -> SLBDIS_W<'_, CFG_SPEC, 2>

Bit 2 - Secondary List Branching Disable

source

pub fn bbc(&mut self) -> BBC_W<'_, CFG_SPEC, 4>

Bits 4:7 - Bus Burden Control

source

pub fn ascd(&mut self) -> ASCD_W<'_, CFG_SPEC, 8>

Bit 8 - Automatic Switch To Compare Digest

source

pub fn dualbuff(&mut self) -> DUALBUFF_W<'_, CFG_SPEC, 9>

Bit 9 - Dual Input Buffer

source

pub fn uihash(&mut self) -> UIHASH_W<'_, CFG_SPEC, 12>

Bit 12 - User Initial Hash Value

source

pub fn ualgo(&mut self) -> UALGO_W<'_, CFG_SPEC, 13>

Bits 13:15 - User SHA Algorithm

source

pub fn haprot(&mut self) -> HAPROT_W<'_, CFG_SPEC, 16>

Bits 16:21 - Region Hash Area Protection

source

pub fn daprot(&mut self) -> DAPROT_W<'_, CFG_SPEC, 24>

Bits 24:29 - Region Descriptor Area Protection

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