ReactOS 0.4.15-dev-7953-g1f49173
serial.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SER1_IO_i_DATA   0x030
 
#define SER1_IO_i_STATUS   0x032
 
#define SER1_STATUS_TxRDY   0x01 /* Transmitter ready */
 
#define SER1_STATUS_RxRDY   0x02 /* Receiver ready */
 
#define SER1_STATUS_TxEMPTY   0x04 /* Transmitter empty */
 
#define SER1_STATUS_PE   0x08 /* Parity error */
 
#define SER1_STATUS_OE   0x10 /* Overrun error */
 
#define SER1_STATUS_FE   0x20 /* Framing error */
 
#define SER1_STATUS_SYNDET   0x40 /* Sync detect / Break detect */
 
#define SER1_STATUS_DSR   0x80 /* Data set ready */
 
#define SER1_IO_i_RECEIVER_BUFFER   0x130
 
#define SER1_IO_i_LINE_STATUS   0x132
 
#define SER1_LSR_TxEMPTY   0x01 /* Transmitter empty */
 
#define SER1_LSR_TxRDY   0x02 /* Transmitter ready */
 
#define SER1_LSR_RxRDY   0x04 /* Receiver ready */
 
#define SER1_LSR_OE   0x10 /* Overrun error */
 
#define SER1_LSR_PE   0x20 /* Parity error */
 
#define SER1_LSR_BI   0x80 /* Break detect */
 
#define SER1_IO_i_MODEM_STATUS   0x134
 
#define SER_MSR_CTS_CHANGED   0x01 /* Change in clear to send */
 
#define SER_MSR_DSR_CHANGED   0x02 /* Change in data set ready */
 
#define SER_MSR_RI_CHANGED   0x04 /* Trailing edge ring indicator */
 
#define SER_MSR_DCD_CHANGED   0x08 /* Change in carrier detect */
 
#define SER_MSR_CTS   0x10 /* Clear to send */
 
#define SER_MSR_DSR   0x20 /* Data set ready */
 
#define SER_MSR_RI   0x40 /* Ring indicator */
 
#define SER_MSR_DCD   0x80 /* Data carrier detect */
 
#define SER1_IO_i_INTERRUPT_ID   0x136
 
#define SER_IIR_MS   0x00 /* Modem status change */
 
#define SER_IIR_THR   0x02 /* Transmitter holding register empty */
 
#define SER_IIR_RDA   0x04 /* Received data acailable */
 
#define SER_IIR_RLS   0x06 /* Receiver line status change */
 
#define SER_IIR_CTI   0x0C /* Character timeout */
 
#define SER_IIR_ID_MASK   0x0F
 
#define SER_IIR_SELF   0x01 /* No interrupt pending */
 
#define SER1_IIR_MUST_BE_ZERO   0x20
 
#define SER1_IIR_FIFOS_ENABLED   0x40 /* Toggles for each read */
 
#define SER1_IO_i_FIFO_CONTROL   0x138
 
#define SER1_IO_i_DIVISOR_LATCH   0x13A
 
#define SER1_IO_o_DATA   0x030
 
#define SER1_IO_o_MODE_COMMAND   0x032
 
#define SER1_MODE_PEN   0x10 /* Parity enable */
 
#define SER1_MODE_EP   0x20 /* Even parity generation/check */
 
#define SER1_MODE_ESD   0x40 /* External sync detect */
 
#define SER1_MODE_SCS   0x80 /* Single character sync */
 
#define SER1_MODE_LENGTH_5   0x00
 
#define SER1_MODE_LENGTH_6   0x04
 
#define SER1_MODE_LENGTH_7   0x08
 
#define SER1_MODE_LENGTH_8   0x0C
 
#define SER1_MODE_SYNC   0x00
 
#define SER1_MODE_CLOCKx1   0x01
 
#define SER1_MODE_CLOCKx16   0x02
 
#define SER1_MODE_CLOCKx64   0x03
 
#define SER1_MODE_1_STOP   0x40
 
#define SER1_MODE_1_5_STOP   0x80
 
#define SER1_MODE_2_STOP   0xC0
 
#define SER1_COMMMAND_TxEN   0x01 /* Transmit enable */
 
#define SER1_COMMMAND_DTR   0x02 /* Data terminal ready */
 
#define SER1_COMMMAND_RxEN   0x04 /* Receive enable */
 
#define SER1_COMMMAND_SBRK   0x08 /* Send break character */
 
#define SER1_COMMMAND_ER   0x10 /* Error reset */
 
#define SER1_COMMMAND_RTS   0x20 /* Request to send */
 
#define SER1_COMMMAND_IR   0x40 /* Internal reset */
 
#define SER1_COMMMAND_EH   0x80 /* Enter hunt mode */
 
#define SER1_IO_o_TRANSMITTER_BUFFER   0x130
 
#define SER1_IO_o_FIFO_CONTROL   0x138
 
#define SER_FCR_DISABLE   0x00 /* Disable FIFO */
 
#define SER_FCR_ENABLE   0x01 /* Enable FIFO */
 
#define SER_FCR_RCVR_RESET   0x02 /* Clear receive FIFO */
 
#define SER_FCR_TXMT_RESET   0x04 /* Clear transmit FIFO */
 
#define SER_FCR_1_BYTE_HIGH_WATER   0x00
 
#define SER_FCR_4_BYTE_HIGH_WATER   0x40
 
#define SER_FCR_8_BYTE_HIGH_WATER   0x80
 
#define SER_FCR_14_BYTE_HIGH_WATER   0xC0
 
#define SER1_IO_o_DIVISOR_LATCH   0x13A
 
#define SER1_DLR_BAUD_115200   0x01
 
#define SER1_DLR_BAUD_57600   0x02
 
#define SER1_DLR_BAUD_38400   0x03
 
#define SER1_DLR_BAUD_28800   0x04
 
#define SER1_DLR_BAUD_19200   0x06
 
#define SER1_DLR_BAUD_14400   0x08
 
#define SER1_DLR_BAUD_9600   0x0C
 
#define SER1_DLR_MODE_VFAST   0x80
 
#define SER1_DLR_MODE_LEGACY   0x00
 
#define SER2_IO_i_RECEIVER_BUFFER   0x238 /* If DLAB = 0 */
 
#define SER2_IO_i_DIVISOR_LATCH_LSB   0x238 /* If DLAB = 1 */
 
#define SER2_IO_i_INTERRUPT_EN   0x239 /* If DLAB = 0 */
 
#define SER2_IO_i_DIVISOR_LATCH_MSB   0x239 /* If DLAB = 1 */
 
#define SER2_IO_i_INTERRUPT_ID   0x23A
 
#define SER2_IIR_MUST_BE_ZERO   0x30
 
#define SER2_IIR_NO_FIFO   0x00
 
#define SER2_IIR_HAS_FIFO   0x40
 
#define SER2_IIR_FIFOS_ENABLED   0xC0
 
#define SER2_IO_i_LINE_CONTROL   0x23B
 
#define SER2_IO_i_MODEM_CONTROL   0x23C
 
#define SER2_IO_i_LINE_STATUS   0x23D
 
#define SER2_LSR_DR   0x01 /* Data ready */
 
#define SER2_LSR_OE   0x02 /* Overrun error */
 
#define SER2_LSR_PE   0x04 /* Parity error */
 
#define SER2_LSR_FE   0x80 /* Framing error */
 
#define SER2_LSR_BI   0x80 /* Break interrupt */
 
#define SER2_LSR_THR_EMPTY   0x20 /* Transmit holding register empty */
 
#define SER2_LSR_TSR_EMPTY   0x40 /* Transmitter FIFO empty */
 
#define SER2_LSR_ERROR_IN_FIFO   0x80 /* FIFO error */
 
#define SER2_IO_i_MODEM_STATUS   0x23E
 
#define SER2_IO_i_SCRATCH   0x23F
 
#define SER2_IO_o_TRANSMITTER_BUFFER   0x238 /* If DLAB = 0 */
 
#define SER2_IO_o_DIVISOR_LATCH_LSB   0x238 /* If DLAB = 1 */
 
#define SER2_DLR_BAUD_115200   0x0001
 
#define SER2_DLR_BAUD_57600   0x0002
 
#define SER2_DLR_BAUD_38400   0x0003
 
#define SER2_DLR_BAUD_19200   0x0006
 
#define SER2_DLR_BAUD_9600   0x000C
 
#define SER2_DLR_BAUD_4800   0x0018
 
#define SER2_DLR_BAUD_2400   0x0030
 
#define SER2_DLR_BAUD_1200   0x0060
 
#define SER2_DLR_BAUD_600   0x00C0
 
#define SER2_DLR_BAUD_300   0x0180
 
#define SER2_IO_o_DIVISOR_LATCH_MSB   0x239 /* If DLAB = 1 */
 
#define SER2_IO_o_INTERRUPT_EN   0x239 /* If DLAB = 0 */
 
#define SER2_IER_DATA_RECEIVED   0x01 /* Received data available */
 
#define SER2_IER_THR_EMPTY   0x02 /* Transmitter holding register empty */
 
#define SER2_IER_LSR_CHANGE   0x04 /* Receiver line register status change */
 
#define SER2_IER_MSR_CHANGE   0x08 /* Modem status register change */
 
#define SER2_IO_o_FIFO_CONTROL   0x23A
 
#define SER2_FCR_DMA_SELECT   0x04
 
#define SER2_IO_o_LINE_CONTROL   0x23B
 
#define SER2_LCR_LENGTH_5   0x00
 
#define SER2_LCR_LENGTH_6   0x01
 
#define SER2_LCR_LENGTH_7   0x02
 
#define SER2_LCR_LENGTH_8   0x03
 
#define SER2_LCR_ST1   0x00 /* 1 */
 
#define SER2_LCR_ST2   0x04 /* 1.5 - 2 */
 
#define SER2_LCR_NO_PARITY   0x00
 
#define SER2_LCR_ODD_PARITY   0x08
 
#define SER2_LCR_EVEN_PARITY   0x18
 
#define SER2_LCR_MARK_PARITY   0x28
 
#define SER2_LCR_SPACE_PARITY   0x38
 
#define SER2_LCR_BREAK   0x40
 
#define SER2_LCR_DLAB   0x80 /* Divisor latch access bit */
 
#define SER2_IO_o_MODEM_CONTROL   0x23C
 
#define SER2_MCR_DTR_STATE   0x01 /* Data terminal ready */
 
#define SER2_MCR_RTS_STATE   0x02 /* Request to send */
 
#define SER2_MCR_OUT_1   0x04
 
#define SER2_MCR_OUT_2   0x08
 
#define SER2_MCR_LOOPBACK   0x10
 
#define SER2_IO_o_LINE_STATUS   0x23D
 
#define SER2_IO_o_SCRATCH   0x23F
 
#define SER2_CLOCK_RATE   115200
 

Macro Definition Documentation

◆ SER1_COMMMAND_DTR

#define SER1_COMMMAND_DTR   0x02 /* Data terminal ready */

Definition at line 78 of file serial.h.

◆ SER1_COMMMAND_EH

#define SER1_COMMMAND_EH   0x80 /* Enter hunt mode */

Definition at line 84 of file serial.h.

◆ SER1_COMMMAND_ER

#define SER1_COMMMAND_ER   0x10 /* Error reset */

Definition at line 81 of file serial.h.

◆ SER1_COMMMAND_IR

#define SER1_COMMMAND_IR   0x40 /* Internal reset */

Definition at line 83 of file serial.h.

◆ SER1_COMMMAND_RTS

#define SER1_COMMMAND_RTS   0x20 /* Request to send */

Definition at line 82 of file serial.h.

◆ SER1_COMMMAND_RxEN

#define SER1_COMMMAND_RxEN   0x04 /* Receive enable */

Definition at line 79 of file serial.h.

◆ SER1_COMMMAND_SBRK

#define SER1_COMMMAND_SBRK   0x08 /* Send break character */

Definition at line 80 of file serial.h.

◆ SER1_COMMMAND_TxEN

#define SER1_COMMMAND_TxEN   0x01 /* Transmit enable */

Definition at line 77 of file serial.h.

◆ SER1_DLR_BAUD_115200

#define SER1_DLR_BAUD_115200   0x01

Definition at line 97 of file serial.h.

◆ SER1_DLR_BAUD_14400

#define SER1_DLR_BAUD_14400   0x08

Definition at line 102 of file serial.h.

◆ SER1_DLR_BAUD_19200

#define SER1_DLR_BAUD_19200   0x06

Definition at line 101 of file serial.h.

◆ SER1_DLR_BAUD_28800

#define SER1_DLR_BAUD_28800   0x04

Definition at line 100 of file serial.h.

◆ SER1_DLR_BAUD_38400

#define SER1_DLR_BAUD_38400   0x03

Definition at line 99 of file serial.h.

◆ SER1_DLR_BAUD_57600

#define SER1_DLR_BAUD_57600   0x02

Definition at line 98 of file serial.h.

◆ SER1_DLR_BAUD_9600

#define SER1_DLR_BAUD_9600   0x0C

Definition at line 103 of file serial.h.

◆ SER1_DLR_MODE_LEGACY

#define SER1_DLR_MODE_LEGACY   0x00

Definition at line 105 of file serial.h.

◆ SER1_DLR_MODE_VFAST

#define SER1_DLR_MODE_VFAST   0x80

Definition at line 104 of file serial.h.

◆ SER1_IIR_FIFOS_ENABLED

#define SER1_IIR_FIFOS_ENABLED   0x40 /* Toggles for each read */

Definition at line 51 of file serial.h.

◆ SER1_IIR_MUST_BE_ZERO

#define SER1_IIR_MUST_BE_ZERO   0x20

Definition at line 50 of file serial.h.

◆ SER1_IO_i_DATA

#define SER1_IO_i_DATA   0x030

Definition at line 15 of file serial.h.

◆ SER1_IO_i_DIVISOR_LATCH

#define SER1_IO_i_DIVISOR_LATCH   0x13A

Definition at line 53 of file serial.h.

◆ SER1_IO_i_FIFO_CONTROL

#define SER1_IO_i_FIFO_CONTROL   0x138

Definition at line 52 of file serial.h.

◆ SER1_IO_i_INTERRUPT_ID

#define SER1_IO_i_INTERRUPT_ID   0x136

Definition at line 42 of file serial.h.

◆ SER1_IO_i_LINE_STATUS

#define SER1_IO_i_LINE_STATUS   0x132

Definition at line 26 of file serial.h.

◆ SER1_IO_i_MODEM_STATUS

#define SER1_IO_i_MODEM_STATUS   0x134

Definition at line 33 of file serial.h.

◆ SER1_IO_i_RECEIVER_BUFFER

#define SER1_IO_i_RECEIVER_BUFFER   0x130

Definition at line 25 of file serial.h.

◆ SER1_IO_i_STATUS

#define SER1_IO_i_STATUS   0x032

Definition at line 16 of file serial.h.

◆ SER1_IO_o_DATA

#define SER1_IO_o_DATA   0x030

Definition at line 55 of file serial.h.

◆ SER1_IO_o_DIVISOR_LATCH

#define SER1_IO_o_DIVISOR_LATCH   0x13A

Definition at line 96 of file serial.h.

◆ SER1_IO_o_FIFO_CONTROL

#define SER1_IO_o_FIFO_CONTROL   0x138

Definition at line 86 of file serial.h.

◆ SER1_IO_o_MODE_COMMAND

#define SER1_IO_o_MODE_COMMAND   0x032

Definition at line 56 of file serial.h.

◆ SER1_IO_o_TRANSMITTER_BUFFER

#define SER1_IO_o_TRANSMITTER_BUFFER   0x130

Definition at line 85 of file serial.h.

◆ SER1_LSR_BI

#define SER1_LSR_BI   0x80 /* Break detect */

Definition at line 32 of file serial.h.

◆ SER1_LSR_OE

#define SER1_LSR_OE   0x10 /* Overrun error */

Definition at line 30 of file serial.h.

◆ SER1_LSR_PE

#define SER1_LSR_PE   0x20 /* Parity error */

Definition at line 31 of file serial.h.

◆ SER1_LSR_RxRDY

#define SER1_LSR_RxRDY   0x04 /* Receiver ready */

Definition at line 29 of file serial.h.

◆ SER1_LSR_TxEMPTY

#define SER1_LSR_TxEMPTY   0x01 /* Transmitter empty */

Definition at line 27 of file serial.h.

◆ SER1_LSR_TxRDY

#define SER1_LSR_TxRDY   0x02 /* Transmitter ready */

Definition at line 28 of file serial.h.

◆ SER1_MODE_1_5_STOP

#define SER1_MODE_1_5_STOP   0x80

Definition at line 74 of file serial.h.

◆ SER1_MODE_1_STOP

#define SER1_MODE_1_STOP   0x40

Definition at line 73 of file serial.h.

◆ SER1_MODE_2_STOP

#define SER1_MODE_2_STOP   0xC0

Definition at line 75 of file serial.h.

◆ SER1_MODE_CLOCKx1

#define SER1_MODE_CLOCKx1   0x01

Definition at line 69 of file serial.h.

◆ SER1_MODE_CLOCKx16

#define SER1_MODE_CLOCKx16   0x02

Definition at line 70 of file serial.h.

◆ SER1_MODE_CLOCKx64

#define SER1_MODE_CLOCKx64   0x03

Definition at line 71 of file serial.h.

◆ SER1_MODE_EP

#define SER1_MODE_EP   0x20 /* Even parity generation/check */

Definition at line 59 of file serial.h.

◆ SER1_MODE_ESD

#define SER1_MODE_ESD   0x40 /* External sync detect */

Definition at line 60 of file serial.h.

◆ SER1_MODE_LENGTH_5

#define SER1_MODE_LENGTH_5   0x00

Definition at line 63 of file serial.h.

◆ SER1_MODE_LENGTH_6

#define SER1_MODE_LENGTH_6   0x04

Definition at line 64 of file serial.h.

◆ SER1_MODE_LENGTH_7

#define SER1_MODE_LENGTH_7   0x08

Definition at line 65 of file serial.h.

◆ SER1_MODE_LENGTH_8

#define SER1_MODE_LENGTH_8   0x0C

Definition at line 66 of file serial.h.

◆ SER1_MODE_PEN

#define SER1_MODE_PEN   0x10 /* Parity enable */

Definition at line 58 of file serial.h.

◆ SER1_MODE_SCS

#define SER1_MODE_SCS   0x80 /* Single character sync */

Definition at line 61 of file serial.h.

◆ SER1_MODE_SYNC

#define SER1_MODE_SYNC   0x00

Definition at line 68 of file serial.h.

◆ SER1_STATUS_DSR

#define SER1_STATUS_DSR   0x80 /* Data set ready */

Definition at line 24 of file serial.h.

◆ SER1_STATUS_FE

#define SER1_STATUS_FE   0x20 /* Framing error */

Definition at line 22 of file serial.h.

◆ SER1_STATUS_OE

#define SER1_STATUS_OE   0x10 /* Overrun error */

Definition at line 21 of file serial.h.

◆ SER1_STATUS_PE

#define SER1_STATUS_PE   0x08 /* Parity error */

Definition at line 20 of file serial.h.

◆ SER1_STATUS_RxRDY

#define SER1_STATUS_RxRDY   0x02 /* Receiver ready */

Definition at line 18 of file serial.h.

◆ SER1_STATUS_SYNDET

#define SER1_STATUS_SYNDET   0x40 /* Sync detect / Break detect */

Definition at line 23 of file serial.h.

◆ SER1_STATUS_TxEMPTY

#define SER1_STATUS_TxEMPTY   0x04 /* Transmitter empty */

Definition at line 19 of file serial.h.

◆ SER1_STATUS_TxRDY

#define SER1_STATUS_TxRDY   0x01 /* Transmitter ready */

Definition at line 17 of file serial.h.

◆ SER2_CLOCK_RATE

#define SER2_CLOCK_RATE   115200

Definition at line 184 of file serial.h.

◆ SER2_DLR_BAUD_115200

#define SER2_DLR_BAUD_115200   0x0001

Definition at line 139 of file serial.h.

◆ SER2_DLR_BAUD_1200

#define SER2_DLR_BAUD_1200   0x0060

Definition at line 146 of file serial.h.

◆ SER2_DLR_BAUD_19200

#define SER2_DLR_BAUD_19200   0x0006

Definition at line 142 of file serial.h.

◆ SER2_DLR_BAUD_2400

#define SER2_DLR_BAUD_2400   0x0030

Definition at line 145 of file serial.h.

◆ SER2_DLR_BAUD_300

#define SER2_DLR_BAUD_300   0x0180

Definition at line 148 of file serial.h.

◆ SER2_DLR_BAUD_38400

#define SER2_DLR_BAUD_38400   0x0003

Definition at line 141 of file serial.h.

◆ SER2_DLR_BAUD_4800

#define SER2_DLR_BAUD_4800   0x0018

Definition at line 144 of file serial.h.

◆ SER2_DLR_BAUD_57600

#define SER2_DLR_BAUD_57600   0x0002

Definition at line 140 of file serial.h.

◆ SER2_DLR_BAUD_600

#define SER2_DLR_BAUD_600   0x00C0

Definition at line 147 of file serial.h.

◆ SER2_DLR_BAUD_9600

#define SER2_DLR_BAUD_9600   0x000C

Definition at line 143 of file serial.h.

◆ SER2_FCR_DMA_SELECT

#define SER2_FCR_DMA_SELECT   0x04

Definition at line 157 of file serial.h.

◆ SER2_IER_DATA_RECEIVED

#define SER2_IER_DATA_RECEIVED   0x01 /* Received data available */

Definition at line 151 of file serial.h.

◆ SER2_IER_LSR_CHANGE

#define SER2_IER_LSR_CHANGE   0x04 /* Receiver line register status change */

Definition at line 153 of file serial.h.

◆ SER2_IER_MSR_CHANGE

#define SER2_IER_MSR_CHANGE   0x08 /* Modem status register change */

Definition at line 154 of file serial.h.

◆ SER2_IER_THR_EMPTY

#define SER2_IER_THR_EMPTY   0x02 /* Transmitter holding register empty */

Definition at line 152 of file serial.h.

◆ SER2_IIR_FIFOS_ENABLED

#define SER2_IIR_FIFOS_ENABLED   0xC0

Definition at line 121 of file serial.h.

◆ SER2_IIR_HAS_FIFO

#define SER2_IIR_HAS_FIFO   0x40

Definition at line 120 of file serial.h.

◆ SER2_IIR_MUST_BE_ZERO

#define SER2_IIR_MUST_BE_ZERO   0x30

Definition at line 118 of file serial.h.

◆ SER2_IIR_NO_FIFO

#define SER2_IIR_NO_FIFO   0x00

Definition at line 119 of file serial.h.

◆ SER2_IO_i_DIVISOR_LATCH_LSB

#define SER2_IO_i_DIVISOR_LATCH_LSB   0x238 /* If DLAB = 1 */

Definition at line 113 of file serial.h.

◆ SER2_IO_i_DIVISOR_LATCH_MSB

#define SER2_IO_i_DIVISOR_LATCH_MSB   0x239 /* If DLAB = 1 */

Definition at line 115 of file serial.h.

◆ SER2_IO_i_INTERRUPT_EN

#define SER2_IO_i_INTERRUPT_EN   0x239 /* If DLAB = 0 */

Definition at line 114 of file serial.h.

◆ SER2_IO_i_INTERRUPT_ID

#define SER2_IO_i_INTERRUPT_ID   0x23A

Definition at line 116 of file serial.h.

◆ SER2_IO_i_LINE_CONTROL

#define SER2_IO_i_LINE_CONTROL   0x23B

Definition at line 122 of file serial.h.

◆ SER2_IO_i_LINE_STATUS

#define SER2_IO_i_LINE_STATUS   0x23D

Definition at line 124 of file serial.h.

◆ SER2_IO_i_MODEM_CONTROL

#define SER2_IO_i_MODEM_CONTROL   0x23C

Definition at line 123 of file serial.h.

◆ SER2_IO_i_MODEM_STATUS

#define SER2_IO_i_MODEM_STATUS   0x23E

Definition at line 133 of file serial.h.

◆ SER2_IO_i_RECEIVER_BUFFER

#define SER2_IO_i_RECEIVER_BUFFER   0x238 /* If DLAB = 0 */

Definition at line 112 of file serial.h.

◆ SER2_IO_i_SCRATCH

#define SER2_IO_i_SCRATCH   0x23F

Definition at line 135 of file serial.h.

◆ SER2_IO_o_DIVISOR_LATCH_LSB

#define SER2_IO_o_DIVISOR_LATCH_LSB   0x238 /* If DLAB = 1 */

Definition at line 138 of file serial.h.

◆ SER2_IO_o_DIVISOR_LATCH_MSB

#define SER2_IO_o_DIVISOR_LATCH_MSB   0x239 /* If DLAB = 1 */

Definition at line 149 of file serial.h.

◆ SER2_IO_o_FIFO_CONTROL

#define SER2_IO_o_FIFO_CONTROL   0x23A

Definition at line 155 of file serial.h.

◆ SER2_IO_o_INTERRUPT_EN

#define SER2_IO_o_INTERRUPT_EN   0x239 /* If DLAB = 0 */

Definition at line 150 of file serial.h.

◆ SER2_IO_o_LINE_CONTROL

#define SER2_IO_o_LINE_CONTROL   0x23B

Definition at line 158 of file serial.h.

◆ SER2_IO_o_LINE_STATUS

#define SER2_IO_o_LINE_STATUS   0x23D

Definition at line 181 of file serial.h.

◆ SER2_IO_o_MODEM_CONTROL

#define SER2_IO_o_MODEM_CONTROL   0x23C

Definition at line 175 of file serial.h.

◆ SER2_IO_o_SCRATCH

#define SER2_IO_o_SCRATCH   0x23F

Definition at line 182 of file serial.h.

◆ SER2_IO_o_TRANSMITTER_BUFFER

#define SER2_IO_o_TRANSMITTER_BUFFER   0x238 /* If DLAB = 0 */

Definition at line 137 of file serial.h.

◆ SER2_LCR_BREAK

#define SER2_LCR_BREAK   0x40

Definition at line 173 of file serial.h.

◆ SER2_LCR_DLAB

#define SER2_LCR_DLAB   0x80 /* Divisor latch access bit */

Definition at line 174 of file serial.h.

◆ SER2_LCR_EVEN_PARITY

#define SER2_LCR_EVEN_PARITY   0x18

Definition at line 170 of file serial.h.

◆ SER2_LCR_LENGTH_5

#define SER2_LCR_LENGTH_5   0x00

Definition at line 160 of file serial.h.

◆ SER2_LCR_LENGTH_6

#define SER2_LCR_LENGTH_6   0x01

Definition at line 161 of file serial.h.

◆ SER2_LCR_LENGTH_7

#define SER2_LCR_LENGTH_7   0x02

Definition at line 162 of file serial.h.

◆ SER2_LCR_LENGTH_8

#define SER2_LCR_LENGTH_8   0x03

Definition at line 163 of file serial.h.

◆ SER2_LCR_MARK_PARITY

#define SER2_LCR_MARK_PARITY   0x28

Definition at line 171 of file serial.h.

◆ SER2_LCR_NO_PARITY

#define SER2_LCR_NO_PARITY   0x00

Definition at line 168 of file serial.h.

◆ SER2_LCR_ODD_PARITY

#define SER2_LCR_ODD_PARITY   0x08

Definition at line 169 of file serial.h.

◆ SER2_LCR_SPACE_PARITY

#define SER2_LCR_SPACE_PARITY   0x38

Definition at line 172 of file serial.h.

◆ SER2_LCR_ST1

#define SER2_LCR_ST1   0x00 /* 1 */

Definition at line 165 of file serial.h.

◆ SER2_LCR_ST2

#define SER2_LCR_ST2   0x04 /* 1.5 - 2 */

Definition at line 166 of file serial.h.

◆ SER2_LSR_BI

#define SER2_LSR_BI   0x80 /* Break interrupt */

Definition at line 129 of file serial.h.

◆ SER2_LSR_DR

#define SER2_LSR_DR   0x01 /* Data ready */

Definition at line 125 of file serial.h.

◆ SER2_LSR_ERROR_IN_FIFO

#define SER2_LSR_ERROR_IN_FIFO   0x80 /* FIFO error */

Definition at line 132 of file serial.h.

◆ SER2_LSR_FE

#define SER2_LSR_FE   0x80 /* Framing error */

Definition at line 128 of file serial.h.

◆ SER2_LSR_OE

#define SER2_LSR_OE   0x02 /* Overrun error */

Definition at line 126 of file serial.h.

◆ SER2_LSR_PE

#define SER2_LSR_PE   0x04 /* Parity error */

Definition at line 127 of file serial.h.

◆ SER2_LSR_THR_EMPTY

#define SER2_LSR_THR_EMPTY   0x20 /* Transmit holding register empty */

Definition at line 130 of file serial.h.

◆ SER2_LSR_TSR_EMPTY

#define SER2_LSR_TSR_EMPTY   0x40 /* Transmitter FIFO empty */

Definition at line 131 of file serial.h.

◆ SER2_MCR_DTR_STATE

#define SER2_MCR_DTR_STATE   0x01 /* Data terminal ready */

Definition at line 176 of file serial.h.

◆ SER2_MCR_LOOPBACK

#define SER2_MCR_LOOPBACK   0x10

Definition at line 180 of file serial.h.

◆ SER2_MCR_OUT_1

#define SER2_MCR_OUT_1   0x04

Definition at line 178 of file serial.h.

◆ SER2_MCR_OUT_2

#define SER2_MCR_OUT_2   0x08

Definition at line 179 of file serial.h.

◆ SER2_MCR_RTS_STATE

#define SER2_MCR_RTS_STATE   0x02 /* Request to send */

Definition at line 177 of file serial.h.

◆ SER_FCR_14_BYTE_HIGH_WATER

#define SER_FCR_14_BYTE_HIGH_WATER   0xC0

Definition at line 95 of file serial.h.

◆ SER_FCR_1_BYTE_HIGH_WATER

#define SER_FCR_1_BYTE_HIGH_WATER   0x00

Definition at line 92 of file serial.h.

◆ SER_FCR_4_BYTE_HIGH_WATER

#define SER_FCR_4_BYTE_HIGH_WATER   0x40

Definition at line 93 of file serial.h.

◆ SER_FCR_8_BYTE_HIGH_WATER

#define SER_FCR_8_BYTE_HIGH_WATER   0x80

Definition at line 94 of file serial.h.

◆ SER_FCR_DISABLE

#define SER_FCR_DISABLE   0x00 /* Disable FIFO */

Definition at line 87 of file serial.h.

◆ SER_FCR_ENABLE

#define SER_FCR_ENABLE   0x01 /* Enable FIFO */

Definition at line 88 of file serial.h.

◆ SER_FCR_RCVR_RESET

#define SER_FCR_RCVR_RESET   0x02 /* Clear receive FIFO */

Definition at line 89 of file serial.h.

◆ SER_FCR_TXMT_RESET

#define SER_FCR_TXMT_RESET   0x04 /* Clear transmit FIFO */

Definition at line 90 of file serial.h.

◆ SER_IIR_CTI

#define SER_IIR_CTI   0x0C /* Character timeout */

Definition at line 47 of file serial.h.

◆ SER_IIR_ID_MASK

#define SER_IIR_ID_MASK   0x0F

Definition at line 48 of file serial.h.

◆ SER_IIR_MS

#define SER_IIR_MS   0x00 /* Modem status change */

Definition at line 43 of file serial.h.

◆ SER_IIR_RDA

#define SER_IIR_RDA   0x04 /* Received data acailable */

Definition at line 45 of file serial.h.

◆ SER_IIR_RLS

#define SER_IIR_RLS   0x06 /* Receiver line status change */

Definition at line 46 of file serial.h.

◆ SER_IIR_SELF

#define SER_IIR_SELF   0x01 /* No interrupt pending */

Definition at line 49 of file serial.h.

◆ SER_IIR_THR

#define SER_IIR_THR   0x02 /* Transmitter holding register empty */

Definition at line 44 of file serial.h.

◆ SER_MSR_CTS

#define SER_MSR_CTS   0x10 /* Clear to send */

Definition at line 38 of file serial.h.

◆ SER_MSR_CTS_CHANGED

#define SER_MSR_CTS_CHANGED   0x01 /* Change in clear to send */

Definition at line 34 of file serial.h.

◆ SER_MSR_DCD

#define SER_MSR_DCD   0x80 /* Data carrier detect */

Definition at line 41 of file serial.h.

◆ SER_MSR_DCD_CHANGED

#define SER_MSR_DCD_CHANGED   0x08 /* Change in carrier detect */

Definition at line 37 of file serial.h.

◆ SER_MSR_DSR

#define SER_MSR_DSR   0x20 /* Data set ready */

Definition at line 39 of file serial.h.

◆ SER_MSR_DSR_CHANGED

#define SER_MSR_DSR_CHANGED   0x02 /* Change in data set ready */

Definition at line 35 of file serial.h.

◆ SER_MSR_RI

#define SER_MSR_RI   0x40 /* Ring indicator */

Definition at line 40 of file serial.h.

◆ SER_MSR_RI_CHANGED

#define SER_MSR_RI_CHANGED   0x04 /* Trailing edge ring indicator */

Definition at line 36 of file serial.h.