Type Alias atsame54n::dsu::ctrl::W

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

Register CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn swrst(&mut self) -> SWRST_W<'_, CTRL_SPEC, 0>

Bit 0 - Software Reset

source

pub fn crc(&mut self) -> CRC_W<'_, CTRL_SPEC, 2>

Bit 2 - 32-bit Cyclic Redundancy Code

source

pub fn mbist(&mut self) -> MBIST_W<'_, CTRL_SPEC, 3>

Bit 3 - Memory built-in self-test

source

pub fn ce(&mut self) -> CE_W<'_, CTRL_SPEC, 4>

Bit 4 - Chip-Erase

source

pub fn arr(&mut self) -> ARR_W<'_, CTRL_SPEC, 6>

Bit 6 - Auxiliary Row Read

source

pub fn smsa(&mut self) -> SMSA_W<'_, CTRL_SPEC, 7>

Bit 7 - Start Memory Stream Access

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