![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Data Structures | |
struct | PINMUX_GRP_T |
struct | CLK_BASE_STATES |
Functions | |
STATIC void | SystemSetupClocking (void) |
STATIC void | SystemSetupMuxing (void) |
STATIC void | SystemSetupMemory (void) |
void | SystemInit (void) |
Setup the system. | |
Variables | |
STATIC struct CLK_BASE_STATES | InitClkStates [] |
STATIC const PINMUX_GRP_T | spifipinmuxing [] |
STATIC const PINMUX_GRP_T | pinmuxing [] |
The System initialization code is called prior to the application and initializes the board for run-time operation. Board initialization for the NGX Xplorer boards includes clock setup and default pin muxing configuration.
With the exception of stack space, no RW memory is used for this call.
LPC1830 and LPC4330 NGX Xplorer setup
Clocking:
All base clocks enabled by default (Save power by disabling un-needed clocks)
CPU PLL set to maximum clock frequency (as defined by MAX_CLOCK_FREQ value)
SPIFI FLASH clock setup for fastest speed
Pin muxing:
Sets up various pin mux functions for the board (Ethernet, LEDs, etc.)
Memory:
There is no memory setup for this board.
void SystemInit | ( | void | ) |
Setup the system.
Setup the system SystemInit() is called prior to the application and sets up system clocking, memory, and any resources needed prior to the application starting.
Definition at line 205 of file sysinit_ngx_xplorer_18304330.c.
STATIC void SystemSetupClocking | ( | void | ) |
Definition at line 114 of file sysinit_ngx_xplorer_18304330.c.
STATIC void SystemSetupMemory | ( | void | ) |
Definition at line 193 of file sysinit_ngx_xplorer_18304330.c.
STATIC void SystemSetupMuxing | ( | void | ) |
Definition at line 181 of file sysinit_ngx_xplorer_18304330.c.
STATIC struct CLK_BASE_STATES InitClkStates[] |
Definition at line 68 of file sysinit_ngx_xplorer_18304330.c.
STATIC const PINMUX_GRP_T pinmuxing[] |
Definition at line 157 of file sysinit_ngx_xplorer_18304330.c.
STATIC const PINMUX_GRP_T spifipinmuxing[] |
Definition at line 104 of file sysinit_ngx_xplorer_18304330.c.