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.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: drivers/AnalogOut.h
- Revision:
- 171:3a7713b1edbc
- Parent:
- 170:e95d10626187
- Child:
- 172:65be27845400
diff -r e95d10626187 -r 3a7713b1edbc drivers/AnalogOut.h
--- a/drivers/AnalogOut.h Thu Sep 06 13:39:34 2018 +0100
+++ b/drivers/AnalogOut.h Thu Nov 08 11:45:42 2018 +0000
@@ -79,7 +79,7 @@
/** Set the output voltage, represented as an unsigned short in the range [0x0, 0xFFFF]
*
* @param value 16-bit unsigned short representing the output voltage,
- * normalised to a 16-bit value (0x0000 = 0v, 0xFFFF = 3.3v)
+ * normalized to a 16-bit value (0x0000 = 0v, 0xFFFF = 3.3v)
*/
void write_u16(unsigned short value)
{
@@ -141,7 +141,7 @@
}
protected:
-
+ #if !defined(DOXYGEN_ONLY)
virtual void lock()
{
_mutex.lock();
@@ -154,6 +154,7 @@
dac_t _dac;
PlatformMutex _mutex;
+ #endif //!defined(DOXYGEN_ONLY)
};
} // namespace mbed


