MTB CAT1 Peripheral driver library
cy_stc_dma_descriptor_t Struct Reference

Description

DMA descriptor structure type.

It is a user/component-declared structure allocated in RAM. The DMA HW requires a pointer to this structure to work with it.

For advanced users: the descriptor can be allocated even in flash, then the user manually predefines all the structure items with constants. This is because most of the driver's API (especially functions modifying descriptors, including Cy_DMA_Descriptor_Init()) can't work with read-only descriptors.

Data Fields

uint32_t ctl
 0x00000000 Descriptor control
 
uint32_t src
 0x00000004 Descriptor source
 
uint32_t dst
 0x00000008 Descriptor destination
 
uint32_t xCtl
 0x0000000C Descriptor X loop control
 
uint32_t yCtl
 0x00000010 Descriptor Y loop control
 
uint32_t nextPtr
 0x00000014 Descriptor next pointer