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/PortInOut.h
- Revision:
- 167:e84263d55307
- Parent:
- 160:d5399cc887bb
diff -r c97ed07ec1a8 -r e84263d55307 drivers/PortInOut.h --- a/drivers/PortInOut.h Thu Jun 08 15:02:37 2017 +0100 +++ b/drivers/PortInOut.h Wed Jun 21 17:46:44 2017 +0100 @@ -18,18 +18,18 @@ #include "platform/platform.h" -#if DEVICE_PORTINOUT +#if defined (DEVICE_PORTINOUT) || defined(DOXYGEN_ONLY) #include "hal/port_api.h" #include "platform/mbed_critical.h" namespace mbed { /** \addtogroup drivers */ -/** @{*/ /** A multiple pin digital in/out used to set/read multiple bi-directional pins * - * @Note Synchronization level: Interrupt safe + * @note Synchronization level: Interrupt safe + * @ingroup drivers */ class PortInOut { public: @@ -89,18 +89,23 @@ } /** A shorthand for write() + * \sa PortInOut::write() */ PortInOut& operator= (int value) { write(value); return *this; } + /** A shorthand for write() + * \sa PortInOut::write() + */ PortInOut& operator= (PortInOut& rhs) { write(rhs.read()); return *this; } /** A shorthand for read() + * \sa PortInOut::read() */ operator int() { return read(); @@ -115,5 +120,3 @@ #endif #endif - -/** @}*/