Type Alias rp2040_pac::dma::chan_abort::R

source ·
pub type R = R<CHAN_ABORT_SPEC>;
Expand description

Register CHAN_ABORT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn chan_abort(&self) -> CHAN_ABORT_R

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.