![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Macros | |
#define | EMC_ADDRESS_DYCS0 (0x28000000) |
#define | EMC_ADDRESS_DYCS1 (0x30000000) |
#define | EMC_ADDRESS_DYCS2 (0x60000000) |
#define | EMC_ADDRESS_DYCS3 (0x70000000) |
#define | EMC_ADDRESS_CS0 (0x1C000000) |
#define | EMC_ADDRESS_CS1 (0x1D000000) |
#define | EMC_ADDRESS_CS2 (0x1E000000) |
#define | EMC_ADDRESS_CS3 (0x1F000000) |
Functions | |
void | Chip_EMC_Dynamic_Init (IP_EMC_DYN_CONFIG_Type *Dynamic_Config) |
Dyanmic memory setup. | |
void | Chip_EMC_Static_Init (IP_EMC_STATIC_CONFIG_Type *Static_Config) |
Static memory setup. | |
STATIC INLINE void | Chip_EMC_Dynamic_DeepSleepMode (uint32_t Enable) |
Set Deep Sleep Mode for Dynamic Memory Controller. | |
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. | |
#define EMC_ADDRESS_CS0 (0x1C000000) |
Static Chip Select Address
Definition at line 57 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_CS1 (0x1D000000) |
Definition at line 58 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_CS2 (0x1E000000) |
Definition at line 59 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_CS3 (0x1F000000) |
Definition at line 60 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_DYCS0 (0x28000000) |
Dynamic Chip Select Address
Definition at line 49 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_DYCS1 (0x30000000) |
Definition at line 50 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_DYCS2 (0x60000000) |
Definition at line 51 of file emc_18xx_43xx.h.
#define EMC_ADDRESS_DYCS3 (0x70000000) |
Definition at line 52 of file emc_18xx_43xx.h.
Set Deep Sleep Mode for Dynamic Memory Controller.
Enable | : 1 = enter DeepSleep Mode, 0 = Normal Mode |
Definition at line 81 of file emc_18xx_43xx.h.
Enable Dynamic Memory Controller.
Enable | : 1 = Enable Dynamic Memory Controller, 0 = Disable |
Definition at line 91 of file emc_18xx_43xx.h.
void Chip_EMC_Dynamic_Init | ( | IP_EMC_DYN_CONFIG_Type * | Dynamic_Config | ) |
Dyanmic memory setup.
Dynamic_Config | : Pointer to dynamic memory setup data |
Definition at line 51 of file emc_18xx_43xx.c.
Enable EMC.
Enable | : 1 = Enable, 0 = Disable |
Definition at line 111 of file emc_18xx_43xx.h.
Initialize EMC.
Enable | : 1 = Enable, 0 = Disable |
ClockRatio | : clock out ratio, 0 = 1:1, 1 = 1:2 |
EndianMode | : Endian Mode, 0 = Little, 1 = Big |
Definition at line 133 of file emc_18xx_43xx.h.
Set EMC LowPower Mode.
Enable | : 1 = Enable, 0 = Disable |
Definition at line 121 of file emc_18xx_43xx.h.
Mirror CS1 to CS0 and DYCS0.
Enable | : 1 = Mirror, 0 = Normal Memory Map |
Definition at line 101 of file emc_18xx_43xx.h.
Set Static Memory Extended Wait in Clock.
Wait16Clks | : Number of '16 clock' delay cycles |
Definition at line 143 of file emc_18xx_43xx.h.
void Chip_EMC_Static_Init | ( | IP_EMC_STATIC_CONFIG_Type * | Static_Config | ) |
Static memory setup.
Static_Config | : Pointer to static memory setup data |
Definition at line 72 of file emc_18xx_43xx.c.