Reformat.
[bertos.git] / bertos / cfg / cfg_i2c.h
index 6c5ee2fab779717995ed7d1a9d1d90f087a15206..ea599a810bd57531f4cdec79fbd7282d79b99b56 100644 (file)
  *
  * \brief Configuration file for I2C module.
  *
- * \version $Id$
- *
  * \author Daniele Basile <asterix@develer.com>
  */
 
 #ifndef CFG_I2C_H
 #define CFG_I2C_H
 
-/// Comunication frequency
+/**
+*Comunication frequency.
+*
+* $WIZ$ type = "int"
+*/
 #define CONFIG_I2C_FREQ  100000UL
 
 /**
- * I2C start timeout: for how many milliseconds
- * the twi_start should try to get an ACK before
+ * I2C start timeout.
+ * For how many milliseconds the i2c_start
+ * should try to get an ACK before
  * returning error.
+ *
+ * $WIZ$ type = "int"
  */
 #define CONFIG_I2C_START_TIMEOUT 100
 
-/// Module logging level definition.
+/**
+ * Check this to disable I2c deprecated API support.
+ *
+ * $WIZ$ type = "boolean"
+ */
+#define CONFIG_I2C_DISABLE_OLD_API   0
+
+/**
+ * Module logging level.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_level"
+ */
 #define I2C_LOG_LEVEL      LOG_LVL_INFO
 
-/// Module logging format.
-#define I2C_LOG_FORMAT     LOG_FMT_TERSET
+/**
+ * module logging format.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_format"
+ */
+#define I2C_LOG_FORMAT     LOG_FMT_TERSE
 
 #endif /* CFG_I2C_H */