Type Alias atsame54n::dmac::channel::chintflag::W

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

Register CHINTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn terr(&mut self) -> TERR_W<'_, CHINTFLAG_SPEC, 0>

Bit 0 - Channel Transfer Error

source

pub fn tcmpl(&mut self) -> TCMPL_W<'_, CHINTFLAG_SPEC, 1>

Bit 1 - Channel Transfer Complete

source

pub fn susp(&mut self) -> SUSP_W<'_, CHINTFLAG_SPEC, 2>

Bit 2 - Channel Suspend

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