Go to the documentation of this file.
15 #ifndef _M32R_SIO_REG_H
16 #define _M32R_SIO_REG_H
19 #ifdef CONFIG_SERIAL_M32R_PLDSIO
31 #define UART_RX ((unsigned long) PLD_ESIO0RXB)
33 #define UART_TX ((unsigned long) PLD_ESIO0TXB)
42 #define UART_IER ((unsigned long) PLD_ESIO0INTCR)
54 #define UART_LSR ((unsigned long) PLD_ESIO0STS)
70 #define SIORBAUR 0x018
74 #define UART_RX M32R_SIO0_RXB_PORTL
75 #define UART_TX M32R_SIO0_TXB_PORTL
83 #define UART_IER M32R_SIO0_TRCR_PORTL
94 #define UART_LSR M32R_SIO0_STS_PORTL
103 #define UART_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
111 #define UART_LCR_DLAB 0x80
112 #define UART_LCR_SBC 0x40
113 #define UART_LCR_SPAR 0x20
114 #define UART_LCR_EPAR 0x10
115 #define UART_LCR_PARITY 0x08
116 #define UART_LCR_STOP 0x04
117 #define UART_LCR_WLEN5 0x00
118 #define UART_LCR_WLEN6 0x01
119 #define UART_LCR_WLEN7 0x02
120 #define UART_LCR_WLEN8 0x03
125 #define UART_LSR_TEMT 0x02
126 #define UART_LSR_THRE 0x01
127 #define UART_LSR_BI 0x00
128 #define UART_LSR_FE 0x80
129 #define UART_LSR_PE 0x40
130 #define UART_LSR_OE 0x20
131 #define UART_LSR_DR 0x04
136 #define UART_IIR_NO_INT 0x01
137 #define UART_IIR_ID 0x06
139 #define UART_IIR_MSI 0x00
140 #define UART_IIR_THRI 0x02
141 #define UART_IIR_RDI 0x04
142 #define UART_IIR_RLSI 0x06
147 #define UART_IER_MSI 0x00
148 #define UART_IER_RLSI 0x08
149 #define UART_IER_THRI 0x03
150 #define UART_IER_RDI 0x04