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

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

Enumeration Type Documentation

This enums defines the different cpu clock dividers for use as peripheral clocks.

(See doc p. 57)

Enumerator
RFLPC_CCLK_4 

Divide the CPU clock by 4.

RFLPC_CCLK 

Use the CPU clock.

RFLPC_CCLK_2 

Divide the CPU clock by 2.

RFLPC_CCLK_8 

Divide the CPU clock by 8.

Definition at line 38 of file clock.h.

Function Documentation

void rflpc_clock_init ( void  )

init the PLL0 to clock the board at its operational speed.

This function will use the defines: