ld scripts moved to arch subdirectory.
[LPC2xxx_and_RobotSpejbl.git] / app / arm / test_ARMBoard_pwm / pwm.h
blob9ef85cef80b1f1cbeaeb81d3f8d6069eb68cd33b
1 //
2 // pwm.h
3 //
4 // Description: PWM unit configuration
5 //
6 //
7 // Author: LAGARRIGUE <glagarri@etud.insa-toulouse.fr>, (C) 2005
8 //
9 // Copyright: See COPYING file that comes with this distribution
12 #include <LPC210x.h>
13 #include "config.h"
16 #define MINFREQ (PCLK/(0xFFFFFFFF))
18 void Init_PWM(int freq);
19 void Set_PWM (int channel, float duty_cycle);
20 void Run_PWM (void);
21 void Stop_PWM (void);