LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
emc_17xx_40xx.h File Reference

Go to the source code of this file.

Macros

#define EMC_ADDRESS_DYCS0   (0xA0000000)
 
#define EMC_ADDRESS_DYCS1   (0xB0000000)
 
#define EMC_ADDRESS_DYCS2   (0xC0000000)
 
#define EMC_ADDRESS_DYCS3   (0xD0000000)
 
#define EMC_ADDRESS_CS0   (0x80000000)
 
#define EMC_ADDRESS_CS1   (0x90000000)
 
#define EMC_ADDRESS_CS2   (0x98000000)
 
#define EMC_ADDRESS_CS3   (0x9C000000)
 

Functions

void Chip_EMC_Dynamic_Init (IP_EMC_DYN_CONFIG_T *Dynamic_Config)
 Dyanmic memory setup.
 
void Chip_EMC_Static_Init (IP_EMC_STATIC_CONFIG_T *Static_Config)
 Static memory setup.
 
STATIC INLINE void Chip_EMC_Dynamic_Enable (uint8_t Enable)
 Enable Dynamic Memory Controller.
 
STATIC INLINE void Chip_EMC_Mirror (uint8_t Enable)
 Mirror CS1 to CS0 and DYCS0.
 
STATIC INLINE void Chip_EMC_Enable (uint8_t Enable)
 Enable EMC.
 
STATIC INLINE void Chip_EMC_LowPowerMode (uint8_t Enable)
 Set EMC LowPower Mode.
 
STATIC INLINE void Chip_EMC_Init (uint32_t Enable, uint32_t ClockRatio, uint32_t EndianMode)
 Initialize EMC.
 
STATIC INLINE void Chip_EMC_SetStaticExtendedWait (uint32_t Wait16Clks)
 Set Static Memory Extended Wait in Clock.