pub unsafe fn on_interrupt(ch_index: usize)Expand description
Interrupt handler helper.
Call this from your interrupt handler to clear the interrupt flag and wake the waker. This handles both half-transfer and complete-transfer interrupts.
ยงSafety
Must be called from the correct DMA channel interrupt context.