Merged from external project:
[bertos.git] / bertos / cfg / cfg_twi.h
index 9bb012cde016d5a85c8c7f025de1b7a02594bebe..dbfffafe75b8ad96bebcacd091b1bbdfa114da54 100644 (file)
 #define CFG_TWI_H
 
 /// Comunication frequency
-#define CONFIG_TWI_FREQ  1000000
+#define CONFIG_TWI_FREQ  100000UL
+
+/**
+  * TWI start timeout.
+  * For how many milliseconds the twi_start
+  * should try to get an ACK before returning error.
+  *
+  */
+#define CONFIG_TWI_START_TIMEOUT 100
 
 #endif /* CFG_TWI_H */