Microprocessor Class 11
Microprocessor Class 11
PART 11
SIBIN K
● In I/O mode, the 8255 ports work as programmable I/O ports, while In BSR mode only
port C (PC0-PC7) can be used to set or reset its individual port bits.
● Under the IO mode of operation, further there are three modes of operation of 8255, So
as to support different types of applications, viz. mode 0, mode 1 and mode 2.
Mode 0
● Port A, Port B, Port C are used as I/O Ports
● Each port can be programmed as input or output individually
Mode 1
● Handshake signals are exchanged before data transfer.
● Port A and Port B are used as I/O Ports, port C is used for handshaking
Mode 2
● Port A works as I/O port, 5lines are taken from port C for bidirectional handshaking
● Port B works in mode 0 or mode 1