Skip to content

Struct SYN_DMA_Config

ClassList > SYN_DMA_Config

Configuration parameters for a DMA channel.

  • #include <syn_dma.h>

Public Attributes

Type Name
SYN_DMA_Callback callback
uint8_t channel_id
SYN_DMA_Size data_size
SYN_DMA_Direction dir
bool dst_inc
bool src_inc
void * user_ctx

Public Attributes Documentation

variable callback

SYN_DMA_Callback SYN_DMA_Config::callback;

Optional ISR event callback


variable channel_id

uint8_t SYN_DMA_Config::channel_id;

Hardware DMA channel index


variable data_size

SYN_DMA_Size SYN_DMA_Config::data_size;

Data width (1, 2, or 4 bytes)


variable dir

SYN_DMA_Direction SYN_DMA_Config::dir;

Transfer direction


variable dst_inc

bool SYN_DMA_Config::dst_inc;

Auto-increment destination address


variable src_inc

bool SYN_DMA_Config::src_inc;

Auto-increment source address


variable user_ctx

void* SYN_DMA_Config::user_ctx;

User context passed to callback



The documentation for this class was generated from the following file src/syntropic/drivers/syn_dma.h