Vision Apps User Guide

Detailed Description

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
 

Field Documentation

◆ copy_mode

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

◆ eltype

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

◆ icnt0

uint16_t app_udma_copy_nd_prms_t::icnt0

Iteration count 0 of the transfer block, Eg. width

◆ icnt1

uint16_t app_udma_copy_nd_prms_t::icnt1

Iteration count 1 of the transfer block, Eg. height

◆ icnt2

uint16_t app_udma_copy_nd_prms_t::icnt2

Iteration count 2 of the transfer block, Eg. number of blocks of size (width * height)

◆ icnt3

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)

◆ dim1

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

◆ dim2

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

◆ dim3

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

◆ dicnt0

uint16_t app_udma_copy_nd_prms_t::dicnt0

Iteration count 0 of the transfer block, Eg. destination width

◆ dicnt1

uint16_t app_udma_copy_nd_prms_t::dicnt1

Iteration count 1 of the transfer block, Eg. destination height

◆ dicnt2

uint16_t app_udma_copy_nd_prms_t::dicnt2

Iteration count 2 of the transfer block, Eg. destination block size (width * height)

◆ dicnt3

uint16_t app_udma_copy_nd_prms_t::dicnt3

Iteration count 3 of the transfer block, Eg. destination set size (width * height * blocks)

◆ ddim1

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

◆ ddim2

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

◆ ddim3

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

◆ dest_addr

uint64_t app_udma_copy_nd_prms_t::dest_addr

Physical address of destination buffer. For max efficiency recommended to be 64-byte aligned

◆ src_addr

uint64_t app_udma_copy_nd_prms_t::src_addr

Physical address of a source buffer

  • For max efficiency recommended to be 64-byte aligned