X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fbenchmark%2Fkernel-core_avr%2Fhw%2Fpwm_map.h;fp=examples%2Fbenchmark%2Fkernel-core_avr%2Fhw%2Fpwm_map.h;h=723da2f1e71df511ddbb658e599be33cf7fcb34a;hb=a86a8b231ae610974f053b1d2bd9172582f60a25;hp=0000000000000000000000000000000000000000;hpb=1d10dbcdf05ceaf77f1f6a394e6ee63050d6c89a;p=bertos.git diff --git a/examples/benchmark/kernel-core_avr/hw/pwm_map.h b/examples/benchmark/kernel-core_avr/hw/pwm_map.h new file mode 100644 index 00000000..723da2f1 --- /dev/null +++ b/examples/benchmark/kernel-core_avr/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 */