clock control library written by Michael Wei
Dependents: IsuProject_LPC1768 int555 Gemini_Soloist_LPC1768 OSCtoCVConverter
Diff: ClockControl.h
- Revision:
- 0:bf8849c9b21a
- Child:
- 1:a6d100de3aee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ClockControl.h Wed Mar 28 10:45:42 2012 +0000 @@ -0,0 +1,14 @@ +/* mbed PowerControl Library + * Copyright (c) 2010 Michael Wei + */ + +//shouldn't have to include, but fixes weird problems with defines +#include "LPC1768/ARM/LPC17xx.h" + +#ifndef MBED_CLOCKCONTROL_H +#define MBED_CLOCKCONTROL_H + +unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); +void setPLL0Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); +void setPLL1Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); +#endif \ No newline at end of file