clock control library written by Michael Wei

Dependents:   IsuProject_LPC1768 int555 Gemini_Soloist_LPC1768 OSCtoCVConverter

Committer:
JST2011
Date:
Fri Oct 11 02:59:39 2013 +0000
Revision:
1:a6d100de3aee
Parent:
0:bf8849c9b21a
*change "LPC1768/ARM/LPC17xx.h" to "TARGET_LPC1768/LPC17xx.h" for mbed lib(13/10/11) ; *see also :http://mbed.org/users/mbed_official/code/mbed/file/a9913a65894f/TARGET_LPC1768

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 1:a6d100de3aee 6 #include "TARGET_LPC1768/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