Simon Yang
/
BenchCoreMark
RunCoreMark on STM32F091
Fork of ClockControl by
ClockControl/ClockControl.h
- Committer:
- no2chem
- Date:
- 2010-01-24
- Revision:
- 0:b5d3bd64d2dc
- Child:
- 1:7d0a41d6624f
File content as of revision 0:b5d3bd64d2dc:
/* mbed PowerControl Library * Copyright (c) 2010 Michael Wei */ //shouldn't have to include, but fixes weird problems with defines #include "LPC1768/LPC17xx.h" #ifndef MBED_CLOCKCONTROL_H #define MBED_CLOCKCONTROL_H unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short M, unsigned char N); void setPLL0Frequency(unsigned char clkSrc, unsigned short M, unsigned char N); void setPLL1Frequency(unsigned char clkSrc, unsigned short M, unsigned char N); #endif