Type Alias rp2040_pac::dma::multi_chan_trigger::W

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

Register MULTI_CHAN_TRIGGER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn multi_chan_trigger( &mut self, ) -> MULTI_CHAN_TRIGGER_W<'_, MULTI_CHAN_TRIGGER_SPEC>

Bits 0:15 - Each bit in this register corresponds to a DMA channel. Writing a 1 to the relevant bit is the same as writing to that channel’s trigger register; the channel will start if it is currently enabled and not already busy.

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual