X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Fhw%2Fpwm_map.h;fp=boards%2Farduino-mega%2Fhw%2Fpwm_map.h;h=723da2f1e71df511ddbb658e599be33cf7fcb34a;hb=450741a2b0b851ba6f71cb6e87fd5f61fe311beb;hp=0000000000000000000000000000000000000000;hpb=fc82096bbc71c4197171bdfa33584df6b69038f6;p=bertos.git diff --git a/boards/arduino-mega/hw/pwm_map.h b/boards/arduino-mega/hw/pwm_map.h new file mode 100644 index 00000000..723da2f1 --- /dev/null +++ b/boards/arduino-mega/hw/pwm_map.h @@ -0,0 +1,61 @@ +/** + * \file + * + * + * + * \brief PWM map device. + * + * \version $Id$ + * + * \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 */