| 82C55A |
|
| tWOB |
|
WR |
|
|
| tAOB |
|
OBF |
|
|
INTR | tWIT |
|
|
| |
ACK |
|
|
| tAK | tAIT |
OUTPUT |
|
|
| tWB |
|
FIGURE 9. MODE 1 (STROBED OUTPUT)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| STBA | |||||||
CONTROL WORD |
|
| RD |
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
|
|
|
|
|
|
|
|
| PC5 |
|
|
|
|
|
| IIBFA | |||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
| |||||||||||||
|
|
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC3 |
|
|
|
|
|
| INTRA | |||
1 | 0 | 1 | 1 | 1/0 | 1 | 0 |
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
| 2 |
| ||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC6, PC7 |
|
|
|
|
|
| I/O | |||
|
|
|
|
|
|
|
| PC6, PC7 |
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
| 1 = INPUT | PB7, PB0 |
|
|
| 8 |
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
| 0 = OUTPUT |
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| OBFB | ||||
|
|
|
|
|
|
|
| WR |
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC2 |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ACKB | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC0 |
|
|
|
|
| INTRB | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
| PORT A - (STROBED INPUT) | ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
| PORT B - (STROBED OUTPUT) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC7 |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| OBFA | |||||||
CONTROL WORD |
|
| WR |
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
D2 | D1 | D0 | PC6 |
|
|
|
|
|
| ACKA | ||||||||||||||||
D7 | D6 | D5 | D4 | D3 |
|
|
|
| ||||||||||||||||||
|
|
|
|
|
| |||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC3 |
|
|
|
|
|
| INTRA | ||||
1 | 0 | 1 | 0 | 1/0 | 1 | 1 |
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
| 2 |
| ||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC4, PC5 |
|
|
|
|
|
| I/O | ||||
|
|
|
|
|
|
|
| PC4, PC5 |
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
| 1 = INPUT | PB7, PB0 |
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
| 0 = OUTPUT |
| 8 |
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC2 |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| STBB | |||||||
|
|
|
|
|
|
|
| RD |
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC1 |
|
|
|
| IBFB | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC0 |
|
|
|
| INTRB | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
| 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)
The functional configuration provides a means for communi- cating with a peripheral device or structure on a single
Mode 2 Basic Functional Definitions:
•Used in Group A only
•One
•Both inputs and outputs are latched
•The
Bi-Directional Bus I/O Control Signal Definition
(Figures 11, 12, 13, 14)
INTR - (Interrupt Request). A high on this output can be used to interrupt the CPU for both input or output operations.
Output Operations
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
INTE 1 - (The INTE
Input Operations
STB - (Strobe Input). A “low” on this input loads data into the input latch.
IBF - (Input Buffer Full F/F). A “high” on this output indicates that data has been loaded into the input latch.
INTE 2 - (The INTE
10