Change the comment style for the modules and the list, and use the newParser to parse...
[bertos.git] / bertos / drv / pwm.h
index 1f5facf1e760fc6f914c0060a0e05f078fed34c6..f03582142213a1402ea2a39c9fe88e137286c66d 100644 (file)
  *
  * \version $Id$
  *
- * \brief PWM driver (interface)
+ * \brief Pulse Width Modulation (PWM) driver.
  *
  * \version $Id$
  * \author Francesco Sacchi <batt@develer.com>
  * \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZ$ module_name = "pwm"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_pwm.h"
  */
 
 #ifndef DRV_PWM_H
 #define DRV_PWM_H
 
 #include "hw/pwm_map.h"
+
+#include <cpu/attr.h>
+
 #include CPU_HEADER(pwm)
 
 #include <cfg/compiler.h>
 
 #define PWM_MAX_DUTY              ((pwm_duty_t)0xFFFF)
-#define PWM_MAX_PERIOD            0xFFFF
-#define PWM_MAX_PERIOD_LOG2           16
+#define PWM_MAX_PERIOD                         0xFFFF
+#define PWM_MAX_PERIOD_LOG2                        16
 
 /**
  * PWM type define.