Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_context Struct Reference

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_tatomic
 atomic holding bit flags for each channel to mark as used/unused
 

Detailed Description

DMA context structure Note: the dma_context shall be the first member of DMA client driver Data, got by dev->data.

Field Documentation

◆ atomic

atomic_t* dma_context::atomic

atomic holding bit flags for each channel to mark as used/unused

◆ dma_channels

int dma_context::dma_channels

number of dma channels

◆ magic

int32_t dma_context::magic

magic code to identify the context


The documentation for this struct was generated from the following file: