|
PER Firmware
|
A DMA channel interrupt callback and the context passed to it. More...
#include <dma.h>
Public Attributes | |
| PHAL_DMA_IRQCallbackFn_t | irq_fn |
| void * | ctx |
A DMA channel interrupt callback and the context passed to it.
Set via PHAL_DMA_initWithCallback(). Leave zero-initialized (irq_fn == nullptr) for channels that don't need interrupt-driven completion (ex: a channel whose completion is polled or driven by another peripheral's IDLE/status interrupt instead).
| void* PHAL_DMA_Callback_t::ctx |
Passed to irq_fn as-is. See PHAL_DMA_IRQCallbackFn_t for its lifetime requirement
| PHAL_DMA_IRQCallbackFn_t PHAL_DMA_Callback_t::irq_fn |
nullptr if this channel has no registered callback