X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fi2c.h;h=9327ff8d5d75c37fd5ef01e86797a9d9739cb256;hb=b7be39427a8d818c10da11295bd28ba9b00e0628;hp=aa4d2846cd621d093242004b5df0068e6921af28;hpb=51c955015167ce817fa177c80dbc63f764cce44d;p=bertos.git diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index aa4d2846..9327ff8d 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -30,17 +30,15 @@ * * --> * - * \brief I2C generic driver functions (interface). + * \brief I2C generic driver functions. * * \version $Id$ * \author Francesco Sacchi * - * $WIZARD_MODULE = { - * "name" : "i2c", - * "depends" : [], + * $WIZ$ module_name = "i2c" * "configuration" : "bertos/cfg/cfg_i2c.h" - * } */ + #ifndef DRV_I2C_H #define DRV_I2C_H @@ -56,9 +54,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