examples/benchmark/kernel-core_avr/cfg/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_BACKEND I2C_BACKEND_BUILTIN |
| I2C backend the driver should use. | |
| #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.
- Version:
- Id
- cfg_i2c.h 2927 2009-09-10 13:06:04Z lottaviano
Definition in file examples/benchmark/kernel-core_avr/cfg/cfg_i2c.h.
Define Documentation
| #define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN |
I2C backend the driver should use.
I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. I2C_BACKEND_BITBANG: Use the emulated bitbang driver.
- See also:
- drv/i2c.h for more information.
Definition at line 70 of file examples/benchmark/kernel-core_avr/cfg/cfg_i2c.h.
| #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 58 of file examples/benchmark/kernel-core_avr/cfg/cfg_i2c.h.
