9 #ifndef _HARDWARE_STRUCTS_UART_H
10 #define _HARDWARE_STRUCTS_UART_H
13 #include "hardware/regs/uart.h"
24 _REG_(UART_UARTDR_OFFSET)
33 _REG_(UART_UARTRSR_OFFSET)
43 _REG_(UART_UARTFR_OFFSET)
58 _REG_(UART_UARTILPR_OFFSET)
63 _REG_(UART_UARTIBRD_OFFSET)
68 _REG_(UART_UARTFBRD_OFFSET)
73 _REG_(UART_UARTLCR_H_OFFSET)
84 _REG_(UART_UARTCR_OFFSET)
100 _REG_(UART_UARTIFLS_OFFSET)
106 _REG_(UART_UARTIMSC_OFFSET)
121 _REG_(UART_UARTRIS_OFFSET)
136 _REG_(UART_UARTMIS_OFFSET)
151 _REG_(UART_UARTICR_OFFSET)
166 _REG_(UART_UARTDMACR_OFFSET)
174 #define uart0_hw ((uart_hw_t *)UART0_BASE)
175 #define uart1_hw ((uart_hw_t *)UART1_BASE)