Type Alias atsamd51p::dmac::channel::chstatus::W

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

Register CHSTATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pend(&mut self) -> PEND_W<'_, CHSTATUS_SPEC, 0>

Bit 0 - Channel Pending

source

pub fn busy(&mut self) -> BUSY_W<'_, CHSTATUS_SPEC, 1>

Bit 1 - Channel Busy

source

pub fn ferr(&mut self) -> FERR_W<'_, CHSTATUS_SPEC, 2>

Bit 2 - Channel Fetch Error

source

pub fn crcerr(&mut self) -> CRCERR_W<'_, CHSTATUS_SPEC, 3>

Bit 3 - Channel 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