1 ; tcflag_t c_iflag; /* input mode flags */
2 IGNBRK equ 00000001B ;Ignore BREAK condition on input.
4 IGNPAR equ 00000100B ;Ignore framing errors and parity errors.
5 PARMRK equ 00001000B ;Prefix a character with a parity error or framing error with FFH 00H.
6 INPCK equ 00010000B ;Enable input parity checking.
7 ISTRIP equ 00100000B ;Strip off eighth bit.
8 IXON equ 01000000B ;Enable XON/XOFF flow control on output.
9 IXANY equ 10000000B ;Typing any character will restart stopped output.
10 IXOFF equ 00000000B ;Enable XON/XOFF flow control on input.
12 ; tcflag_t c_cflag; /* control mode flags */
13 CBAUD equ 0x1F ;Baud speed mask
37 CSIZE equ 00000000B ;Character size mask.
40 CSTOPB equ 00000000B ;Set two stop bits, rather than one.
41 CREAD equ 00000000B ;Enable receiver.
42 PARENB equ 00000000B ;Enable parity generation on output and parity checking for input.
43 PARODD equ 00000000B ;If set, then parity for input and output is odd.
44 CLOCAL equ 00000000B ;Ignore modem control lines.
45 CRTS_IFLOW equ 00000000B ;RTS flow control of input.
46 CCTS_OFLOW equ 00000000B ;CTS flow control of output.
48 ; tcflag_t c_lflag; /* local mode flags */
52 ; tcflow() and TCXONC use these */
57 ; tcflush() and TCFLSH use these */
61 ; tcsetattr uses these */