diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-12-26 14:25:34 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-12-26 14:25:34 +0000 |
| commit | beda2c5f54a97c4e76c648120d2212705189a906 (patch) | |
| tree | 680767a0fba855e26799e392a59d4b0b6d8be4df /LUFA/Drivers/Misc | |
| parent | 0a7816059e8606337381c8d9c70f3f0bb68da52e (diff) | |
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1615 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Misc')
| -rw-r--r-- | LUFA/Drivers/Misc/RingBuffer.h | 4 | ||||
| -rw-r--r-- | LUFA/Drivers/Misc/TerminalCodes.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h index 30493e33..af6a69f8 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 f6673bc8..e1cba167 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 |
