Michael Wei
/
ClockControl
see http://mbed.org/users/no2chem/notebook/mbed-clock-control--benchmarks/
Embed:
(wiki syntax)
Show/hide line numbers
ClockControl.h
00001 /* mbed PowerControl Library 00002 * Copyright (c) 2010 Michael Wei 00003 */ 00004 00005 //shouldn't have to include, but fixes weird problems with defines 00006 #include "LPC1768/LPC17xx.h" 00007 00008 #ifndef MBED_CLOCKCONTROL_H 00009 #define MBED_CLOCKCONTROL_H 00010 00011 unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short M, unsigned char N); 00012 void setPLL0Frequency(unsigned char clkSrc, unsigned short M, unsigned char N); 00013 void setPLL1Frequency(unsigned char clkSrc, unsigned short M, unsigned char N); 00014 #endif
Generated on Fri Jul 15 2022 12:36:20 by 1.7.2