aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Misc/TerminalCodes.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-10-28 07:52:52 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-10-28 07:52:52 +0000
commitb120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8 (patch)
treee226bca6aee1711db57cb08be60a71c656b08193 /LUFA/Drivers/Misc/TerminalCodes.h
parentcb779e3d7d32d7c43e0a45bb526de0a04135b0c7 (diff)
downloadlufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.tar.gz
lufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.tar.bz2
lufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.zip
Move RNDISConstants.h into the RNDIS class driver common definition header.
Add logical grouping of related #define values for better Doxygen documentation.
Diffstat (limited to 'LUFA/Drivers/Misc/TerminalCodes.h')
-rw-r--r--LUFA/Drivers/Misc/TerminalCodes.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/LUFA/Drivers/Misc/TerminalCodes.h b/LUFA/Drivers/Misc/TerminalCodes.h
index 85841c50d..25037cc91 100644
--- a/LUFA/Drivers/Misc/TerminalCodes.h
+++ b/LUFA/Drivers/Misc/TerminalCodes.h
@@ -72,9 +72,8 @@
#define ANSI_ESCAPE_SEQUENCE(c)
#endif
- /** Resets any escape sequence modifiers back to their defaults. */
- #define ESC_RESET ANSI_ESCAPE_SEQUENCE("0m")
-
+ /** \name Text Display Modifier Escape Sequences */
+ //@{
/** Turns on bold so that any following text is printed to the terminal in bold. */
#define ESC_BOLD_ON ANSI_ESCAPE_SEQUENCE("1m")
@@ -108,7 +107,10 @@
* the center.
*/
#define ESC_STRIKETHROUGH_OFF ANSI_ESCAPE_SEQUENCE("29m")
-
+ //@}
+
+ /** \name Text Colour Control Sequences */
+ //@{
/** Sets the foreground (text) colour to black. */
#define ESC_FG_BLACK ANSI_ESCAPE_SEQUENCE("30m")
@@ -162,7 +164,10 @@
/** Sets the text background colour to the terminal's default. */
#define ESC_BG_DEFAULT ANSI_ESCAPE_SEQUENCE("49m")
+ //@}
+ /** \name Cursor Positioning Control Sequences */
+ //@{
/** Sets the cursor position to the given line and column. */
#define ESC_CURSOR_POS(L, C) ANSI_ESCAPE_SEQUENCE(#L ";" #C "H")
@@ -183,12 +188,19 @@
/** Restores the cursor position to the last position saved with \ref ESC_CURSOR_POS_SAVE. */
#define ESC_CURSOR_POS_RESTORE ANSI_ESCAPE_SEQUENCE("u")
+ //@}
+
+ /** \name Miscellaneous Control Sequences */
+ //@{
+ /** Resets any escape sequence modifiers back to their defaults. */
+ #define ESC_RESET ANSI_ESCAPE_SEQUENCE("0m")
/** Erases the entire display, returning the cursor to the top left. */
#define ESC_ERASE_DISPLAY ANSI_ESCAPE_SEQUENCE("2J")
/** Erases the current line, returning the cursor to the far left. */
#define ESC_ERASE_LINE ANSI_ESCAPE_SEQUENCE("K")
+ //@}
#endif