Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IsuProject_LPC1768 Gemini_Soloist_LPC1768 OSCtoCVConverter
ClockControl.h@1:a6d100de3aee, 2013-10-11 (annotated)
- Committer:
- JST2011
- Date:
- Fri Oct 11 02:59:39 2013 +0000
- Revision:
- 1:a6d100de3aee
- Parent:
- 0:bf8849c9b21a
*change "LPC1768/ARM/LPC17xx.h" to "TARGET_LPC1768/LPC17xx.h" for mbed lib(13/10/11) ; *see also :http://mbed.org/users/mbed_official/code/mbed/file/a9913a65894f/TARGET_LPC1768
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JST2011 | 0:bf8849c9b21a | 1 | /* mbed PowerControl Library |
| JST2011 | 0:bf8849c9b21a | 2 | * Copyright (c) 2010 Michael Wei |
| JST2011 | 0:bf8849c9b21a | 3 | */ |
| JST2011 | 0:bf8849c9b21a | 4 | |
| JST2011 | 0:bf8849c9b21a | 5 | //shouldn't have to include, but fixes weird problems with defines |
| JST2011 | 1:a6d100de3aee | 6 | #include "TARGET_LPC1768/LPC17xx.h" |
| JST2011 | 0:bf8849c9b21a | 7 | |
| JST2011 | 0:bf8849c9b21a | 8 | #ifndef MBED_CLOCKCONTROL_H |
| JST2011 | 0:bf8849c9b21a | 9 | #define MBED_CLOCKCONTROL_H |
| JST2011 | 0:bf8849c9b21a | 10 | |
| JST2011 | 0:bf8849c9b21a | 11 | unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); |
| JST2011 | 0:bf8849c9b21a | 12 | void setPLL0Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); |
| JST2011 | 0:bf8849c9b21a | 13 | void setPLL1Frequency(unsigned char clkSrc, unsigned short cfg_m, unsigned char cfg_n); |
| JST2011 | 0:bf8849c9b21a | 14 | #endif |