no-OS
Public Attributes | List of all members
no_os_dma_ch Struct Reference

Describes the state of a DMA channel. More...

#include <no_os_dma.h>

Collaboration diagram for no_os_dma_ch:
Collaboration graph
[legend]

Public Attributes

uint32_t id
 
bool free
 
struct no_os_list_descsg_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
 

Detailed Description

Describes the state of a DMA channel.

Member Data Documentation

◆ cb_desc

struct no_os_callback_desc no_os_dma_ch::cb_desc

irq callback

◆ extra

void* no_os_dma_ch::extra

◆ free

bool no_os_dma_ch::free

Whether or not there is a transfer in progress on this channel

◆ id

uint32_t no_os_dma_ch::id

Channel number

◆ irq_ctx

struct no_os_dma_default_handler_data no_os_dma_ch::irq_ctx

IRQ parameter for the default inter transfer handler

◆ irq_num

uint32_t no_os_dma_ch::irq_num

Channel specific interrupt line number

◆ mutex

void* no_os_dma_ch::mutex

Used to synchronize channel specific operations

◆ sg_list

struct no_os_list_desc* no_os_dma_ch::sg_list

List of transfers for this channel

◆ sync_lock

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.


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