Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: drivers/AnalogIn.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
--- a/drivers/AnalogIn.h Thu Jun 08 15:02:37 2017 +0100
+++ b/drivers/AnalogIn.h Wed Jun 21 17:46:44 2017 +0100
@@ -18,7 +18,7 @@
#include "platform/platform.h"
-#if DEVICE_ANALOGIN
+#if defined (DEVICE_ANALOGIN) || defined(DOXYGEN_ONLY)
#include "hal/analogin_api.h"
#include "platform/SingletonPtr.h"
@@ -26,11 +26,10 @@
namespace mbed {
/** \addtogroup drivers */
-/** @{*/
/** An analog input, used for reading the voltage on a pin
*
- * @Note Synchronization level: Thread safe
+ * @note Synchronization level: Thread safe
*
* Example:
* @code
@@ -48,6 +47,7 @@
* }
* }
* @endcode
+ * @ingroup drivers
*/
class AnalogIn {
@@ -56,7 +56,6 @@
/** Create an AnalogIn, connected to the specified pin
*
* @param pin AnalogIn pin to connect to
- * @param name (optional) A string to identify the object
*/
AnalogIn(PinName pin) {
lock();
@@ -129,4 +128,3 @@
#endif
-/** @}*/
