Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views1 page

Microprocessors and Microcontrollers 59

Uploaded by

harrymainah9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Microprocessors and Microcontrollers 59

Uploaded by

harrymainah9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor and Microcontroller

Fig. 2.9 8259 Flow chart of command Words

Operation Command Words (OCWs)


After the Initialization Command Words (ICWs) are programmed into the
8259A, the chip is ready to accept interrupt requests at its input lines. However,
during the 8259A operation, a selection of algorithms can command the 8259A
to operate in various modes through the Operation Command Words (OCWs).

OCW 1
OCW1 sets and clears the mask bits in the interrupt Mask Register (IMR).
M7–M0 represent the eight mask bits. M = 1 indicates the channel is masked
(inhibited), M = 0 indicates the channel is enabled.

OCW 2
R, SL, EOI – These three bits control the Rotate and End of Interrupt modes
and combinations of the two. A chart of these combinations can be found on the
Operation Command Word Format.
L2, L1, L0 – These bits determine the interrupt level acted upon when the
SL bit is active.

59

You might also like