projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add configurable options for HD44780 LCD display columns and rows.
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index b5548fc5230a2106c218974841ce8733fc57665a..dff995ccd11ba5ee7bc14f50f23d1e2deee00c48 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-30,11
+30,16
@@
*
* -->
*
*
* -->
*
- * \brief I2C generic driver functions
(interface)
.
+ * \brief I2C generic driver functions.
*
*
- * \version $Id$
* \author Francesco Sacchi <batt@develer.com>
* \author Francesco Sacchi <batt@develer.com>
+ *
+ * $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
#ifndef DRV_I2C_H
#define DRV_I2C_H
@@
-49,11
+54,11
@@
* i2c driver or you don't want, for some reason, to
* use that.
* With this you can choose, at compile time, which backend to use.
* i2c driver or you don't want, for some reason, to
* use that.
* 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
-/*\}*/
/**
/**