comreg.h Source File
Back to the index.
Go to the documentation of this file.
44 #define COM_FREQ 1843200
45 #define COM_TOLERANCE 30
48 #define IER_ERXRDY 0x1
49 #define IER_ETXRDY 0x2
57 #define IIR_RXTOUT 0xc
62 #define IIR_NOPEND 0x1
63 #define IIR_FIFO_MASK 0xc0
66 #define FIFO_ENABLE 0x01
67 #define FIFO_RCV_RST 0x02
68 #define FIFO_XMT_RST 0x04
69 #define FIFO_DMA_MODE 0x08
70 #define FIFO_TRIGGER_1 0x00
71 #define FIFO_TRIGGER_4 0x40
72 #define FIFO_TRIGGER_8 0x80
73 #define FIFO_TRIGGER_14 0xc0
76 #define EFR_AUTOCTS 0x80
77 #define EFR_AUTORTS 0x40
78 #define EFR_SPECIAL 0x20
80 #define EFR_TXFLOWBOTH 0x0c
81 #define EFR_TXFLOW1 0x08
82 #define EFR_TXFLOW2 0x04
83 #define EFR_TXFLOWNONE 0x00
84 #define EFR_RXFLOWBOTH 0x03
85 #define EFR_RXFLOW1 0x02
86 #define EFR_RXFLOW2 0x01
87 #define EFR_RXFLOWNONE 0x00
92 #define LCR_SBREAK 0x40
93 #define LCR_PZERO 0x38
95 #define LCR_PEVEN 0x18
97 #define LCR_PNONE 0x00
98 #define LCR_PENAB 0x08
99 #define LCR_STOPB 0x04
100 #define LCR_8BITS 0x03
101 #define LCR_7BITS 0x02
102 #define LCR_6BITS 0x01
103 #define LCR_5BITS 0x00
106 #define MCR_LOOPBACK 0x10
107 #define MCR_IENABLE 0x08
113 #define LSR_RCV_FIFO 0x80
114 #define LSR_TSRE 0x40
115 #define LSR_TXRDY 0x20
120 #define LSR_RXRDY 0x01
121 #define LSR_RCV_MASK 0x1f
129 #define MSR_DDCD 0x08
130 #define MSR_TERI 0x04
131 #define MSR_DDSR 0x02
132 #define MSR_DCTS 0x01
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17