PSoC 6 Peripheral Driver Library
cy_stc_dmac_descriptor_t Struct Reference

Description

DMAC descriptor structure type.

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

For advanced users: the descriptor can be allocated even in flash, however the user have to predefine all the structure items with constants manually, because the descriptor "Set" API functions (including Cy_DMAC_Descriptor_Init()) don'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 xSize
 0x0000000C Descriptor X loop size
 
uint32_t xIncr
 0x00000010 Descriptor X loop increment
 
uint32_t ySize
 0x00000014 Descriptor Y loop size
 
uint32_t yIncr
 0x00000010 Descriptor Y loop increment
 
uint32_t nextPtr
 0x00000014 Descriptor next pointer