27#define DMA_ERROR_OUT_OF_CHANNELS (-1)
36 DMA_USAGE_TEMPORARY_ALLOCATED,
46int dma_channel_allocate(uint32_t capabilities);
48int dma_channel_free(
int channelid);
DMAUsage
Enumeration of possible DMA usage hints.
@ DMA_USAGE_NEVER
Never use DMA.
@ DMA_USAGE_OPPORTUNISTIC
Use DMA if possible but deallocate DMA resources when not being used.
@ DMA_USAGE_ALWAYS
Always use DMA when possible.