Intel 80C188XL, 80C186XL 8.4.7End-of-InterruptEOI Register, Poll Status Register POLLSTS

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 216
Image 216
Poll Status Register

INTERRUPT CONTROL UNIT

Register Name:

Register Mnemonic:

Register Function:

15

I

R

E

Q

Poll Status Register

POLLSTS

Read to check for pending interrupts when polling

 

 

 

 

 

 

 

 

0

 

 

 

V

 

V

V

V

V

 

 

 

T

 

T

T

T

T

 

 

 

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

A1209-A0

Bit

Bit Name

Reset

Function

Mnemonic

State

 

 

 

 

 

 

IREQ

Interrupt

0

This bit is set to indicate a pending interrupt.

 

Request

 

 

 

 

 

 

VT4:0

Vector Type

0

Contains the interrupt type of the highest

 

 

 

priority pending interrupt.

 

 

 

 

NOTE: Reserved register bits are shown with gray shading. Reserved bits must be written to a logic zero to ensure compatibility with future Intel products.

Figure 8-12. Poll Status Register

8.4.7End-of-Interrupt (EOI) Register

The End-of-Interrupt register (Figure 8-13) issues an End-of-Interrupt (EOI) command to the In- terrupt Control Unit, which clears the In-Service bit for the associated interrupt. An interrupt han- dler typically ends with an EOI command. There are two types of EOI commands: nonspecific and specific. A nonspecific EOI simply clears the In-Service bit of the highest priority interrupt. To issue a nonspecific EOI command, set the NSPEC bit. (Write 8000H to the EOI register.)

A specific EOI clears a particular In-Service bit. To issue a specific EOI command, clear the NSPEC bit and write the VT4:0 bits with the interrupt type of the interrupt whose In-Service bit you wish to clear. For example, to clear the In-Service bit for INT2, write 000EH to the EOI reg- ister. The timer interrupts share an In-Service bit. To clear the In-Service bit for any timer inter- rupt with a specific EOI, write 0008H (interrupt type 8) to the EOI register.

8-21

Page 216
Image 216
Intel 80C188XL, 80C186XL user manual 8.4.7End-of-InterruptEOI Register, Register Name Register Mnemonic Register Function