Abort a DMA transfer.
void dma_abort_job( struct dma_resource * resource)
This function will abort a DMA transfer. The DMA channel used for the DMA resource will be disabled. The block transfer count will be also calculated and written to the DMA resource structure.
| Data direction | Parameter name | Description |
|---|---|---|
[in, out] |
resource |
Pointer to the DMA resource |