Test application based on the AVR examples provided by ThaiEasyElec for their ELT240320ATP breakout board -- library works rather slow on the mbed platform.
ClockControl.h
- Committer:
- robodude666
- Date:
- 2010-03-10
- Revision:
- 0:4395705c8647
File content as of revision 0:4395705c8647:
/* 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