Lines Matching refs:uart_read
51 static uint8_t uart_read(uint8_t reg) {
72 uint8_t iir = uart_read(2);
82 unsigned char c = uart_read(0);
93 uart_read(5); // read the LSR
105 while (uart_read(5) & (1<<0)) {
106 unsigned char c = uart_read(0);
149 uint8_t fcr = uart_read(2);
307 const uint8_t mcr = uart_read(4);
391 while (!(uart_read(5) & (1<<5))) {
433 if (uart_read(5) & (1<<0)) {
434 *c = uart_read(0);
443 while (!(uart_read(5) & (1<<6))) {