Type Alias mcxn947_pac::pwm0::sm1dmaen::CAPTDE_W

source ·
pub type CAPTDE_W<'a, REG> = FieldWriterSafe<'a, REG, 2, CAPTDE_A>;
Expand description

Field CAPTDE writer - Capture DMA Enable Source Select

Aliased Type§

struct CAPTDE_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> CAPTDE_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn disabled(self) -> &'a mut W<REG>

Read DMA requests disabled.

source

pub fn exceedfifo(self) -> &'a mut W<REG>

Exceeding a FIFO watermark sets the DMA read request. This requires at least one of DMAEN[CA1DE], DMAEN[CA0DE], DMAEN[CB1DE], DMAEN[CB0DE], DMAEN[CX1DE], or DMAEN[CX0DE] to be set to determine which watermark(s) the DMA request is sensitive.

source

pub fn local_sync(self) -> &'a mut W<REG>

A local synchronization (VAL1 matches counter) sets the read DMA request.

source

pub fn local_reload(self) -> &'a mut W<REG>

A local reload (STS[RF] being set) sets the read DMA request.