projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use custom config when needed.
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index 3d72003399c46a3a0bdd273f72ef295e7b685963..9327ff8d5d75c37fd5ef01e86797a9d9739cb256 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-30,11
+30,15
@@
*
* -->
*
*
* -->
*
- * \brief I2C generic driver functions
(interface)
.
+ * \brief I2C generic driver functions.
*
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
+ *
+ * $WIZ$ module_name = "i2c"
+ * "configuration" : "bertos/cfg/cfg_i2c.h"
*/
*/
+
#ifndef DRV_I2C_H
#define DRV_I2C_H
#ifndef DRV_I2C_H
#define DRV_I2C_H
@@
-48,12
+52,12
@@
* Sometimes your cpu does not have a builtin
* i2c driver or you don't want, for some reason, to
* use that.
* 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
*/
#define I2C_BACKEND_BUILTIN 0 ///< Uses cpu builtin i2c driver
#define I2C_BACKEND_BITBANG 1 ///< Uses emulated bitbang driver
-/*\}*/
/**
/**