Merged from external project:
[bertos.git] / bertos / cfg / cfg_i2c.h
index 9ff37c4e34765bccec2887ecac2f2d2f481ced00..08f02b5c9c41a6e8e563f85ab0555556fa6687aa 100644 (file)
 /// Comunication frequency
 #define CONFIG_I2C_FREQ  100000UL
 
+/**
+ * I2C start timeout: for how many milliseconds
+ * the twi_start should try to get an ACK before
+ * returning error.
+ */
+#define CONFIG_I2C_START_TIMEOUT 100
+
+/// Module logging level definition.
+#define I2C_LOG_LEVEL      LOG_LVL_INFO
+
+/// Module logging format.
+#define I2C_LOG_FORMAT     LOG_FMT_TERSE
+
 #endif /* CFG_I2C_H */