projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 pmc: add functions to handle peripheral clock enable/disable;
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index 7f7e454547618c71492a55796b10b340c51d1d66..2c40efde75ea0906798bb572259b83ebcb069d70 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-30,7
+30,9
@@
*
* -->
*
*
* -->
*
- * \addtogroup i2c_api
+ * \defgroup i2c_driver I2C driver
+ * \ingroup drivers
+ * \{
* \brief I2C generic driver functions.
*
* Some hardware requires you to declare the number of transferred
* \brief I2C generic driver functions.
*
* Some hardware requires you to declare the number of transferred
@@
-103,8
+105,6
@@
#define I2C_READBIT BV(0)
#define I2C_READBIT BV(0)
-/** \defgroup i2c_driver I2C driver
- */
/*
* The following macros are needed to maintain compatibility with older i2c API.
/*
* The following macros are needed to maintain compatibility with older i2c API.
@@
-539,6
+539,6
@@
INLINE void i2c_init_0(void)
}
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
}
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
-
+/** \} */ //defgroup i2c_driver
#endif
#endif