LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Macros | Functions | Variables
chip.h File Reference
#include "sys_config.h"
#include "cmsis.h"

Go to the source code of this file.

Macros

#define Chip_USB_Init   Chip_USB0_Init
 

Functions

void SystemCoreClockUpdate (void)
 Update system core clock rate, should be called if the system has a clock rate change. More...
 
void Chip_USB0_Init (void)
 USB0 Pin and clock initialization Calling this function will initialize the USB0 pins and the clock. More...
 
void Chip_USB1_Init (void)
 USB1 Pin and clock initialization Calling this function will initialize the USB0 pins and the clock. More...
 
void Chip_SystemInit (void)
 Set up and initialize hardware prior to call to main() More...
 
void Chip_SetupCoreClock (CHIP_CGU_CLKIN_T clkin, uint32_t core_freq, bool setbase)
 Clock and PLL initialization based input given in clkin. 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...
 
const uint32_t OscRateIn
 System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0. More...
 
const uint32_t ExtRateIn
 Clock rate on the CLKIN pin This value is defined externally to the chip layer and contains the value in Hz for the CLKIN pin for the board. If this pin isn't used, this rate can be 0. More...
 

Macro Definition Documentation

#define Chip_USB_Init   Chip_USB0_Init

Definition at line 46 of file chip.h.