MTB CAT1 Peripheral driver library
cy_stc_axidmac_descriptor_t Struct Reference

Description

AXIDMAC descriptor structure type.

It is a user-declared structure allocated in RAM. The AXIDMAC 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_AXIDMAC_Descriptor_Init()) don't work with read-only descriptors.

Data Fields

uint32_t ctl
 Descriptor control.
 
uint32_t src
 Descriptor source holds the base address of source location.
 
uint32_t dst
 Descriptor destination holds the base address of destination location.
 
uint32_t mSize
 Descriptor memory copy size. More...
 
uint32_t xSize
 Descriptor X loop size. More...
 
int32_t xIncr
 Descriptor X loop increment. More...
 
uint32_t ySize
 Descriptor Y loop size. More...
 
int32_t yIncr
 Descriptor Y loop increment. More...
 
uint32_t nextPtr
 Descriptor next pointer.
 

Field Documentation

◆ mSize

uint32_t cy_stc_axidmac_descriptor_t::mSize

Descriptor memory copy size.

Valid range is 0...16777216

◆ xSize

uint32_t cy_stc_axidmac_descriptor_t::xSize

Descriptor X loop size.

Valid range is 0...65535

◆ xIncr

int32_t cy_stc_axidmac_descriptor_t::xIncr

Descriptor X loop increment.

Valid range is -32768...32767

◆ ySize

uint32_t cy_stc_axidmac_descriptor_t::ySize

Descriptor Y loop size.

Valid range is 0...65535

◆ yIncr

int32_t cy_stc_axidmac_descriptor_t::yIncr

Descriptor Y loop increment.

Valid range is -32768...32767