X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fpwm.h;h=87ec1b4d492efd06baf92c671dc8755bcb35f812;hb=HEAD;hp=30f5b4d4408edf1f838467135b080c7a6c2a32d9;hpb=77c1d6ba65a199f60faa0e0a68e63ef0eb87677c;p=bertos.git diff --git a/drv/pwm.h b/drv/pwm.h deleted file mode 100644 index 30f5b4d4..00000000 --- a/drv/pwm.h +++ /dev/null @@ -1,74 +0,0 @@ -/** - * \file - * - * - * \version $Id$ - * - * \brief PWM driver (interface) - * - * \version $Id$ - * \author Francesco Sacchi - */ - -/*#* - *#* $Log$ - *#* Revision 1.2 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.1 2005/11/04 18:08:49 bernie - *#* Import into DevLib. - *#* - *#* Revision 1.1 2005/05/24 09:17:58 batt - *#* Move drivers to top-level. - *#* - *#* Revision 1.3 2005/05/09 16:36:12 batt - *#* Change some function names to accomplish coding standard. - *#* - *#* Revision 1.2 2005/05/02 16:03:08 batt - *#* Remove unusefull interrupt saving. - *#* - *#* Revision 1.1 2005/05/02 12:36:39 batt - *#* Add pwm driver. - *#* - *#*/ -#ifndef DRV_PWM_H -#define DRV_PWM_H - -#include -#include - -typedef uint16_t pwm_duty_t; - -void pwm_setDuty(PwmDev dev, pwm_duty_t duty); -void pwm_init(void); - -#define PWM_MAX_DUTY 100 - -#endif /* DRV_PWM_H */