![]() |
LPCOpen Platform for LPC112X microcontrollers
112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
|
#include "chip.h"
Go to the source code of this file.
Functions | |
STATIC uint32_t | Chip_Clock_GetWDTLFORate (uint32_t reg) |
STATIC uint32_t | Chip_Clock_GetPLLFreq (uint32_t PLLReg, uint32_t inputRate) |
void | Chip_Clock_SetSystemPLLSource (CHIP_SYSCON_PLLCLKSRC_T src) |
Set System PLL clock source. More... | |
void | Chip_Clock_SetPLLBypass (bool bypass, bool highfr) |
Bypass System Oscillator and set oscillator frequency range. More... | |
void | Chip_Clock_SetMainClockSource (CHIP_SYSCON_MAINCLKSRC_T src) |
Set main system clock source. More... | |
void | Chip_Clock_SetWDTClockSource (CHIP_SYSCON_WDTCLKSRC_T src, uint32_t div) |
Set WDT clock source and divider. More... | |
void | Chip_Clock_SetCLKOUTSource (CHIP_SYSCON_CLKOUTSRC_T src, uint32_t div) |
Set CLKOUT clock source and divider. More... | |
uint32_t | Chip_Clock_GetWDTOSCRate (void) |
Return estimated watchdog oscillator rate. More... | |
uint32_t | Chip_Clock_GetSystemPLLInClockRate (void) |
Return System PLL input clock rate. More... | |
uint32_t | Chip_Clock_GetSystemPLLOutClockRate (void) |
Return System PLL output clock rate. More... | |
uint32_t | Chip_Clock_GetMainClockRate (void) |
Return main clock rate. More... | |
uint32_t | Chip_Clock_GetSystemClockRate (void) |
Return system clock rate. More... | |
Variables | |
STATIC const uint32_t | wdtOSCRate [WDTLFO_OSC_4_60+1] |
STATIC uint32_t Chip_Clock_GetPLLFreq | ( | uint32_t | PLLReg, |
uint32_t | inputRate | ||
) |
Definition at line 78 of file clock_112x.c.
STATIC uint32_t Chip_Clock_GetWDTLFORate | ( | uint32_t | reg | ) |
Definition at line 64 of file clock_112x.c.
STATIC const uint32_t wdtOSCRate[WDTLFO_OSC_4_60+1] |
Definition at line 36 of file clock_112x.c.