Type Alias rp2040_pac::dma::chan_abort::W
source · pub type W = W<CHAN_ABORT_SPEC>;
Expand description
Register CHAN_ABORT
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn chan_abort(&mut self) -> CHAN_ABORT_W<'_, CHAN_ABORT_SPEC>
pub fn chan_abort(&mut self) -> CHAN_ABORT_W<'_, CHAN_ABORT_SPEC>
Bits 0:15 - Each bit corresponds to a channel. Writing a 1 aborts whatever transfer sequence is in progress on that channel. The bit will remain high until any in-flight transfers have been flushed through the address and data FIFOs.
After writing, this register must be polled until it returns all-zero. Until this point, it is unsafe to restart the channel.