X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fpwm.h;h=87ec1b4d492efd06baf92c671dc8755bcb35f812;hb=a5d199ea6aed560d3b62c41b73d16d500ba51b99;hp=f2c651b10df6f1946dd2ee9a146f3dda7ef396d6;hpb=cea014dab5c1bb6235dbe49ec768c1f238816811;p=bertos.git diff --git a/bertos/drv/pwm.h b/bertos/drv/pwm.h index f2c651b1..87ec1b4d 100644 --- a/bertos/drv/pwm.h +++ b/bertos/drv/pwm.h @@ -31,11 +31,16 @@ * * \version $Id$ * - * \brief PWM driver (interface) + * \brief Pulse Width Modulation (PWM) driver. * * \version $Id$ * \author Francesco Sacchi * \author Daniele Basile + * + * $WIZ$ module_name = "pwm" + * $WIZ$ module_configuration = "bertos/cfg/cfg_pwm.h" + * $WIZ$ module_hw = "bertos/hw/pwm_map.h" + * $WIZ$ module_supports = "not avr" */ #ifndef DRV_PWM_H @@ -79,8 +84,10 @@ void pwm_init(void); * * See pwm_test.c for implemntation of these functions. */ -int pwm_testRun(void); -int pwm_testSetUp(void); +void pwm_testRun(void); +int pwm_testSetup(void); +/* For backward compatibility */ +#define pwm_testSetUp() pwm_testSetup() int pwm_testTearDown(void); #endif /* DRV_PWM_H */