uart_csreg Struct Reference

#include <uart.h>


Data Fields

volatile uchar buffer
volatile uchar ier
volatile uchar iir
volatile uchar lcr
volatile uchar mcr
volatile uchar lsr
volatile uchar msr
volatile uchar scr


Detailed Description

Control and status registers for the 16550 UART. This structure is mapped directly to the base address for the CSR.

Definition at line 18 of file uart.h.


Field Documentation

receive buffer (read only) OR transmit hold (write only)

Definition at line 20 of file uart.h.

Referenced by uartIntr().

interrupt enable

Definition at line 22 of file uart.h.

Referenced by kputc(), uartInit(), and uartStat().

interrupt ident (read only) OR FIFO control (write only)

Definition at line 23 of file uart.h.

Referenced by uartIntr().

line control

Definition at line 25 of file uart.h.

Referenced by uartInit().

modem control

Definition at line 26 of file uart.h.

Referenced by uartInit().

line status

Definition at line 27 of file uart.h.

Referenced by kputc(), and uartIntr().

modem status

Definition at line 28 of file uart.h.

scratch

Definition at line 29 of file uart.h.


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