X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_twi.h;h=dbfffafe75b8ad96bebcacd091b1bbdfa114da54;hb=82697da95a4f826ecd42451e0ccb8902e2fbb96f;hp=6344c6f97826eb49628e536bc5066059c7e1b425;hpb=3dfbcd866fe02cab414180d87a14e1b63afe0517;p=bertos.git diff --git a/bertos/cfg/cfg_twi.h b/bertos/cfg/cfg_twi.h index 6344c6f9..dbfffafe 100644 --- a/bertos/cfg/cfg_twi.h +++ b/bertos/cfg/cfg_twi.h @@ -43,6 +43,14 @@ /// Comunication frequency #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 */