8255A18255A·5
MODE 0 Port Definition
A
B
GROUPA
GROUPB
04
03
0,
DO
PORTA
PORTC
PORTC
(UPPERI
#
PORTB
(LOWERI
0 0 0 0
OUTPUT OUTPUT
0
OUTPUT OUTPUT
0
0
0
1 OUTPUT OUTPUT
1
OUTPUT INPUT
0 0 1 0 OUTPUT OUTPUT
2
INPUT OUTPUT
0 0 1 1 OUTPUT OUTPUT
3
INPUT INPUT
0 1
0 0
OUTPUT INPUT
4
OUTPUT OUTPUT
0 1 0 1 OUTPUT INPUT
5
OUTPUT
INPUT
0 1 1
0
OUTPUT INPUT
6
INPUT OUTPUT
0 1 1 1 OUTPUT INPUT 7
INPUT INPUT
1
0 0 0
INPUT
OUTPUT 8
OUTPUT OUTPUT
1 0 0 1
INPUT
OUTPUT
9
OUTPUT
INPUT
1
0
1
0
INPUT OUTPUT
10
INPUT OUTPUT
1
0
1 1 INPUT OUTPUT
11
INPUT
INPUT
1 1
0
0
INPUT
INPUT
12 OUTPUT
OUTPUT
--
I 1 0 1
INPUT
INPUT
13 OUTPUT
INPUT
1 1 1
0
INPUT INPUT
14
INPUT OUTPUT
1 1 1 1 INPUT INPUT
15
INPUT INPUT
MODE 0 Configurations
CONTROL WORD
#0
CONTROL
WORD
#2
0,
D.
D,
D,
D,
D,
D,
D.
0,
D. D.
D, D, D,
D,
Do
I,!o!o!o!o!o!
o 1 0 I
I
,
1
0
1
0
1
0
1
0
1
0
1
,
1
0
I
A
•
PA,-PAc
A
•
PA,.PA
o
8255A
8255A
4
Pe,·pee
4
pc,.pee
c{
c{
°7'°0
.
°,,°
0
4
•
pc
3
,pe
O
Pe
3
·pe
O
B
B
PII,-P8
0
8
8
PII,-P8
o
CONTROL
WORD
#1
CONTROL WORD
#3
0,
o.
0,
o.
0,
0,
0,
Do
0,
0, 0,
D.
0,
0,
0,
Do
I ' 1 0 1
o 1 0 1 0 1 0 1
o 1 ' I
1,10101010101,
I,
I
A
8
PA,-PAc
A
8
PA,-PAc
8255A
8255A
4
PC
7
-PC
4
•
Pe"pee
c{
c{
0,.0
0
°7'°0
I
.
.
/.
PC
3
,PC
O
•
Pc.-pco
I
8
•
PII,.P8
0
8~-PII,.P8o
9-22
AFN-Q07.4A-06