Add abstraction layer for toolchains.
[bertos.git] / bertos / cfg / cfg_dc_motor.h
index 409badda2e7046072af4e09ad97a13ed7fa0a803..12a8afd8c55bab5186a773ebe93990bf60ed9aa2 100644 (file)
@@ -32,7 +32,6 @@
  *
  * \brief Configuration file for DC motor module.
  *
- * \version $Id$
  *
  * \author Daniele Basile <asterix@develer.com>
  */
  */
 #define DC_MOTOR_LOG_FORMAT     LOG_FMT_TERSE
 
+
+/**
+ * Min value of DC motor speed.
+ * \note Generally this value is the min value of the ADC conversion,
+ * if you use it.
+ *
+ * $WIZ$ type = "int"
+ */
+#define CONFIG_DC_MOTOR_MIN_SPEED              0
+
+
+/**
+ * Min value of DC motor speed.
+ * \note Generally this value is the min value of the ADC conversion,
+ * if you use it.
+ *
+ * $WIZ$ type = "int"
+ * $WIZ$ max = 65535
+ */
+#define CONFIG_DC_MOTOR_MAX_SPEED         65535
+
+
 #endif /* CFG_DC_MOTOR_H */