Data Structures | |
struct | _TERMDCB |
Terminal device control block structure. More... | |
struct | _TERMDCB |
Terminal device control block structure. More... | |
Defines | |
#define | LCD_SETCOOKEDMODE |
Set raw mode. | |
#define | LCD_GETCOOKEDMODE |
Query raw mode. | |
#define | LCD_MF_CURSORON |
Cursor on flag. | |
#define | LCD_MF_COOKEDMODE |
Control character interpretation on flag. | |
Typedefs | |
typedef _TERMDCB | TERMDCB |
Functions | |
int | TermIOCtl (NUTDEVICE *dev, int req, void *conf) |
Perform special LCD control functions. | |
int | TermInit (NUTDEVICE *dev) |
Initialize the terminal device. | |
int | TermWrite (NUTFILE *fp, CONST void *buffer, int len) |
Write data to a terminal device. | |
int | TermWrite_P (NUTFILE *fp, PGM_P buffer, int len) |
Write data from program space to a terminal device. | |
NUTFILE * | TermOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
Open a terminal device. | |
int | TermClose (NUTFILE *fp) |
Close a device or file. |
The virtual terminal driver allows to use a LC or VF display for standard I/O. It supports VT52 control codes.
|
Terminal device control block type. |
|
Close a device or file. Application should not call this function directly, but use the stdio interface.
|
|
Initialize the terminal device. Prepares the device for subsequent writing. Application should not call this function directly, but use the stdio interface.
|
|
Perform special LCD control functions.
|
|
Open a terminal device. Application should not call this function directly, but use the stdio interface.
|
|
Write data to a terminal device. Application should not call this function directly, but use the stdio interface. The data may contain special character sequences, which are interpreted by the terminal device to control specific display functions:
In addition a superset of VT52 control sequences are interpreted. Each sequence starts with an ESC character (ASCII 27):
(*) Not a VT52 command.
|
|
Write data from program space to a terminal device. Similar to TermWrite() except that the data is located in program memory. Application should not call this function directly, but use the stdio interface.
|