Type Alias rp2040_pac::dma::intr::W
source · pub type W = W<INTR_SPEC>;
Expand description
Register INTR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn intr(&mut self) -> INTR_W<'_, INTR_SPEC>
pub fn intr(&mut self) -> INTR_W<'_, INTR_SPEC>
Bits 0:15 - Raw interrupt status for DMA Channels 0..15. Bit n corresponds to channel n. Ignores any masking or forcing. Channel interrupts can be cleared by writing a bit mask to INTR, INTS0 or INTS1.
Channel interrupts can be routed to either of two system-level IRQs based on INTE0 and INTE1.
This can be used vector different channel interrupts to different ISRs: this might be done to allow NVIC IRQ preemption for more time-critical channels, or to spread IRQ load across different cores.
It is also valid to ignore this behaviour and just use INTE0/INTS0/IRQ 0.