see http://mbed.org/users/no2chem/notebook/mbed-clock-control--benchmarks/

Dependencies:   mbed

Committer:
no2chem
Date:
Sun Jan 24 15:46:26 2010 +0000
Revision:
0:b5d3bd64d2dc

        

Who changed what in which revision?

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