B7
B6
B5
B4
B3
B2
B1
B0
________ ________ ________ ________ ________ ________ ________ ________
RIS
Select between IRR and ISR
RR
Read Register
PM
Polled Mode
1
SI
Select Initialization Mode
SMM
ESMM
Special Mask Mode
Enable Set/Reset
Special Mask Mode
0
bits:
B0
RIS
This bit selects between the IRR and the ISR during status read
operations if RR = 1. IRR is selected if this bit is set to one. ISR is
selected if this bit is set to zero.
When the RR bit is one, reading the status port at address 020H
(0A0H) causes the contents of IRR or ISR (determined by RIS) to be
placed on XD<7:0>. Asserting PM forces RR reset.
Polled Mode is enabled by writing a one to bit 2 of OCW3 causing
the 82C836 to perform the equivalent of an INTA cycle during the
next I/O read operation to the controller. The byte read during this
cycle sets bit 7 if an interrupt is pending. If bit 7 of the byte is set,
the level of the highest pending request is encoded on bit 2-0. The
IRR remains frozen until the read cycle is completed, at which time
the PM bit is reset.
This bit is set to one.
See SI shown in OCW2.
If ESMM and SMM are both written with a one, the Special Mask
Mode is enabled. Writing a one to ESMM and a zero to SMM
disables Special Mask mode. During Special Mask mode, writing a
one to any bit position inhibits interrupts; a zero enables interrupts on
the associated channel by causing the Priority Resolver to ignore the
condition for the ISR.
Writing a one in this bit position enables the Set/Reset Special Mask
Mode function controlled by bit 5 (SMM). ESMM allows the other
functions in OCW3 to be accessed and manipulated without
affecting the Special Mask mode state.
This bit is set to zero.
B1
RR
B2
PM
B3
B4
B5
1
SI
SMM
B6
ESMM
B7
0
Figure 7-14.
OCW3----Address 020H (0A0H) Write Only
I
Programming the Interrupt Controller
Interrupt Controller
7-14
Revision 3.0
P R E L I M I N A R Y
Chips and Technologies, Inc.