rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
clock.h File Reference

Clock initialization and defines. More...

#include "nxp/LPC17xx.h"

Go to the source code of this file.

Enumerations

enum  rflpc_clock_divider_t {
  RFLPC_CCLK_4 = 0,
  RFLPC_CCLK = 1,
  RFLPC_CCLK_2 = 2,
  RFLPC_CCLK_8 = 3
}
 This enums defines the different cpu clock dividers for use as peripheral clocks. More...
 

Functions

uint32_t rflpc_clock_get_system_clock ()
 returns the system clock in Hz
 
void rflpc_clock_init (void)
 init the PLL0 to clock the board at its operational speed. More...
 

Detailed Description

Clock initialization and defines.

Definition in file clock.h.