ND transfer request parameters.
Data Fields | |
uint32_t | copy_mode |
uint32_t | eltype |
uint16_t | icnt0 |
uint16_t | icnt1 |
uint16_t | icnt2 |
uint16_t | icnt3 |
int32_t | dim1 |
int32_t | dim2 |
int32_t | dim3 |
uint16_t | dicnt0 |
uint16_t | dicnt1 |
uint16_t | dicnt2 |
uint16_t | dicnt3 |
int32_t | ddim1 |
int32_t | ddim2 |
int32_t | ddim3 |
uint64_t | dest_addr |
uint64_t | src_addr |
uint32_t app_udma_copy_nd_prms_t::copy_mode |
Mode of copy, If set to 0 - Halt DMA after entire set is transferred If set to 1 - Halt DMA after every icnt1 transfer, re-trigger to complete If set to 2 - Halt DMA after every icnt2 transfer, re-trigger to complete If set to 3 - Halt DMA after every icnt3 transfer, re-trigger to complete
uint32_t app_udma_copy_nd_prms_t::eltype |
Type of element, If set to 0 - Default to 1 byte per element If set to 1 - 1 byte per element If set to 2 - 2 bytes per element If set to 3 - 3 bytes per element If set to 4 - 4 bytes per element
uint16_t app_udma_copy_nd_prms_t::icnt0 |
Iteration count 0 of the transfer block, Eg. width
uint16_t app_udma_copy_nd_prms_t::icnt1 |
Iteration count 1 of the transfer block, Eg. height
uint16_t app_udma_copy_nd_prms_t::icnt2 |
Iteration count 2 of the transfer block, Eg. number of blocks of size (width * height)
uint16_t app_udma_copy_nd_prms_t::icnt3 |
Iteration count 3 of the transfer block, Eg. number of sets of size (width * height * blocks)
int32_t app_udma_copy_nd_prms_t::dim1 |
Dimension 1 of the transfer block in bytes, Eg. stride from one line to the next
int32_t app_udma_copy_nd_prms_t::dim2 |
Dimension 2 of the transfer block in bytes, Eg. stride from one block to the next
int32_t app_udma_copy_nd_prms_t::dim3 |
Dimension 3 of the transfer block in bytes, Eg. stride from one set to the next
uint16_t app_udma_copy_nd_prms_t::dicnt0 |
Iteration count 0 of the transfer block, Eg. destination width
uint16_t app_udma_copy_nd_prms_t::dicnt1 |
Iteration count 1 of the transfer block, Eg. destination height
uint16_t app_udma_copy_nd_prms_t::dicnt2 |
Iteration count 2 of the transfer block, Eg. destination block size (width * height)
uint16_t app_udma_copy_nd_prms_t::dicnt3 |
Iteration count 3 of the transfer block, Eg. destination set size (width * height * blocks)
int32_t app_udma_copy_nd_prms_t::ddim1 |
Dimension 1 of the transfer block in bytes, Eg. stride at destination from one line to the next
int32_t app_udma_copy_nd_prms_t::ddim2 |
Dimension 2 of the transfer block in bytes, Eg. stride at destination from one block to the next
int32_t app_udma_copy_nd_prms_t::ddim3 |
Dimension 3 of the transfer block in bytes, Eg. stride at destination from one set to the next
uint64_t app_udma_copy_nd_prms_t::dest_addr |
Physical address of destination buffer. For max efficiency recommended to be 64-byte aligned
uint64_t app_udma_copy_nd_prms_t::src_addr |
Physical address of a source buffer