LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Data Structures | Functions | Variables
sysinit_18xx_43xx.c File Reference
#include "chip.h"

Go to the source code of this file.

Data Structures

struct  CLK_BASE_STATES
 

Functions

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...
 
void Chip_SystemInit (void)
 Set up and initialize hardware prior to call to main() More...
 

Variables

static struct CLK_BASE_STATES InitClkStates []
 

Variable Documentation

struct CLK_BASE_STATES InitClkStates[]
static
Initial value:
= {
{CLK_BASE_SAFE, CLKIN_IRC, true, false},
{CLK_BASE_APB1, CLKIN_MAINPLL, true, false},
{CLK_BASE_APB3, CLKIN_MAINPLL, true, false},
{CLK_BASE_USB0, CLKIN_USBPLL, true, true},
{CLK_BASE_SDIO, CLKIN_MAINPLL, true, false},
{CLK_BASE_SSP0, CLKIN_MAINPLL, true, false},
{CLK_BASE_SSP1, CLKIN_MAINPLL, true, false},
{CLK_BASE_UART0, CLKIN_MAINPLL, true, false},
{CLK_BASE_UART1, CLKIN_MAINPLL, true, false},
{CLK_BASE_UART2, CLKIN_MAINPLL, true, false},
{CLK_BASE_UART3, CLKIN_MAINPLL, true, false},
{CLK_BASE_OUT, CLKINPUT_PD, true, false},
{CLK_BASE_APLL, CLKINPUT_PD, true, false},
{CLK_BASE_CGU_OUT0, CLKINPUT_PD, true, false},
{CLK_BASE_CGU_OUT1, CLKINPUT_PD, true, false},
}

Definition at line 46 of file sysinit_18xx_43xx.c.