Simon Yang
/
BenchCoreMark
RunCoreMark on STM32F091
Fork of ClockControl by
ClockControl/ClockControl.h@0:b5d3bd64d2dc, 2010-01-24 (annotated)
- Committer:
- no2chem
- Date:
- Sun Jan 24 15:46:26 2010 +0000
- Revision:
- 0:b5d3bd64d2dc
- Child:
- 1:7d0a41d6624f
Who changed what in which revision?
User | Revision | Line number | New 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 |