Add handy functions for handling non recurrent timeouts.
[bertos.git] / bertos / cfg / cfg_pwm.h
index e7ce27c4714ca08c447ce322e25b56dc17b7a4f7..68d62837c8ee73db35a3bf91e60acc068f465558 100644 (file)
  * the GNU General Public License.
  *
  * Copyright 2008 Develer S.r.l. (http://www.develer.com/)
- * All Rights Reserved.
  * -->
  *
  * \brief Configuration file for PWM module.
  *
- * \version $Id$
- *
  * \author Daniele Basile <asterix@develer.com>
  */
 
 #define CFG_PWM_H
 
 /**
- * Logging level definition.
+ * Module logging level.
  *
- * Use 0 to log only the error messages
- * Use 1 to log the error and warning messages
- * Use 2 to log all messages
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_level"
  */
-#define PWM_LOG_LEVEL      2
+#define PWM_LOG_LEVEL      LOG_LVL_INFO
 
 /**
- * Set logging verbosity.
+ * Module logging format.
  *
- * If verbosity is zero print short log messages.
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_format"
  */
-#define PWM_LOG_VERBOSITY    1
+#define PWM_LOG_FORMAT     LOG_FMT_VERBOSE
 
+/**
+ * Enable the OLD pwm API.
+ * Not recommended for new projects.
+ *
+ * $WIZ$ type = "boolean"
+ */
+#define CFG_PWM_ENABLE_OLD_API 1
 
 #endif /* CFG_PWM_H */
-
-