uart Struct Reference

#include <uart.h>

Collaboration diagram for uart:

Collaboration graph
[legend]

Data Fields

struct uart_csregcsr
devicedev
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

Detailed Description

Definition at line 84 of file uart.h.


Field Documentation

struct uart_csreg* uart::csr [read]

Control & status registers

Definition at line 87 of file uart.h.

Referenced by kputc(), uartIntr(), uartStat(), and uartWrite().

Dev structure

Definition at line 88 of file uart.h.

Referenced by uartRead().

long uart::cout

Characters output

Definition at line 91 of file uart.h.

Referenced by kputc(), uartIntr(), uartStat(), and uartWrite().

long uart::cin

Characters input

Definition at line 92 of file uart.h.

Referenced by uartIntr(), and uartStat().

Receiver error count

Definition at line 93 of file uart.h.

Referenced by uartIntr(), and uartStat().

Characters overrun

Definition at line 94 of file uart.h.

Referenced by uartIntr(), and uartStat().

long uart::iirq

Input IRQ count

Definition at line 95 of file uart.h.

Referenced by uartIntr(), and uartStat().

long uart::oirq

Output IRQ count

Definition at line 96 of file uart.h.

Referenced by uartIntr(), and uartStat().

Input flags

Definition at line 99 of file uart.h.

Referenced by uartControl(), and uartRead().

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().

Bytes in buffer

Definition at line 102 of file uart.h.

Referenced by uartIntr(), and uartRead().

uchar uart::in[UART_IBLEN]

Input buffer

Definition at line 103 of file uart.h.

Referenced by uartIntr(), and uartRead().

Output flags

Definition at line 106 of file uart.h.

Referenced by uartControl(), and uartWrite().

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().

Bytes in buffer

Definition at line 109 of file uart.h.

Referenced by uartIntr(), and uartWrite().

uchar uart::out[UART_OBLEN]

Output buffer

Definition at line 110 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().


The documentation for this struct was generated from the following file:

Generated on Thu Oct 9 22:35:29 2008 for xinu by  doxygen 1.5.5