Wednesday, August 15, 2012

TMS320 ACPY3_Params Structure Fields

TMS320 ACPY3_Params Structure Fields

transferType     Transfer type: ACPY3_1D1D, ACPY3_1D2D, ACPY3_2D1D or ACPY3_2D2D
srcAddr     Source Address of the DMA transfer.
dstAddr     Destination Address of the DMA transfer.
elementSize     Number of consecutive bytes in each 1D transfer vector (ACNT).
numElements     Number of 1D vectors in 2D transfers (BCNT).
numFrames     Number of 2D frames in 3D transfers (CCNT).
srcElementIndex     Offset in number of bytes from beginning of each 1D vector to the beginning of the

next 1D vector (SBIDX).
dstElementIndex     Offset in number of bytes from beginning of each 1D vector to the beginning of the

next 1D vector (DBIDX).
srcFrameIndex     Offset in number of bytes from beginning of the first 1D vector of source frame to

the beginning of the first element in the next frame. (SCIDX: signed value between -32768 and 32767)
dstFrameIndex     Offset in number of bytes from beginning 1D vector of first element in destination frame to the beginning of the first element in next frame. (DCIDX: signed value between -32768 and 32767).
waitId     For a linked transfer entry:

-1 : no individual wait on this transfer 0 <= waitId < numWaits : this transfer can be waited on or polled for completion. Ignored for single-transfers and for the last transfer in a sequence of linked transfers, which are always synchronized with waitId == (numWaits – 1).

2 comments: