STIMA  3
Macros
i2c_config.h File Reference

Go to the source code of this file.

Macros

#define I2C_BUS_CLOCK   (30418L)
 I2C bus clock in Hertz. 30418,25 Hz : minimum freq with prescaler set to 1 and CPU clock to 16MHz.
 
#define I2C_MAX_DATA_LENGTH   (32)
 Max length in bytes for i2c bus data buffer.
 
#define I2C_MAX_ERROR_COUNT   (3)
 Max i2c error for bus restart.