Type Alias atsamd51p::dmac::crcstatus::W

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

Register CRCSTATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn crcbusy(&mut self) -> CRCBUSY_W<'_, CRCSTATUS_SPEC, 0>

Bit 0 - CRC Module Busy

source

pub fn crczero(&mut self) -> CRCZERO_W<'_, CRCSTATUS_SPEC, 1>

Bit 1 - CRC Zero

source

pub fn crcerr(&mut self) -> CRCERR_W<'_, CRCSTATUS_SPEC, 2>

Bit 2 - CRC 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