Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
DMA context structure Note: the dma_context shall be the first member of DMA client driver Data, got by dev->data. More...
#include <dma.h>
Data Fields | |
int32_t | magic |
magic code to identify the context | |
int | dma_channels |
number of dma channels | |
atomic_t * | atomic |
atomic holding bit flags for each channel to mark as used/unused | |
DMA context structure Note: the dma_context shall be the first member of DMA client driver Data, got by dev->data.
atomic_t* dma_context::atomic |
atomic holding bit flags for each channel to mark as used/unused
int dma_context::dma_channels |
number of dma channels
int32_t dma_context::magic |
magic code to identify the context