clock control library written by Michael Wei

Dependents:   IsuProject_LPC1768 int555 Gemini_Soloist_LPC1768 OSCtoCVConverter

Committer:
JST2011
Date:
Wed Mar 28 10:45:42 2012 +0000
Revision:
0:bf8849c9b21a
Child:
1:a6d100de3aee
fixed: compile error with mbed lib(at 20120328)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JST2011 0:bf8849c9b21a 1 /* mbed PowerControl Library
JST2011 0:bf8849c9b21a 2 * Copyright (c) 2010 Michael Wei
JST2011 0:bf8849c9b21a 3 */
JST2011 0:bf8849c9b21a 4
JST2011 0:bf8849c9b21a 5 //shouldn't have to include, but fixes weird problems with defines
JST2011 0:bf8849c9b21a 6 #include "LPC1768/ARM/LPC17xx.h"
JST2011 0:bf8849c9b21a 7
JST2011 0:bf8849c9b21a 8 #ifndef MBED_CLOCKCONTROL_H
JST2011 0:bf8849c9b21a 9 #define MBED_CLOCKCONTROL_H
JST2011 0:bf8849c9b21a 10
JST2011 0:bf8849c9b21a 11 unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n);
JST2011 0:bf8849c9b21a 12 void setPLL0Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n);
JST2011 0:bf8849c9b21a 13 void setPLL1Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n);
JST2011 0:bf8849c9b21a 14 #endif