VSF Documented
Data Fields
vsf_dma_channel_sg_desc_t Struct Reference

DMA scatter-gather descriptor structure. More...

#include <dma.h>

Data Fields

vsf_dma_channel_mode_t mode
 DMA channel mode.
 
vsf_dma_addr_t src_address
 Source address.
 
vsf_dma_addr_t dst_address
 Destination address.
 
uint32_t count
 
vsf_dma_addr_t next
 

Detailed Description

DMA scatter-gather descriptor structure.

Note
: The vsf_dma_channel_sg_desc_t structure can be redefined according to the descriptor structure required by DMA Scatter-Gather in specific hardware drivers.

Field Documentation

◆ mode

vsf_dma_channel_mode_t vsf_dma_channel_sg_desc_t::mode

DMA channel mode.

◆ src_address

vsf_dma_addr_t vsf_dma_channel_sg_desc_t::src_address

Source address.

◆ dst_address

vsf_dma_addr_t vsf_dma_channel_sg_desc_t::dst_address

Destination address.

◆ count

uint32_t vsf_dma_channel_sg_desc_t::count

Number of data items to be transferred

◆ next

vsf_dma_addr_t vsf_dma_channel_sg_desc_t::next

Next descriptor address. Reserved for driver use only - users should NOT initialize this field. The driver will set up the linked list chain internally in vsf_dma_channel_sg_config_desc().

Generated from commit: vsfteam/vsf@f33b89f