#include <uart.h>
Data Fields | |
struct uart_csreg * | csr |
device * | dev |
long | cout |
long | cin |
long | lserr |
long | ovrrn |
long | iirq |
long | oirq |
uchar | iflags |
semaphore | isema |
ushort | istart |
ushort | icount |
uchar | in [UART_IBLEN] |
uchar | oflags |
semaphore | osema |
ushort | ostart |
ushort | ocount |
uchar | out [UART_OBLEN] |
bool | oidle |
Definition at line 84 of file uart.h.
struct uart_csreg* uart::csr [read] |
Control & status registers
Definition at line 87 of file uart.h.
Referenced by kputc(), uartIntr(), uartStat(), and uartWrite().
long uart::cout |
Characters output
Definition at line 91 of file uart.h.
Referenced by kputc(), uartIntr(), uartStat(), and uartWrite().
long uart::cin |
long uart::lserr |
Receiver error count
Definition at line 93 of file uart.h.
Referenced by uartIntr(), and uartStat().
long uart::ovrrn |
long uart::iirq |
long uart::oirq |
I/0 semfor uart input
Definition at line 100 of file uart.h.
Referenced by uartIntr(), and uartRead().
Index of first byte
Definition at line 101 of file uart.h.
Referenced by uartIntr(), and uartRead().
I/0 semfor uart output
Definition at line 107 of file uart.h.
Referenced by uartIntr(), and uartWrite().
Index of first byte
Definition at line 108 of file uart.h.
Referenced by uartIntr(), and uartWrite().
UART transmitter idle
Definition at line 111 of file uart.h.
Referenced by uartControl(), uartIntr(), and uartWrite().