Quatech ES-100 user manual Line Status Register bit definitions

Page 24

LINE STATUS REGISTER

This register is located at I/O address [base+5]. It is used to provide various types of status information concerning the data transfer. As Figure 20 shows, the Line Status Register indicates several types of errors, an empty transmit buffer, a ready receive buffer, or a break on the receive line.

BIT

DESCRIPTION

 

 

7

FFRX --- Error in RCVR FIFO (16550 FIFO mode only):

 

Always logic 0 in 16450 or 16550 non-FIFO mode.

 

Indicates one or more parity errors, framing errors, or break indications in the receiver FIFO.

 

FFRX is reset by reading the line status register.

6

TEMT --- Transmitter empty:

 

Indicates the transmitter holding register or FIFO (16550) AND the transmitter shift register are

 

empty and are ready to receive new data. TEMT is reset by writing a character to the transmitter

 

holding register.

5

THRE --- Transmitter holding register empty:

 

Indicates the transmitter holding register or FIFO (16550) is empty and it is ready to accept new

 

data. THRE is reset by writing data to the transmitter holding register.

4

BI --- Break interrupt:

 

Indicates the receive data input has been in the spacing state (logic 0) for longer than one full word

 

transmission time. In 16550 FIFO mode, only one zero character is loaded into the FIFO and

 

transfers are disabled until the serial data input goes to the mark state (logic 1) and a valid start bit

 

is received.

3

FE --- Framing error:

 

Indicates the received character had an invalid stop bit. The stop bit following the last data or

 

parity bit was a 0 bit (spacing level).

2

PE --- Parity error:

 

Indicates that the received data does not have the correct parity.

1

OE --- Overrun error:

 

Indicates the receive buffer was not read before the next character was received and the character

 

is destroyed. In 16550 FIFO mode, indicates the receive FIFO is full and another character has

 

been shifted in. The character in the shift register is destroyed but is not transferred to the FIFO.

0

DR --- Data ready:

 

Indicates data is present in the receive buffer or FIFO (16550). DR is reset by reading the receive

 

buffer register or receiver FIFO.

 

Figure 20 --- Line Status Register bit definitions

Bits BI, FE, PE, and OE are the sources of receiver line status interrupts. The bits are reset by reading the line status register. In 16550 FIFO mode, these bits are associated with a specific character in the FIFO and the exception is revealed only when that character reaches the top of the FIFO.

Quatech ES-100D User's Manual

19

Image 24
Contents ES-100 Page Warranty Information Page EC Council Directive 89/336/EEC FCC Class BGeneral Information Installation Port Address IRQDiagram of ES-100D Setting the address Addressing PortsExamination of a serial port base address Interrupt Level IRQ Interrupt SharingInterrupt Status register Interrupt Status Register contents This page intentionally left blank External Connections Channel Output Configuration ES-100D connector definitionsES-100D output connectors Serial Port Functional Description Accessing the Serial Port registers DlabInterrupt Enable Register Interrupt Identification RegisterInterrupt Identification Register bit definitions Fifo Control Register 16550 only RXT0Line Control Register EPS PEN ParityModem Control Register Modem Control Register bit definitionsLine Status Register Line Status Register bit definitionsModem Status Register Scratchpad RegisterFifo Interrupt Mode Operation 16550 Uart only When the receiver Fifo and receiver interrupts are enabledFifo polled mode operation 16550 Uart only Baud Rate Selection Value Values %Specifications 16450 16550 optionalTroubleshooting Computer will not boot upVersion March Quatech Inc, ES-100 Manual