03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INTERRUPT CONTROL UNIT<br />

8.4.3.3 ICW2: Base Interrupt Type<br />

ICW2 (Figure 8-13) specifies the five most-significant bits of the interrupt type for the 8259A<br />

module. The lower three bits are automatically set equal to the interrupt request line that is being<br />

acknowledged. For example, if ICW2 is programmed to 20H (for a Type 32 interrupt) and IR4 is<br />

being acknowledged, interrupt type 24H (for a Type 36 interrupt) is driven on the bus during an<br />

interrupt acknowledge cycle.<br />

Register Name: Initialization Command Word 2<br />

Register Mnemonic: ICW2 (accessed through MPICP1 and SPICP1)<br />

Register Function: Sets the base interrupt type for the module.<br />

15 0<br />

T<br />

7<br />

T<br />

6<br />

T<br />

5<br />

T<br />

4<br />

T<br />

3<br />

T<br />

2<br />

T<br />

1<br />

T<br />

0<br />

A1221-0A<br />

Bit<br />

Mnemonic<br />

Bit Name<br />

Reset<br />

State<br />

Function<br />

T7:3 Interrupt<br />

Type<br />

X<br />

Write the five high-order bits of the base<br />

address for the interrupt type (from the Interrupt<br />

Vector Table, Figure 2-25 on page 2-40) to the<br />

T7:3 bits. For example, write 20H to these bits<br />

to specify a Type 8 interrupt.<br />

T2:0 IR Line X T2:0 are automatically set equal to the interrupt<br />

request line that is being acknowledged.<br />

NOTE:<br />

Reserved register bits are shown with gray shading. Reserved bits must be written<br />

to a logic zero to ensure compatibility with future Intel products.<br />

Figure 8-13. ICW2 Register<br />

NOTE<br />

Pay strict attention to reserved interrupt types (see Figure 2-25 on page 2-40)<br />

when assigning a base interrupt type to an 8259A module. Use of the reserved<br />

interrupt types could cause incompatibilities with future Intel products.<br />

8-25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!