Run-Time Interfaces/Integration Guide
I-A-41
3.3.3.12
EDMA3_DRV_setTransferParams ()
Prototype
EDMA3_DRV_Result EDMA3_DRV_setTransferParams
(EDMA3_DRV_Handle hEdma, unsigned int lCh, unsigned int
aCnt, unsigned int bCnt, unsigned int cCnt, unsigned int
bCntReload, EDMA3_DRV_SyncType syncType);
Description
DMA transfer parameters setup.
It is used to specify the various counts (ACNT, BCNT and
CCNT), B count reload and the synchronization type.
<arg1>
hEdma[IN] Handle to the EDMA3 Driver Instance.
<arg2>
lCh
[IN]
Logical Channel for which transfer parameters
are to be configured
A
rg
u
m
e
n
ts
<arg3>
aCnt
[IN]
Count for 1st Dimension.
ACNT represents the number of bytes within the
1st dimension of a transfer. ACNT is a 16-bit unsigned value
with valid values between 0 and 65535. Therefore, the
maximum number of bytes in an array is 65535 bytes (64K – 1
bytes). ACNT must be greater than or equal to 1 for a TR to be
submitted to EDMA3 Transfer Controller. An ACNT equal to 0 is
considered either a null or dummy transfer. A dummy or null
transfer generates a completion code depending on the
settings of the completion bit fields in OPT.
<arg4>
bCnt
[IN]
Count for 2nd Dimension.
BCNT is a 16-bit unsigned value that specifies
the number of arrays of length ACNT. For normal operation,
valid values for BCNT are between 1 and 65535. Therefore, the
maximum number of arrays in a frame is 65535 (64K – 1
arrays). A BCNT equal to 0 is considered either a null or
dummy transfer. A dummy or null transfer generates a
completion code depending on the settings of the completion
bit fields in OPT.
<arg5>
cCnt
[IN] Count for 3rd Dimension.
CCNT is a 16-bit unsigned value that specifies
the number of frames in a block. Valid values for CCNT are
between 1 and 65535. Therefore, the maximum number of
frames in a block is 65535 (64K – 1 frames). A CCNT equal to
0 is considered either a null or dummy transfer. A dummy or
null transfer generates a completion code depending on the
settings of the completion bit fields in OPT. A CCNT value of 0
is considered either a null or dummy transfer.
Summary of Contents for EDMA3
Page 12: ......
Page 17: ...EDMA3 Driver Introduction I 1 5 ...
Page 20: ......
Page 40: ...Run Time Interfaces Integration Guide A 12 EDMA3_DRV_IOCTL_MAX_IOCTL Max IOCTL ...
Page 75: ...Run Time Interfaces Integration Guide I A 47 Errors EDMA3_DRV_E_INVALID_PARAM ...
Page 107: ...Run Time Interfaces Integration Guide I A 79 ...