 |
RTEMS 6.1-rc7
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
50void BSP_uart_init(
int baud);
54#define LM32_UART_RBR (0x0000)
58#define LM32_UART_IER (0x0004)
59#define LM32_UART_IER_RBRI (0x0001)
60#define LM32_UART_IER_THRI (0x0002)
61#define LM32_UART_IER_RLSI (0x0004)
62#define LM32_UART_IER_MSI (0x0008)
66#define LM32_UART_IIR (0x0008)
67#define LM32_UART_IIR_STAT (0x0001)
68#define LM32_UART_IIR_ID0 (0x0002)
69#define LM32_UART_IIR_ID1 (0x0004)
73#define LM32_UART_LCR (0x000C)
74#define LM32_UART_LCR_WLS0 (0x0001)
75#define LM32_UART_LCR_WLS1 (0x0002)
76#define LM32_UART_LCR_STB (0x0004)
77#define LM32_UART_LCR_PEN (0x0008)
78#define LM32_UART_LCR_EPS (0x0010)
79#define LM32_UART_LCR_SP (0x0020)
80#define LM32_UART_LCR_SB (0x0040)
81#define LM32_UART_LCR_5BIT (0)
82#define LM32_UART_LCR_6BIT (LM32_UART_LCR_WLS0)
83#define LM32_UART_LCR_7BIT (LM32_UART_LCR_WLS1)
84#define LM32_UART_LCR_8BIT (LM32_UART_LCR_WLS1 | LM32_UART_LCR_WLS0)
88#define LM32_UART_MCR (0x0010)
89#define LM32_UART_MCR_DTR (0x0001)
90#define LM32_UART_MCR_RTS (0x0002)
94#define LM32_UART_LSR (0x0014)
95#define LM32_UART_LSR_DR (0x0001)
96#define LM32_UART_LSR_OE (0x0002)
97#define LM32_UART_LSR_PE (0x0004)
98#define LM32_UART_LSR_FE (0x0008)
99#define LM32_UART_LSR_BI (0x0010)
100#define LM32_UART_LSR_THRE (0x0020)
101#define LM32_UART_LSR_TEMT (0x0040)
105#define LM32_UART_MSR (0x0018)
106#define LM32_UART_MSR_DCTS (0x0001)
107#define LM32_UART_MSR_DDSR (0x0002)
108#define LM32_UART_MSR_TERI (0x0004)
109#define LM32_UART_MSR_DDCD (0x0008)
110#define LM32_UART_MSR_CTS (0x0010)
111#define LM32_UART_MSR_DSR (0x0020)
112#define LM32_UART_MSR_RI (0x0040)
113#define LM32_UART_MSR_DCD (0x0000)
117#define LM32_UART_DIV (0x001C)