Texas Instruments TMS320C6000 Reference Manual page 107

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

Advertisement

4.7.15
EDMA_GetTableAddress
Function
Arguments
Return Value
Description
Example
4.7.16
EDMA_MK_CNT
Macro
Arguments
Return Value
Description
Returns the 32-bit absolute address of the table
UINT32 GetTableAddress(
EDMA_HANDLE hEdma
);
hEdma
Table Address
Given a device handle obtained from EDMA_AllocTable(), this func-
tion returns the 32-bit absolute address of the table.
This function accepts the following device handles:
From EDMA_AllocTable()
Addr = EDMA_GetTableAddress(hEdmaTable);
Makes a value suitable for the EDMA CNT parameter
EDMA_MK_CNT(
elecnt,
frmcnt
)
Element count:
elecnt
Frame count:
frmcnt
Constructed parameter value
CNT Value
Use this macro to make a value suitable for the EDMA CNT parameter.
The default CNT parameter value is EDMA_CNT_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.
Device handle obtained by EDMA_AllocT-
able().
32-bit address of table
EDMA_CNT_ELECNT_OF(x)
EDMA_CNT_FRMCNT_OF(x)
CSL API Reference
EDMA
4-59

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Table of Contents