Texas Instruments TMS320C6000 Reference Manual page 83

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

Advertisement

4.6.18
DMA_MK_GBLIDX
Macro
Arguments
Return Value
Description
Example
Makes a value suitable for a global index register
DMA_MK_GBLIDX(
eleidx,
frmidx
)
Element index:
eleidx
Frame index:
frmidx
Constructed register value
GBLIDX Value
Use this macro to make a value suitable for a global index register.
Use of the DMA_MK macros makes it simpler to construct register val-
ues 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.
UINT32 GblIdx;
GblIdx = DMA_MK_GBLIDX(0x0100,0x0020);
GblIdx = DMA_MK_GBLIDX(
DMA_GBLCNT_ELEIDX_OF(0x0100),
DMA_GBLCNT_FRMIDX_OF(0x0020)
);
DMA_GBLCNT_ELEIDX_OF(x)
DMA_GBLCNT_FRMIDX_OF(x)
CSL API Reference
DMA
4-35

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?

Questions and answers

Table of Contents