Texas Instruments TMS320C6000 Reference Manual page 112

Chip support library api
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

EDMA
Example
4.7.20
EDMA_MK_RLD
Macro
Arguments
Return Value
Description
4-64
UINT32 Opt;
/* you can do this /
Opt = EDMA_MK_OPT(2,0,0,0,1,0,1,0,0,0);
/ or to be more readable, you can do this */
Opt = EDMA_MK_OPT(
EDMA_OPT_FS_NO,
EDMA_OPT_LINK_NO,
EDMA_OPT_TCC_OF(0),
EDMA_OPT_TCINT_NO,
EDMA_OPT_DUM_INC,
EDMA_OPT_2DD_NO,
EDMA_OPT_SUM_INC,
EDMA_OPT_2DS_NO,
EDMA_OPT_ESIZE_32BIT,
EDMA_OPT_PRI_LOW
);
Makes a value suitable for the EDMA RLD parameter
EDMA_MK_RLD(
link,
elerld
)
Link address:
link
Element count reload:
elerld
Constructed parameter value
RLD Value
Use this macro to make a value suitable for the EDMA RLD parameter.
You may directly use the device handle returned by EDMA_AllocT-
able() as the link argument.
The default RLD parameter value is EDMA_RLD_DEFAULT.
Use of the EDMA_MK macros makes it simpler to construct parameter
values based on field values. You have a choice of using integer
constants, integer variables, or the symbolic constants for arguments.
All field values are right justified.
Refer to the TMS320C6000 Peripherals Reference Guide (literature
number SPRU190) for descriptions of the arguments.
EDMA_RLD_LINK_OF(x)
EDMA_RLD_ELERLD_OF(x)

Advertisement

Table of Contents
loading

Table of Contents