*
* -->
*
- * \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
#define I2C_READBIT BV(0)
-/** \defgroup i2c_driver I2C driver
- */
/*
* The following macros are needed to maintain compatibility with older i2c API.
/**
* \ingroup old_i2c_api
- * I2C Backends.
+ * \name I2C Backends.
* Sometimes your cpu does not have a builtin
* 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.
+ * Set the CONFIG_I2C_BACKEND configuration variable in cfg_i2c.h
* @{
*/
#define I2C_BACKEND_BUILTIN 0 ///< Uses cpu builtin i2c driver
}
#endif /* !CONFIG_I2C_DISABLE_OLD_API */
-
+/** \} */ //defgroup i2c_driver
#endif