C.5 Schematic Diagram of Port 5
Figure C-5 gives a schematic view of the port 5 input/output circuits.
Table C-5 Port 5 Port Read
Mode Port Read Data
1,3 DR value
DDR = 0 Pin value
DDR = 1 DR value
WP5D:
WP5:
RP5:
n:
Write to P5DDR
Write to Port 5
Read Port 5
0 to 7
Internal data bus (PDB8 to PDB15)
Mode 1 or 3
Software standby
Bus release
Mode 7
Mode 1, 2, 3, or 4
RP5
P5n
WP5
C
R
QD
P5 DR
n
C
R
QD
P5 DDR
n
Reset
WP5D
Reset
S
Internal address bus (IAB8 to IAB15)
MOS
pull-up
Mode 1, 2, 3, or 4
2,4,7
Figure C-5 Schematic Diagram of Port 5
416
Downloaded from Elcodis.com electronic components distributor