Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/drivers/tty/ttyio.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Compounds

struct  TTY_tty_dev

Defines

#define TTY_HS_NONE   0
#define TTY_HS_XONXOFF   1
#define TTY_HS_RTSCTS   2
#define TTY_HS_RTSCTSHW   3
#define TTY_MODE_RXBLOCKING   1
#define TTY_MODE_TXBLOCKING   2
#define TTY_MODE_TXUNBUF   4
#define TTY_MODE_RSM   8
#define TTY_STATE_RXEMPTY   1
#define TTY_STATE_TXFULL   2
#define TTY_RTS_TRESHOLD   8

Functions

void TTY_conecho_on ()
 enables echo of input characters on the console tty. More...

void TTY_conecho_off ()
 disables echo of input characters on the console tty. More...

char TTY_inchar (void)
void TTY_outchar (char byte)
void TTY_init (void)
 initializes all TTYs in the system. This function is normally called from the crt0.s startup file. More...

void TTY_setcontty (int contty)
 selects the console TTY TTY =0 is the SCI interface TTY =1 is the DUART channel A TTY =1 is the DUART channel B. More...


Variables

char _TTY_console_echo
 internal console echo state. More...

TTY_tty_dev TTY_tty [3]
int _TTY_contty
 internal console tty pointer. More...


Define Documentation

#define TTY_HS_NONE   0
 

Definition at line 19 of file ttyio.h.

Referenced by _QSM_sci_sethandshake, DUART_duart, QSM_sciinit, and TTY_init.

#define TTY_HS_RTSCTS   2
 

Definition at line 21 of file ttyio.h.

Referenced by _QSM_sci_sethandshake, and TTY_readchar.

#define TTY_HS_RTSCTSHW   3
 

Definition at line 22 of file ttyio.h.

#define TTY_HS_XONXOFF   1
 

Definition at line 20 of file ttyio.h.

Referenced by _QSM_sci_sethandshake.

#define TTY_MODE_RSM   8
 

Definition at line 27 of file ttyio.h.

#define TTY_MODE_RXBLOCKING   1
 

Definition at line 24 of file ttyio.h.

Referenced by KERN_exphandler, and TTY_readchar.

#define TTY_MODE_TXBLOCKING   2
 

Definition at line 25 of file ttyio.h.

Referenced by KERN_exphandler, and TTY_writechar.

#define TTY_MODE_TXUNBUF   4
 

Definition at line 26 of file ttyio.h.

Referenced by KERN_exphandler, and TTY_writechar.

#define TTY_RTS_TRESHOLD   8
 

Definition at line 33 of file ttyio.h.

Referenced by TTY_readchar.

#define TTY_STATE_RXEMPTY   1
 

Definition at line 30 of file ttyio.h.

Referenced by TTY_readchar.

#define TTY_STATE_TXFULL   2
 

Definition at line 31 of file ttyio.h.

Referenced by TTY_writechar.


Variable Documentation

struct TTY_tty_dev TTY_tty[3]
 

Definition at line 63 of file ttyio.h.


Generated on Thu Feb 20 15:38:51 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002