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.
Examples
/github/workspace/source/hal/driver/common/template/vsf_template_dma.h.

Field Documentation

◆ mode

vsf_dma_channel_mode_t vsf_dma_channel_sg_desc_t::mode

◆ src_address

vsf_dma_addr_t vsf_dma_channel_sg_desc_t::src_address

◆ dst_address

vsf_dma_addr_t vsf_dma_channel_sg_desc_t::dst_address

◆ count

uint32_t vsf_dma_channel_sg_desc_t::count

Number of data items to be transferred

Examples
/github/workspace/source/hal/driver/common/template/vsf_template_dma.h.

◆ 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().

Examples
/github/workspace/source/hal/driver/common/template/vsf_template_dma.h.
Generated from commit: vsfteam/vsf@3f77d3b