X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_i2c.h;h=af36e6b621627ab0e077be6658503920dcec9e43;hb=e23c0ef94dcdb5392f27d338d4ba20b1227b2c17;hp=fffe23d5eb79651894738173ab8f3d0559e4d409;hpb=4b3ac136e2d0ad9f1d1860b9ca1b355e242f0bb1;p=bertos.git diff --git a/bertos/cfg/cfg_i2c.h b/bertos/cfg/cfg_i2c.h index fffe23d5..af36e6b6 100644 --- a/bertos/cfg/cfg_i2c.h +++ b/bertos/cfg/cfg_i2c.h @@ -48,8 +48,9 @@ #define CONFIG_I2C_FREQ 100000UL /** - * I2C start timeout: for how many milliseconds - * the twi_start should try to get an ACK before + * I2C start timeout. + * For how many milliseconds the i2c_start + * should try to get an ACK before * returning error. * * $WIZ$ type = "int" @@ -57,12 +58,13 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C driver can have 2 backends: + * 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 drv/i2c.h for more information. * - * $WIZ$ type = "enum", + * $WIZ$ type = "enum" * $WIZ$ value_list = "i2c_backend" */ #define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN