Simon Yang
/
BenchCoreMark
RunCoreMark on STM32F091
Fork of ClockControl by
ClockControl/ClockControl.cpp@2:6a9131b3df01, 2015-09-03 (annotated)
- Committer:
- Simon_mbed
- Date:
- Thu Sep 03 09:26:56 2015 +0000
- Revision:
- 2:6a9131b3df01
- Parent:
- 1:7d0a41d6624f
Run OK
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
no2chem | 0:b5d3bd64d2dc | 1 | #include "ClockControl.h" |
no2chem | 0:b5d3bd64d2dc | 2 | |
no2chem | 0:b5d3bd64d2dc | 3 | void setPLL0Frequency(unsigned char clkSrc, unsigned short M, unsigned char N) |
no2chem | 0:b5d3bd64d2dc | 4 | { |
Simon_mbed | 1:7d0a41d6624f | 5 | |
no2chem | 0:b5d3bd64d2dc | 6 | } |
no2chem | 0:b5d3bd64d2dc | 7 | |
no2chem | 0:b5d3bd64d2dc | 8 | void setPLL1Frequency(unsigned char clkSrc, unsigned short M, unsigned char N) |
no2chem | 0:b5d3bd64d2dc | 9 | { |
Simon_mbed | 1:7d0a41d6624f | 10 | |
no2chem | 0:b5d3bd64d2dc | 11 | } |
no2chem | 0:b5d3bd64d2dc | 12 | |
no2chem | 0:b5d3bd64d2dc | 13 | unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short M, unsigned char N) |
no2chem | 0:b5d3bd64d2dc | 14 | { |
Simon_mbed | 1:7d0a41d6624f | 15 | |
Simon_mbed | 1:7d0a41d6624f | 16 | return 0; |
no2chem | 0:b5d3bd64d2dc | 17 | } |