Quatech ES-100 user manual Interrupt Status Register contents

Page 12

SW2

ON

1 2 3 4 5 6

Interrupt Status Register

SW2

ON

1 2 3 4 5 6

Scratchpad Register

Slide position 6 of SW2 toward the top of the ES-100D to enable the

interrupt status register, or toward the bottom of the ES-100D to disable it.

Figure 7 --- Enabling the Interrupt Status Register

When a hardware interrupt occurs, reading the interrupt status register will return the interrupt status of the entire ES-100D, as shown in Figure 8. Individual bits are cleared as the interrupting ports are serviced. The interrupt service routine must ensure that the interrupt status register reads zero before exiting, or the ES-100D will be unable to signal subsequent interrupts.

An I/O write to the interrupt status register will cause another hardware interrupt to be generated if the interrupt status register is non-zero. The value written is ignored and has no effect on the contents of the interrupt status register.

BIT

DESCRIPTION

7 (MSB)

1 if interrupt pending on Serial 8

 

 

6

1 if interrupt pending on Serial 7

 

 

5

1 if interrupt pending on Serial 6

 

 

4

1 if interrupt pending on Serial 5

 

 

3

1 if interrupt pending on Serial 4

2

1 if interrupt pending on Serial 3

 

 

1

1 if interrupt pending on Serial 2

 

 

0

1 if interrupt pending on Serial 1

 

 

Figure 8 --- Interrupt Status Register contents

Quatech ES-100D User's Manual

7

Image 12
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