X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Flpc2378%2Fhw%2Fpwm_map.h;fp=examples%2Flpc2378%2Fhw%2Fpwm_map.h;h=8f9f8b657c172b487e8f62e99b40a32f691ccf54;hb=ab067bd420a6e48b25d66444d97ee229b48bcb23;hp=0000000000000000000000000000000000000000;hpb=8284fb65c8c8f9fd233da33fd08f1f81b64cb94b;p=bertos.git diff --git a/examples/lpc2378/hw/pwm_map.h b/examples/lpc2378/hw/pwm_map.h new file mode 100644 index 00000000..8f9f8b65 --- /dev/null +++ b/examples/lpc2378/hw/pwm_map.h @@ -0,0 +1,61 @@ +/** + * \file + * + * + * + * \brief PWM map device. + * + * \version $Id: pwm_map.h 1357 2008-05-26 09:30:19Z asterix $ + * + * \author Daniele Basile + */ + +#ifndef HW_PWM_MAP_H +#define HW_PWM_MAP_H + +#warning TODO:This is an example implentation, you must implement it! + +typedef enum +{ + PWM_CH0 = 0, + PWM_CH1, + PWM_CH2, + PWM_CH3, + +/* + * add other PWM channel or + * change above. + */ + + PWM_CNT +} PwmDev; + +#endif /* HW_PWM_MAP_H */