X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fi2c.h;h=dff995ccd11ba5ee7bc14f50f23d1e2deee00c48;hb=46cd7a45ea505ac9bb18d410e349b9553c95457a;hp=70e33fb149107f5127199dcbfbf2b7c85ee757f9;hpb=ac4fe561f625ac538d54e736bdcff53e233e2bb5;p=bertos.git diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 70e33fb1..dff995cc 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -32,15 +32,14 @@ * * \brief I2C generic driver functions. * - * \version $Id$ * \author Francesco Sacchi * - * $WIZARD_MODULE = { - * "name" : "i2c", - * "depends" : [], - * "configuration" : "bertos/cfg/cfg_i2c.h" - * } + * $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 @@ -56,9 +55,7 @@ * use that. * With this you can choose, at compile time, which backend to use. * - * $WIZARD_LIST = { - * "i2c_backend" : ["I2C_BACKEND_BUILTIN", "I2C_BACKEND_BITBANG"] - * } + * $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