Chapter 4 I/O Ports
IV - 10
Port 0
Figure 4-2-6 Block Diagram (P04)
Figure 4-2-7 Block Diagram (P05)
R
D
L
Q
Reset
Write
Read
R
D
L
Q
Reset
Write
Read
D
L
Q
Write
Read
Read
R
Reset
Pull-up resistor control
I/O direction control
Port output data
SC0MD1 register
SC0SBTS flag
Serial interface 0 clock output
Serial interface 0 clock input
Port input data
Data bus
0
1
P05
P0PLU5
P0DIR5
P0OUT5
P0IN5
M
U
X
R
D
L
Q
Reset
Write
Read
SC0ODC1
Nch open-drain control
R
D
L
Q
Reset
Write
Read
R
D
L
Q
Reset
Write
Read
D
L
Q
Write
Read
Read
R
Reset
Pull-up resistor control
I/O direction control
Port output data
Serial interface 0 reception data input
UART reception data input
Port input data
Data bus
M
U
X
0
1
P04
P0PLU4
P0DIR4
P0OUT4
P0IN4