Texas Instruments TMS320C6000 Reference Manual page 122

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

Advertisement

EMIF
Return Value
Description
Example
4-74
External hold disable:
nohold
Constructed register value
GBLCTL Value
Use this macro to make a value suitable for the EMIF global control reg-
ister.
The default global control register value is EMIF_GBLCTL_DEFAULT.
Use of the EMIF_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 GblCtl;
/* you can do this /
GblCtl = EMIF_MK_GBLCTL(0,0,1,1,1,0,0);
/ or to be more readable, you can do this */
GblCtl = EMIF_MK_GBLCTL(
EMIF_GBLCTL_RBTR8_HPRI,
EMIF_GBLCTL_SSCRT_CPUOVR2,
EMIF_GBLCTL_CLK2EN_ENABLE,
EMIF_GBLCTL_CLK1EN_ENABLE,
EMIF_GBLCTL_SSCEN_ENABLE,
EMIF_GBLCTL_SDCEN_DISABLE,
EMIF_GBLCTL_NOHOLD_0
);
EMIF_GBLCTL_NOHOLD_0
EMIF_GBLCTL_NOHOLD_1

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