Home
last modified time | relevance | path

Searched refs:uart (Results 1 – 2 of 2) sorted by relevance

/picolibc-latest/semihost/machine/sparc/
Dsparc_iob.c55 #define uart (*((struct apbuart *) 0x80000100)) macro
90 uart.control |= UART_TRANSMIT_ENABLE; in sparc_putc()
91 while ((uart.status & UART_TRANSMIT_FIFO_FULL) != 0) in sparc_putc()
93 uart.data = (uint8_t) c; in sparc_putc()
103 uart.control |= UART_RECEIVE_ENABLE; in sparc_getc()
104 while ((uart.status & UART_DATA_READY) == 0) in sparc_getc()
106 return (unsigned char) uart.data; in sparc_getc()
/picolibc-latest/semihost/machine/mips/
Dmips_iob.c80 #define uart (*((struct uart_8250 *) 0xbf000900)) macro
95 while ((uart.lsr & (UART_LSR_TEMT|UART_LSR_THRE)) != (UART_LSR_TEMT|UART_LSR_THRE)) in mips_putc()
97 uart.data = (uint8_t) c; in mips_putc()