18.1.2
Block Diagrams
Figure 18.1 shows a block diagram of the 16-bit general-purpose I/O port.
Interrupt
controller
PORTEN
0: Port not available
PBnPuP
0: Pull-up
DnDIR
0: Input
PBnIO
0: Input
PTIRENn
0: Interrupt input disabled 1: Interrupt input enabled
Rev. 4.0, 04/00, page 640 of 850
PBnPUP
PORTEN
Internal bus
Dn output data
D Q
C
PDTRW
BCK
0
1
PTIRENn
Dn input data
1: Port available
1: Pull-up off
1: Output
1: Output
Figure 18.1 16-Bit Port
0
1
0
DnDIR
1
PBnIO
Data input strobe
Pull-up resistor
Port 15 (input/
output)/D47
to
Port 0 (input/
output)/D32
C
Q
D
BCK