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/AnalogIn.h
- Revision:
- 145:64910690c574
- Parent:
- 128:9bcdf88f62b0
--- a/drivers/AnalogIn.h Thu Jun 08 14:53:05 2017 +0100 +++ b/drivers/AnalogIn.h Wed Jun 21 17:31:38 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 -/** @}*/