X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_i2c.h;h=fffe23d5eb79651894738173ab8f3d0559e4d409;hb=ba2ba183c492049aface3e3d4e1d5f945b43f3d6;hp=376ad5b95a18d53f404fcc43066de9f69ae6b98f;hpb=9d180dc662d1f010f5d648fc833868e8bf983e37;p=bertos.git diff --git a/bertos/cfg/cfg_i2c.h b/bertos/cfg/cfg_i2c.h index 376ad5b9..fffe23d5 100644 --- a/bertos/cfg/cfg_i2c.h +++ b/bertos/cfg/cfg_i2c.h @@ -40,13 +40,19 @@ #ifndef CFG_I2C_H #define CFG_I2C_H -/// Comunication frequency +/** +*Comunication frequency. +* +* $WIZ$ type = "int" +*/ #define CONFIG_I2C_FREQ 100000UL /** * I2C start timeout: for how many milliseconds * the twi_start should try to get an ACK before * returning error. + * + * $WIZ$ type = "int" */ #define CONFIG_I2C_START_TIMEOUT 100 @@ -55,13 +61,26 @@ * 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$ value_list = "i2c_backend" */ #define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN -/// Module logging level definition. +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ #define I2C_LOG_LEVEL LOG_LVL_INFO -/// Module logging format. +/** + * module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ #define I2C_LOG_FORMAT LOG_FMT_TERSE #endif /* CFG_I2C_H */