Type Alias atsame54n::dmac::intpend::W

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

Register INTPEND writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn id(&mut self) -> ID_W<'_, INTPEND_SPEC, 0>

Bits 0:4 - Channel ID

source

pub fn terr(&mut self) -> TERR_W<'_, INTPEND_SPEC, 8>

Bit 8 - Transfer Error

source

pub fn tcmpl(&mut self) -> TCMPL_W<'_, INTPEND_SPEC, 9>

Bit 9 - Transfer Complete

source

pub fn susp(&mut self) -> SUSP_W<'_, INTPEND_SPEC, 10>

Bit 10 - Channel Suspend

source

pub fn crcerr(&mut self) -> CRCERR_W<'_, INTPEND_SPEC, 12>

Bit 12 - CRC Error

source

pub fn ferr(&mut self) -> FERR_W<'_, INTPEND_SPEC, 13>

Bit 13 - Fetch Error

source

pub fn busy(&mut self) -> BUSY_W<'_, INTPEND_SPEC, 14>

Bit 14 - Busy

source

pub fn pend(&mut self) -> PEND_W<'_, INTPEND_SPEC, 15>

Bit 15 - Pending

source

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual