projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
cfg
/
cfg_i2c.h
diff --git
a/bertos/cfg/cfg_i2c.h
b/bertos/cfg/cfg_i2c.h
index fffe23d5eb79651894738173ab8f3d0559e4d409..ea599a810bd57531f4cdec79fbd7282d79b99b56 100644
(file)
--- a/
bertos/cfg/cfg_i2c.h
+++ b/
bertos/cfg/cfg_i2c.h
@@
-32,8
+32,6
@@
*
* \brief Configuration file for I2C module.
*
*
* \brief Configuration file for I2C module.
*
- * \version $Id$
- *
* \author Daniele Basile <asterix@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
*/
@@
-48,8
+46,9
@@
#define CONFIG_I2C_FREQ 100000UL
/**
#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"
* returning error.
*
* $WIZ$ type = "int"
@@
-57,15
+56,11
@@
#define CONFIG_I2C_START_TIMEOUT 100
/**
#define CONFIG_I2C_START_TIMEOUT 100
/**
- * I2C driver can have 2 backends:
- * 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.
+ * Check this to disable I2c deprecated API support.
*
*
- * $WIZ$ type = "enum",
- * $WIZ$ value_list = "i2c_backend"
+ * $WIZ$ type = "boolean"
*/
*/
-#define CONFIG_I2C_
BACKEND I2C_BACKEND_BUILTIN
+#define CONFIG_I2C_
DISABLE_OLD_API 0
/**
* Module logging level.
/**
* Module logging level.