clock control library written by Michael Wei
Dependents: IsuProject_LPC1768 int555 Gemini_Soloist_LPC1768 OSCtoCVConverter
ClockControl.h
- Committer:
- JST2011
- Date:
- 2013-10-11
- Revision:
- 1:a6d100de3aee
- Parent:
- 0:bf8849c9b21a
File content as of revision 1:a6d100de3aee:
/* mbed PowerControl Library * Copyright (c) 2010 Michael Wei */ //shouldn't have to include, but fixes weird problems with defines #include "TARGET_LPC1768/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