0
9.6kviews
Explain input output control word format of 8255. Write control word of 8255 to initialize Port A as input port, Port B and C as output port, Group A and B in Mode 0.
1 Answer
0
807views

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:

enter image description here

Calculation of CWR to initialize Port A as input port, Port B and C as output port, Group A and B in Mode 0.

enter image description here CWR = (90H)

Please log in to add an answer.