Quatech DS-102 user manual Interrupt Enable Register, Interrupt Identification Register

Page 22

INTERRUPT ENABLE REGISTER

This register is located at I/O address [base+1]. It enables the five types of UART interrupts. Interrupts can be totally disabled by setting all of the enable bits in this register to a logic 0. Setting any bit to a logic 1 enables that particular interrupt.

BIT

DESCRIPTION

 

 

7

0 --- reserved

 

 

6

0 --- reserved

 

 

5

0 --- reserved

 

 

4

0 --- reserved

 

 

3

EDSSI --- MODEM Status Interrupt:

 

When set (logic 1), enables interrupt on clear to send, data set ready,

 

ring indicator, and data carrier detect.

 

 

2

ELSI --- Receiver Line Status Interrupt:

 

When set (logic 1), enables interrupt on overrun, parity, framing

 

errors, and break indication.

 

 

1

ETBEI --- Transmitter Holding Register Empty Interrupt:

 

When set (logic 1), enables interrupt on transmitter holding register

 

empty.

 

 

0

ETBEI --- Received Data Available Interrupt:

 

When set (logic 1), enables interrupt on received data available. For

 

16550 FIFO mode, interrupts are also enabled for receive FIFO trigger

 

level reached and for receive timeout.

 

 

 

Figure 16 --- Interrupt Enable Register bit definitions

INTERRUPT IDENTIFICATION REGISTER

This read-only register is located at I/O address [base+2]. When this register is read, the UART freezes all interrupts and indicates the highest priority interrupt. During this time, new interrupts are detected by the UART, but are not reported in this register until the access completes.

For the 16550 only, this register can be used to indicate whether the FIFO mode is engaged by examining bits 6 and 7.

16

Quatech DS-102 User's Manual

Image 22
Contents DS-102 Page Table of Contents IV. Setting Interrupt Levels IrqsVII. Specifications VIII. Troubleshooting External Connections VI. Serial Port Functional DescriptionPage Date of Purchase Model Number Page General Information Port Address IRQ Enabled ? Diagram of DS-102 Setting the address Examination of a serial port base addressSerial 1 uses SW1 Serial 2 uses SW2 Enabling or disabling ports Recommended addresses for serial portsThis page intentionally left blank Serial Interrupt Sharing Channel Connection Interrupt OperationExternal Connections J7 -- Serial J8 -- Serial DS-102 connector definitions for RS-232-C This page intentionally left blank VI. 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 Stkp EPS PEN ParityModem Control Register Are being usedLine 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 Factory default Baud Rate Selection026 VII. Specifications 16450 16550 optionalComputer will not boot up