mbed library sources. Supersedes mbed-src.
Dependents: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: drivers/AnalogIn.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
diff -r c97ed07ec1a8 -r e84263d55307 drivers/AnalogIn.h --- 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 -/** @}*/