LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Functions | Variables
CHIP: LPC11xx support functions

Detailed Description

Functions

void SystemCoreClockUpdate (void)
 Update system core clock rate, should be called if the system has a clock rate change. More...
 
void Chip_SystemInit (void)
 Set up and initialize hardware prior to call to main() More...
 
void Chip_SetupXtalClocking (void)
 Clock and PLL initialization based on the external oscillator. More...
 
void Chip_SetupIrcClocking (void)
 Clock and PLL initialization based on the internal oscillator. More...
 

Variables

uint32_t SystemCoreClock
 Current system clock rate, mainly used for sysTick. More...
 

Function Documentation

void Chip_SetupIrcClocking ( void  )

Clock and PLL initialization based on the internal oscillator.

Returns
None

Definition at line 92 of file sysinit_112x.c.

void Chip_SetupXtalClocking ( void  )

Clock and PLL initialization based on the external oscillator.

Returns
None
Note
This function assumes an external crystal oscillator frequency of 12MHz.

Definition at line 51 of file sysinit_112x.c.

void Chip_SystemInit ( void  )

Set up and initialize hardware prior to call to main()

Returns
None
Note
Chip_SystemInit() is called prior to the application and sets up system clocking prior to the application starting.

Definition at line 131 of file sysinit_112x.c.

void SystemCoreClockUpdate ( void  )

Update system core clock rate, should be called if the system has a clock rate change.

Returns
None

Definition at line 55 of file chip_112x.c.

Variable Documentation

uint32_t SystemCoreClock

Current system clock rate, mainly used for sysTick.

Definition at line 43 of file chip_112x.c.