INTEL
8255: (Programmable Peripheral Interface):
The 8255A is a general purpose programmable
I/O device designed for use with Intel microprocessors. It consists of three
8-bit bidirectional I/O ports (24I/O lines) that can be configured to meet
different system I/O needs. The three ports are PORT A, PORT B & PORT C.
Port A contains one 8-bit output latch/buffer and one 8-bit input buffer. Port
B is same as PORT A or PORT B. However, PORT C can be split into two parts PORT
C lower (PC0-PC3) and PORT C upper (PC7-PC4) by the control word. The three ports
are divided in two groups Group A (PORT A and upper PORT C) Group B (PORT B and
lower PORT C). The two groups can be programmed in three different modes. In
the first mode (mode 0), each group may be programmed in either input mode or
output mode (PORT A, PORT B, PORT C lower, PORT C upper). In mode 1, the
second’s mode, each group may be programmed to have 8-lines of input or output
(PORT A or PORT B) of the remaining 4-lines (PORT C lower or PORT C upper)
3-lines are used for hand shaking and interrupt control signals. The third mode
of operation (mode 2) is a bidirectional bus mode which uses 8-line (PORT A
only for a bidirectional bus and five lines (PORT C upper 4 lines and borrowing
one from other group) for handshaking.
Fig: Block diagram of 8255A
INTEL 8259A Programmable Interrupt Controller: The 8259A is a programmable interrupt controller designed to work with Intel microprocessor 8080 A, 8085, 8086, 8088. The 8259 A interrupt controller can
1) Handle eight interrupt inputs. This is equivalent to providing eight interrupt pins on the processor in place of one INTR/INT pin.
2) Vector an interrupt request anywhere in the memory map. However, all the eight interrupt are spaced at the interval of either four or eight location. This eliminates the major drawback, 8085 interrupt, in which all interrupts are vectored to memory location on page 00H.
3) Resolve eight levels of interrupt priorities in a variety of modes.
4) Mask each interrupt request individually.
5) Read the status of pending interrupts, in service interrupts, and masked interrupts.
6) Be set up to accept either the level triggered or edge triggered interrupt request.
7) Mine 8259 as can be cascade in a master slave
configuration to handle 64 interrupt inputs. The 8259 A is contained in a
28-element in line package that requires only a compatible with 8259. The main
difference between the two is that the 8259 A can be used with Intel 8086/8088 processor. It also induces
additional features such as level triggered mode, buffered mode and automatic end of interrupt mode.
0 Comments