The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: drivers/I2C.h
- Revision:
- 145:64910690c574
- Parent:
- 139:856d2700e60b
- Child:
- 146:22da6e220af6
diff -r 0f02307a0877 -r 64910690c574 drivers/I2C.h --- a/drivers/I2C.h Thu Jun 08 14:53:05 2017 +0100 +++ b/drivers/I2C.h Wed Jun 21 17:31:38 2017 +0100 @@ -18,7 +18,7 @@ #include "platform/platform.h" -#if DEVICE_I2C +#if defined (DEVICE_I2C) || defined(DOXYGEN_ONLY) #include "hal/i2c_api.h" #include "platform/SingletonPtr.h" @@ -32,11 +32,10 @@ namespace mbed { /** \addtogroup drivers */ -/** @{*/ /** An I2C Master, used for communicating with I2C slave devices * - * @Note Synchronization level: Thread safe + * @note Synchronization level: Thread safe * * Example: * @code @@ -52,6 +51,7 @@ * i2c.read(address, data, 2); * } * @endcode + * @ingroup drivers */ class I2C { @@ -194,5 +194,3 @@ #endif #endif - -/** @}*/