X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fi2c.h;h=dff995ccd11ba5ee7bc14f50f23d1e2deee00c48;hb=d4c5a034e315d021d2f85a3d75caafcadd7c3faf;hp=3d72003399c46a3a0bdd273f72ef295e7b685963;hpb=9d180dc662d1f010f5d648fc833868e8bf983e37;p=bertos.git diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 3d720033..dff995cc 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -30,11 +30,16 @@ * * --> * - * \brief I2C generic driver functions (interface). + * \brief I2C generic driver functions. * - * \version $Id$ * \author Francesco Sacchi + * + * $WIZ$ module_name = "i2c" + * $WIZ$ module_configuration = "bertos/cfg/cfg_i2c.h" + * $WIZ$ module_hw = "bertos/hw/hw_i2c_bitbang.h" + * $WIZ$ module_supports = "not atmega103 and not atmega168 and not at91" */ + #ifndef DRV_I2C_H #define DRV_I2C_H @@ -48,12 +53,12 @@ * Sometimes your cpu does not have a builtin * i2c driver or you don't want, for some reason, to * use that. - * You can choose, at compile time, which backend to use. - * \{ + * With this you can choose, at compile time, which backend to use. + * + * $WIZ$ i2c_backend = "I2C_BACKEND_BUILTIN", "I2C_BACKEND_BITBANG" */ #define I2C_BACKEND_BUILTIN 0 ///< Uses cpu builtin i2c driver #define I2C_BACKEND_BITBANG 1 ///< Uses emulated bitbang driver -/*\}*/ /**