X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_i2c.h;h=376ad5b95a18d53f404fcc43066de9f69ae6b98f;hb=81aa9192a666837a2391978e11ce788bf82cd17d;hp=08f02b5c9c41a6e8e563f85ab0555556fa6687aa;hpb=4695182ccb9c285778768d7fe95dac52956a7f68;p=bertos.git diff --git a/bertos/cfg/cfg_i2c.h b/bertos/cfg/cfg_i2c.h index 08f02b5c..376ad5b9 100644 --- a/bertos/cfg/cfg_i2c.h +++ b/bertos/cfg/cfg_i2c.h @@ -50,6 +50,14 @@ */ #define CONFIG_I2C_START_TIMEOUT 100 +/** + * I2C driver can have 2 backends: + * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. + * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. + * \see drv/i2c.h for more information. + */ +#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN + /// Module logging level definition. #define I2C_LOG_LEVEL LOG_LVL_INFO