Test application based on the AVR examples provided by ThaiEasyElec for their ELT240320ATP breakout board -- library works rather slow on the mbed platform.

Dependencies:   mbed

Committer:
robodude666
Date:
Wed Mar 10 21:17:41 2010 +0000
Revision:
0:4395705c8647

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
robodude666 0:4395705c8647 1 /* mbed PowerControl Library
robodude666 0:4395705c8647 2 * Copyright (c) 2010 Michael Wei
robodude666 0:4395705c8647 3 */
robodude666 0:4395705c8647 4
robodude666 0:4395705c8647 5 //shouldn't have to include, but fixes weird problems with defines
robodude666 0:4395705c8647 6 #include "LPC1768/LPC17xx.h"
robodude666 0:4395705c8647 7
robodude666 0:4395705c8647 8 #ifndef MBED_CLOCKCONTROL_H
robodude666 0:4395705c8647 9 #define MBED_CLOCKCONTROL_H
robodude666 0:4395705c8647 10
robodude666 0:4395705c8647 11 unsigned int setSystemFrequency(unsigned char clkDivider, unsigned char clkSrc, unsigned short M, unsigned char N);
robodude666 0:4395705c8647 12 void setPLL0Frequency(unsigned char clkSrc, unsigned short M, unsigned char N);
robodude666 0:4395705c8647 13 void setPLL1Frequency(unsigned char clkSrc, unsigned short M, unsigned char N);
robodude666 0:4395705c8647 14 #endif