8255 Microprocessor
8255 Microprocessor
8255 Microprocessor
Salient Features
1) It is a programmable general-purpose I/O device.
2) It has 3 8-bit bi-directional I/O ports: Port A, Port B, and Port C.
3) It provides 3 modes of data transfer: Simple I/O, Handshake I/O and Bi-directional
Handshake.
4) Additionally it also provides a Bit Set Reset Modes to alter individual bits of Port C.
ARCHITECTURE OF 8255
3) Group A Control:
This Control block controls Port A and Port CUpper i.e. PC7-PC4. It accepts Control signals
from the Control Word and forwards them to the respective Ports.
4) Group B Control:
This Control block controls Port B and Port CLower i.e. PC3-PC0. It accepts Control signals
from the Control Word and forwards them to the respective Ports.
5) Port A, Port B, Port C:
These are 8-bit Bi-directional Ports. They can be programmed to work in the various modes
as follows:
Control Word of 8255 - I/O Mode (I/O Command)
To do 8-bit data transfer using the Ports A, B or C, 8255 needs to be in the IO mode. The bit
pattern for the control word in the IO mode is as follows: