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

It's used to setup a generic DMA transfer. More...

#include <no_os_dma.h>

Public Attributes

uint8_t * src
 
uint8_t * dst
 
uint32_t length
 
enum no_os_dma_xfer_type xfer_type
 
void(* xfer_complete_cb )(struct no_os_dma_xfer_desc *, struct no_os_dma_xfer_desc *, void *)
 
void * xfer_complete_ctx
 
uint32_t irq_priority
 
enum no_os_irq_peripheral periph
 
void * extra
 

Detailed Description

It's used to setup a generic DMA transfer.

Member Data Documentation

◆ dst

uint8_t* no_os_dma_xfer_desc::dst

Destination address for the data

◆ extra

void* no_os_dma_xfer_desc::extra

User or platform defined data

◆ irq_priority

uint32_t no_os_dma_xfer_desc::irq_priority

Transfer complete interrupt priority level

◆ length

uint32_t no_os_dma_xfer_desc::length

Transfer length in bytes

◆ periph

enum no_os_irq_peripheral no_os_dma_xfer_desc::periph

Peripheral which originated the transfer. Will be used to add the callback to the proper event list.

◆ src

uint8_t* no_os_dma_xfer_desc::src

Source address for the data

◆ xfer_complete_cb

void(* no_os_dma_xfer_desc::xfer_complete_cb) (struct no_os_dma_xfer_desc *, struct no_os_dma_xfer_desc *, void *)

This function will be called once the transfer completes.

◆ xfer_complete_ctx

void* no_os_dma_xfer_desc::xfer_complete_ctx

Parameter for the transfer complete callback. This data should be valid at least until the callback is invoked.

◆ xfer_type

enum no_os_dma_xfer_type no_os_dma_xfer_desc::xfer_type

Transfer direction


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