Data Structures | |
struct | _WINSIZE |
struct | _TERMDCB |
Terminal device control block structure. More... | |
Defines | |
#define | LCD_CMDBYTE |
#define | LCD_CMDWORD16 |
#define | LCD_CMDWORD32 |
#define | LCD_DATABYTE |
#define | LCD_DATAWORD16 |
#define | LCD_DATAWORD32 |
#define | LCD_SETCOOKEDMODE |
Set raw mode. | |
#define | LCD_GETCOOKEDMODE |
Query raw mode. | |
#define | TIOCGWINSZ |
#define | TIOCSWINSZ |
#define | LCD_MF_CURSORON |
Cursor on flag. | |
#define | LCD_MF_COOKEDMODE |
Control character interpretation on flag. | |
#define | ESC_CHAR |
#define | ESC_POS |
#define | ESC_UP |
#define | ESC_DOWN |
#define | ESC_RIGHT |
#define | ESC_LEFT |
#define | ESC_CLRHOME |
#define | ESC_CLR |
#define | ESC_CLREND |
#define | ESC_CLREOL |
#define | ESC_CLRSTART |
#define | ESC_CLRSOL |
#define | ESC_INSCHAR |
#define | ESC_INSLINE |
#define | ESC_DELCHAR |
#define | ESC_DELLINE |
#define | ESC_RLF |
#define | ESC_CURSORON |
#define | ESC_CURSOROFF |
#define | ESC_SPECIALSET |
#define | ESC_DEFAULTSET |
#define | ESC_ACTIVE |
#define | ESC_SLEEP |
Typedefs | |
typedef _WINSIZE | WINSIZE |
typedef _TERMDCB | TERMDCB |
Functions | |
int | TermInit (NUTDEVICE *dev) |
Initialize the terminal device. | |
int | TermIOCtl (NUTDEVICE *dev, int req, void *conf) |
Perform special LCD control functions. | |
int | TermWrite (NUTFILE *fp, CONST void *buffer, int len) |
Write data to a terminal device. | |
NUTFILE * | TermOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
Write data from program space to a terminal device.Open a terminal device. | |
int | TermClose (NUTFILE *fp) |
Close a device or file. |