4.7 EDMA
4.7.1
EDMA_AllocTable
Function
Arguments
Return Value
Description
Example
4.7.2
EDMA_CHA_CNT
Constant
Description
Allocates a parameter RAM table from PRAM
EDMA_HANDLE EDMA_AllocTable(
int TableNum
);
TableNum
Device Handle
This function allocates a parameter RAM table from PRAM. You use
PRAM tables for linking transfers together. You can either specify a
table number or specify –1 and the function will pick an unused one for
you. The return value is a device handle and may be used for APIs that
require a device handle. If the table could not be allocated, then
EDMA_HINV is returned.
If you finish with the table and wish to free it up again, call
EDMA_FreeTable().
EDMA_HANDLE hEdmaTable;
...
hEdmaTabel = EDMA_AllocTable(–1);
Number of EDMA channels
EDMA_CHA_CNT
Compile time constant that holds the number of EDMA channels.
Table number to allocate. Valid values are 0 to
DMA_TABLE_CNT–1; –1 for any.
Returns a device handle
CSL API Reference
EDMA
4-51
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers