Type Alias atsame53n::dsu::statusa::W

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

Register STATUSA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn done(&mut self) -> DONE_W<'_, STATUSA_SPEC, 0>

Bit 0 - Done

source

pub fn crstext(&mut self) -> CRSTEXT_W<'_, STATUSA_SPEC, 1>

Bit 1 - CPU Reset Phase Extension

source

pub fn berr(&mut self) -> BERR_W<'_, STATUSA_SPEC, 2>

Bit 2 - Bus Error

source

pub fn fail(&mut self) -> FAIL_W<'_, STATUSA_SPEC, 3>

Bit 3 - Failure

source

pub fn perr(&mut self) -> PERR_W<'_, STATUSA_SPEC, 4>

Bit 4 - Protection Error

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