BeRTOS
Defines
cfg_i2c.h File Reference

Configuration file for I2C module. More...

Go to the source code of this file.

Defines

#define CONFIG_I2C_FREQ   100000UL
 Comunication frequency.
#define CONFIG_I2C_START_TIMEOUT   100
 I2C start timeout.
#define CONFIG_I2C_DISABLE_OLD_API   0
 Check this to disable I2c deprecated API support.
#define I2C_LOG_LEVEL   LOG_LVL_INFO
 Module logging level.
#define I2C_LOG_FORMAT   LOG_FMT_TERSE
 module logging format.

Detailed Description

Configuration file for I2C module.

Author:
Daniele Basile <asterix@develer.com>

Definition in file cfg_i2c.h.


Define Documentation

#define CONFIG_I2C_START_TIMEOUT   100

I2C start timeout.

For how many milliseconds the i2c_start should try to get an ACK before returning error.

Definition at line 56 of file cfg_i2c.h.