82C55A
tWOB
WR
tAOB
OBF
INTR
tWIT
ACK
tAK
tAIT
OUTPUT
tWB
FIGURE 9. MODE 1 (STROBED OUTPUT)
8
8
PA7-PA0
PC4
PA7-PA0
PC7
STBA
IIBFA
INTRA
I/O
OBFA
ACKA
INTRA
I/O
RD
WR
CONTROL WORD
CONTROL WORD
D7 D6 D5 D4 D3 D2 D1 D0
PC5
PC3
PC6
PC3
D7 D6 D5 D4 D3 D2 D1 D0
1
0
1
1
1/0
1
0
1
0
1
0
1/0
1
1
2
2
PC6, PC7
PC4, PC5
PC6, PC7
PC4, PC5
1 = INPUT
0 = OUTPUT
1 = INPUT
0 = OUTPUT
8
PB7, PB0
PB7, PB0
8
PC1
PC2
PC0
PC2
PC1
PC0
OBFB
ACKB
INTRB
STBB
IBFB
WR
RD
INTRB
PORT A - (STROBED INPUT)
PORT B - (STROBED OUTPUT)
PORT A - (STROBED OUTPUT)
PORT B - (STROBED INPUT)
Combinations of Mode 1: Port A and Port B can be individually defined as input or output in Mode 1 to support a wide variety of strobed I/O
applications.
FIGURE 10. COMBINATIONS OF MODE 1
Operating Modes
Mode 2 (Strobed Bi-Directional Bus I/O)
Output Operations
The functional configuration provides a means for communi-
cating with a peripheral device or structure on a single 8-bit
bus for both transmitting and receiving data (bi-directional
bus I/O). “Hand shaking” signals are provided to maintain
proper bus flow discipline similar to Mode 1. Interrupt gener-
ation and enable/disable functions are also available.
OBF - (Output Buffer Full). The OBF output will go “low” to
indicate that the CPU has written data out to port A.
ACK - (Acknowledge). A “low” on this input enables the
three-state output buffer of port A to send out the data. Oth-
erwise, the output buffer will be in the high impedance state.
INTE 1 - (The INTE flip-flop associated with OBF). Con-
trolled by bit set/reset of PC4.
Mode 2 Basic Functional Definitions:
• Used in Group A only
• One 8-bit, bi-directional bus Port (Port A) and a 5-bit
control Port (Port C)
Input Operations
STB - (Strobe Input). A “low” on this input loads data into the
input latch.
• Both inputs and outputs are latched
• The 5-bit control port (Port C) is used for control and
status for the 8-bit, bi-directional bus port (Port A)
IBF - (Input Buffer Full F/F). A “high” on this output indicates
that data has been loaded into the input latch.
Bi-Directional Bus I/O Control Signal Definition
INTE 2 - (The INTE flip-flop associated with IBF). Controlled
(Figures 11, 12, 13, 14)
by bit set/reset of PC4.
INTR - (Interrupt Request). A high on this output can be
used to interrupt the CPU for both input or output operations.
10