ReactOS  0.4.14-dev-55-g2da92ac
serial_port.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COM1   1
 
#define COM2   2
 
#define COM1BASE   0x3F8 /* Base port address for COM1 */
 
#define COM2BASE   0x2F8 /* Base port address for COM2 */
 
#define COM3BASE   0x3F8 /* Base port address for COM3 */
 
#define COM4BASE   0x2F8 /* Base port address for COM4 */
 
#define TXR   0 /* Transmit register (WRITE) */
 
#define RXR   0 /* Receive register (READ) */
 
#define IER   1 /* Interrupt Enable */
 
#define IIR   2 /* Interrupt ID */
 
#define FCR   2 /* FIFO control */
 
#define LCR   3 /* Line control */
 
#define MCR   4 /* Modem control */
 
#define LSR   5 /* Line Status */
 
#define MSR   6 /* Modem Status */
 
#define DLL   0 /* Divisor Latch Low */
 
#define DLH   1 /* Divisor latch High */
 
#define NO_PARITY   0x00
 
#define EVEN_PARITY   0x18
 
#define ODD_PARITY   0x08
 
#define RCVRDY   0x01
 
#define OVRERR   0x02
 
#define PRTYERR   0x04
 
#define FRMERR   0x08
 
#define BRKERR   0x10
 
#define XMTRDY   0x20
 
#define XMTRSR   0x40
 
#define TIMEOUT   0x80
 
#define DTR   0x01
 
#define RTS   0x02
 
#define CTS   0x10
 
#define DSR   0x20
 
#define RX_INT   0x01
 
#define RX_ID   0x04
 
#define RX_MASK   0x07
 

Macro Definition Documentation

◆ BRKERR

#define BRKERR   0x10

Definition at line 108 of file serial_port.h.

◆ COM1

#define COM1   1

Definition at line 33 of file serial_port.h.

◆ COM1BASE

#define COM1BASE   0x3F8 /* Base port address for COM1 */

Definition at line 35 of file serial_port.h.

◆ COM2

#define COM2   2

Definition at line 34 of file serial_port.h.

◆ COM2BASE

#define COM2BASE   0x2F8 /* Base port address for COM2 */

Definition at line 36 of file serial_port.h.

◆ COM3BASE

#define COM3BASE   0x3F8 /* Base port address for COM3 */

Definition at line 39 of file serial_port.h.

◆ COM4BASE

#define COM4BASE   0x2F8 /* Base port address for COM4 */

Definition at line 40 of file serial_port.h.

◆ CTS

#define CTS   0x10

Definition at line 143 of file serial_port.h.

◆ DLH

#define DLH   1 /* Divisor latch High */

Definition at line 70 of file serial_port.h.

◆ DLL

#define DLL   0 /* Divisor Latch Low */

Definition at line 69 of file serial_port.h.

◆ DSR

#define DSR   0x20

Definition at line 144 of file serial_port.h.

◆ DTR

#define DTR   0x01

Definition at line 126 of file serial_port.h.

◆ EVEN_PARITY

#define EVEN_PARITY   0x18

Definition at line 86 of file serial_port.h.

◆ FCR

#define FCR   2 /* FIFO control */

Definition at line 64 of file serial_port.h.

◆ FRMERR

#define FRMERR   0x08

Definition at line 107 of file serial_port.h.

◆ IER

#define IER   1 /* Interrupt Enable */

Definition at line 62 of file serial_port.h.

◆ IIR

#define IIR   2 /* Interrupt ID */

Definition at line 63 of file serial_port.h.

◆ LCR

#define LCR   3 /* Line control */

Definition at line 65 of file serial_port.h.

◆ LSR

#define LSR   5 /* Line Status */

Definition at line 67 of file serial_port.h.

◆ MCR

#define MCR   4 /* Modem control */

Definition at line 66 of file serial_port.h.

◆ MSR

#define MSR   6 /* Modem Status */

Definition at line 68 of file serial_port.h.

◆ NO_PARITY

#define NO_PARITY   0x00

Definition at line 85 of file serial_port.h.

◆ ODD_PARITY

#define ODD_PARITY   0x08

Definition at line 87 of file serial_port.h.

◆ OVRERR

#define OVRERR   0x02

Definition at line 105 of file serial_port.h.

◆ PRTYERR

#define PRTYERR   0x04

Definition at line 106 of file serial_port.h.

◆ RCVRDY

#define RCVRDY   0x01

Definition at line 104 of file serial_port.h.

◆ RTS

#define RTS   0x02

Definition at line 127 of file serial_port.h.

◆ RX_ID

#define RX_ID   0x04

Definition at line 172 of file serial_port.h.

◆ RX_INT

#define RX_INT   0x01

Definition at line 157 of file serial_port.h.

◆ RX_MASK

#define RX_MASK   0x07

Definition at line 173 of file serial_port.h.

◆ RXR

#define RXR   0 /* Receive register (READ) */

Definition at line 61 of file serial_port.h.

◆ TIMEOUT

#define TIMEOUT   0x80

Definition at line 111 of file serial_port.h.

◆ TXR

#define TXR   0 /* Transmit register (WRITE) */

Definition at line 60 of file serial_port.h.

◆ XMTRDY

#define XMTRDY   0x20

Definition at line 109 of file serial_port.h.

◆ XMTRSR

#define XMTRSR   0x40

Definition at line 110 of file serial_port.h.