Professional Documents
Culture Documents
Programmable Peripheral Interface - 8255
Programmable Peripheral Interface - 8255
INTERFACE -8255
Features:
• It is a programmable device.
• T T L compatible.
A1 A0 Select
0 0 PA
0 1 PB
1 0 PC
Control
1 1
reg.
• RESET: This is used to reset the device. That means
clear control registers.
• PB0-PB7:Similar to PA
Busy
X X X BIT
SET/RESET
Don’t care 1=SET
0=RESET
Bit select
0 1 2 3 4 5 6 7
0 1B0 0 1 0 1 0 1
0 0 1 1 0 0 1 1
0 0B1 0 0 1 1 1 1
Group A Group B
Port C Upper
1=Input Port C Lower
Mode set
flag=1=Active 0=Output 1=Input
Port B 0=Output
1=Input Port B
0=Output 1=Input
Mode 0=Output
selection Mode selection
00=mode 0 0=mode 0
01=mode 1 1=mode 1
1x=mode 2
• The control word for both mode is same.
• Bit D7 is used for specifying whether word
loaded in to Bit set/reset mode or Mode
definition word.
• D7=1=Mode definition mode.
• D7=0=Bit set/Reset mode.
Thank you
Q&A