4.8 EMIF
4.8.1
EMIF_CONFIG
Structure
Members
Description
Example
4.8.2
EMIF_ConfigA
Function
Arguments
Return Value
Structure used to set up the EMIF peripheral
EMIF_CONFIG
UINT32 gblctl
UINT32 ce0ctl
UINT32 ce1ctl
UINT32 ce2ctl
UINT32 ce3ctl
UINT32 sdctl
UINT32 sdtim
UINT32 sdext
This is the EMIF configuration structure used to setup the EMIF periph-
eral. You create and initialize this structure and then pass its address to
the EMIF_ConfigA() function. You can use literal values or the
EMIF_MK macros to create the structure member values.
EMIF_CONFIG MyConfig = {
0x00003060, /* gblctl */
0x00000040, /* ce0ctl */
0x404F0323, /* ce1ctl */
0x00000030, /* ce2ctl */
0x00000030, /* ce3ctl */
0x72270000, /* sdctl
0x00000410, /* sdtim
0x00000000
/* sdext
};
EMIF_ConfigA(&MyConfig);
Sets up the EMIF using the configuration structure
void EMIF_ConfigA(
EMIF_CONFIG *Config
);
Pointer to an initialized configuration structure
Config
none
EMIF global control register value
CE0 space control register value
CE1 space control register value
CE2 space control register value
CE3 space control register value
SDRAM control register value
SDRAM timing register value
SDRAM extension register value
*/
*/
*/
CSL API Reference
EMIF
4-69
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?