aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Misc
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-12-26 14:25:34 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-12-26 14:25:34 +0000
commit2073b96d82433607bd287e3b6529fd0d3cc428cd (patch)
tree680767a0fba855e26799e392a59d4b0b6d8be4df /LUFA/Drivers/Misc
parent39ac72f2d12a9c62b2e876de4eee6c34a864ff74 (diff)
downloadlufa-2073b96d82433607bd287e3b6529fd0d3cc428cd.tar.gz
lufa-2073b96d82433607bd287e3b6529fd0d3cc428cd.tar.bz2
lufa-2073b96d82433607bd287e3b6529fd0d3cc428cd.zip
Added basic driver example use code to the library documentation.
Made the USARTStream global public and documented in the SerialStream module, allowing for the serial USART stream to be accessed via its handle rather than via the implicit stdout and stdin streams.
Diffstat (limited to 'LUFA/Drivers/Misc')
-rw-r--r--LUFA/Drivers/Misc/RingBuffer.h4
-rw-r--r--LUFA/Drivers/Misc/TerminalCodes.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h
index 30493e33a..af6a69f83 100644
--- a/LUFA/Drivers/Misc/RingBuffer.h
+++ b/LUFA/Drivers/Misc/RingBuffer.h
@@ -56,7 +56,7 @@
* or deletions) must not overlap. If there is possibility of two or more of the same kind of
* operating occuring at the same point in time, atomic (mutex) locking should be used.
*
- * Example Usage:
+ * <b>Example Usage:</b>
* \code
* // Create the buffer structure and its underlying storage array
* RingBuff_t Buffer;
@@ -76,7 +76,7 @@
* uint16_t BufferCount = RingBuffer_GetCount(&Buffer);
*
* // Printer stored data length
- * printf("Buffer Length: %d, Buffer Data:\r\n", BufferCount);
+ * printf("Buffer Length: %d, Buffer Data: \r\n", BufferCount);
*
* // Print contents of the buffer one character at a time
* while (BufferCount--)
diff --git a/LUFA/Drivers/Misc/TerminalCodes.h b/LUFA/Drivers/Misc/TerminalCodes.h
index f6673bc81..e1cba1674 100644
--- a/LUFA/Drivers/Misc/TerminalCodes.h
+++ b/LUFA/Drivers/Misc/TerminalCodes.h
@@ -49,7 +49,7 @@
* compiler via the -D switch to disable the terminal codes without modifying the source, for use with non
* compatible terminals (any terminal codes then equate to empty strings).
*
- * Example Usage:
+ * <b>Example Usage:</b>
* \code
* printf("Some String, " ESC_BOLD_ON " Some bold string");
* \endcode