no-OS
|
Describes the state of the DMA controller. More...
#include <no_os_dma.h>
Public Attributes | |
uint32_t | id |
uint32_t | num_ch |
struct no_os_dma_ch * | channels |
struct no_os_dma_platform_ops * | platform_ops |
struct no_os_irq_ctrl_desc * | irq_ctrl |
void * | extra |
uint32_t | ref |
void * | mutex |
void(* | sg_handler )(void *) |
Describes the state of the DMA controller.
struct no_os_dma_ch* no_os_dma_desc::channels |
References to channels associated with the controller
void* no_os_dma_desc::extra |
Platform specific data
uint32_t no_os_dma_desc::id |
Unique id of a DMA controller
struct no_os_irq_ctrl_desc* no_os_dma_desc::irq_ctrl |
Interrupt controller configured by the platform specific DMA functions. May be left uninitialized,Start resulting in the interrupt handler not being called once a transfer completes. As such, the user (or platform code) has to provide the cycling mechanism.
void* no_os_dma_desc::mutex |
Used to synchronize DMA controller specific operations
uint32_t no_os_dma_desc::num_ch |
The number of channels associated with the controller
struct no_os_dma_platform_ops* no_os_dma_desc::platform_ops |
Platform specific DMA functions
uint32_t no_os_dma_desc::ref |
Reference counter
void(* no_os_dma_desc::sg_handler) (void *) |
Interrupt handler function called when a transfer is completed. It's used to configure the DMA controller for the next transfer in a channel's list.