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

Describes the state of the DMA controller. More...

#include <no_os_dma.h>

Collaboration diagram for no_os_dma_desc:
Collaboration graph
[legend]

Public Attributes

uint32_t id
 
uint32_t num_ch
 
struct no_os_dma_chchannels
 
struct no_os_dma_platform_opsplatform_ops
 
struct no_os_irq_ctrl_descirq_ctrl
 
void * extra
 
uint32_t ref
 
void * mutex
 
void(* sg_handler )(void *)
 

Detailed Description

Describes the state of the DMA controller.

Member Data Documentation

◆ channels

struct no_os_dma_ch* no_os_dma_desc::channels

References to channels associated with the controller

◆ extra

void* no_os_dma_desc::extra

Platform specific data

◆ id

uint32_t no_os_dma_desc::id

Unique id of a DMA controller

◆ irq_ctrl

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.

◆ mutex

void* no_os_dma_desc::mutex

Used to synchronize DMA controller specific operations

◆ num_ch

uint32_t no_os_dma_desc::num_ch

The number of channels associated with the controller

◆ platform_ops

struct no_os_dma_platform_ops* no_os_dma_desc::platform_ops

Platform specific DMA functions

◆ ref

uint32_t no_os_dma_desc::ref

Reference counter

◆ sg_handler

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.


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