Texas Instruments TMS320C6000 Reference Manual page 102

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

Advertisement

EDMA
4.7.6
EDMA_ConfigA
Function
Arguments
Return Value
Description
Example
4-54
Sets up the EDMA channel using the configuration
structure
void EDMA_ConfigA(
EDMA_HANDLE hDma,
EDMA_CONFIG *Config
);
Device handle. See EDMA_Open() and EDMA_Al-
hEdma
locTable().
Pointer to an initialized configuration structure
Config
none
Sets up the EDMA channel using the configuration structure. The val-
ues of the structure are written to the EDMA PRAM entries. The options
value ( opt ) is written last. See also EDMA_ConfigB() and EDMA_CON-
FIG.
Note: The predefined device handle EDMA_HQDMA may be used as the
hEdma argument if you wish to configure the quick DMA regis-
ters. In this case, the rld structure member is ignored. First, src ,
cnt , dst , and idx structure members are written to the QDMA
SRC, CNT, DST, and IDX registers, respectively. Then the opt
structure member is written to the pseudo-QDMA OPT register.
This function accepts the following devices handles:
From EDMA_Open()
From EDMA_AllocTable()
Quick DMA predefined handle
EDMA_CONFIG MyConfig = {
0x41200000, /* opt */
0x80000000, /* src */
0x00000040, /* cnt */
0x80010000, /* dst */
0x00000004
/* idx */
0x00000000
/* rld */
};
EDMA_ConfigA(hEdma,&MyConfig);

Advertisement

Table of Contents
loading

Table of Contents