Searched refs:read8_uart (Results 1 – 1 of 1) sorted by relevance
| /bsp/ultrarisc/drivers/ |
| A D | drv_uart.c | 42 #define read8_uart(base,idx) __raw_readb((void*)((size_t)base + (idx*REG_SHIFT))) macro 48 rt_uint32_t ier = read8_uart(uart->hw_base, UART_IER); in _uart_configure() 75 rt_uint8_t value = read8_uart(uart->hw_base, UART_IER); in _uart_control() 83 rt_uint8_t value = read8_uart(uart->hw_base, UART_IER); in _uart_control() 98 while ((read8_uart(uart->hw_base, UART_LSR) & UART_LSR_TX_IDLE) == 0) in _uart_putc() 112 lsr = read8_uart(uart->hw_base, UART_LSR); in _uart_getc() 116 ch = read8_uart(uart->hw_base, UART_RHR); in _uart_getc() 138 if ((read8_uart(uart->hw_base, UART_LSR) & UART_LSR_RX_READY) != 0) in rt_hw_uart_isr() 172 while ((read8_uart(uart->hw_base, UART_LSR) & UART_LSR_TX_IDLE) == 0) in rt_hw_uart_init() 175 while ((read8_uart(uart->hw_base, UART_LSR) & UART_LSR_RX_READY) != 0) in rt_hw_uart_init() [all …]
|
Completed in 4 milliseconds