| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
LPC812 NXP Xpresso board System Init code
NXP LPC812 Xpresso board support functions

## Detailed Description

The System initialization code is called prior to the application and initializes the board for run-time operation. Board initialization for the NXP LPC812 board includes default pin muxing and clock setup configuration.

With the exception of stack space, no RW memory is used for this call.

LPC812 setup
Pin muxing:
Sets up various pin mux functions for the board. Enables CLKOUT on PIO0_1.
Clocking:
By default LPC8xx comes up using the IRC at a 1:1 ratio.
The system PLL is setup for 24MHz clocked from the main oscaillator and the system clock is switched to this rate.
Memory:
There is no memory setup for this board.

## Functions
STATIC void | SystemSetupClocking (void)
STATIC void | SystemSetupMuxing (void)
void | SystemInit (void)
| Setup the system.

## Function Documentation

void SystemInit | ( | void |  | ) |

Setup the system.

Returns
  none

Note
  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 152 of file sysinit_nxp_xpresso_812.c.

STATIC void SystemSetupClocking | ( | void |  | ) |

Definition at line 68 of file sysinit_nxp_xpresso_812.c.

STATIC void SystemSetupMuxing | ( | void |  | ) |

Definition at line 119 of file sysinit_nxp_xpresso_812.c.