no-OS
|
Describes the state of a DMA channel. More...
#include <no_os_dma.h>
Public Attributes | |
uint32_t | id |
bool | free |
struct no_os_list_desc * | sg_list |
uint32_t | irq_num |
struct no_os_callback_desc | cb_desc |
struct no_os_dma_default_handler_data | irq_ctx |
void * | extra |
void * | mutex |
bool | sync_lock |
Describes the state of a DMA channel.
struct no_os_callback_desc no_os_dma_ch::cb_desc |
irq callback
void* no_os_dma_ch::extra |
bool no_os_dma_ch::free |
Whether or not there is a transfer in progress on this channel
uint32_t no_os_dma_ch::id |
Channel number
struct no_os_dma_default_handler_data no_os_dma_ch::irq_ctx |
IRQ parameter for the default inter transfer handler
uint32_t no_os_dma_ch::irq_num |
Channel specific interrupt line number
void* no_os_dma_ch::mutex |
Used to synchronize channel specific operations
struct no_os_list_desc* no_os_dma_ch::sg_list |
List of transfers for this channel
bool no_os_dma_ch::sync_lock |
Mark the channel as locked, in order to prevent it from being acquired even if it's free. Used as a synchronization mechanism between channels.