Chapter 4 I/O Ports
IV - 16
Port 1
4-3-3 Block Diagram
Figure 4-3-4 Block Diagram (P10, P12, P14)
Figure 4-3-5 Block Diagram (P11, P13)
R
D
CK
Q
Reset
Write
Read
R
D
CK
Q
Reset
Write
Read
D
CK
Q
Write
Read
Read
Pull-up resistor control
I/O direction control
Output mode control
Output control
External interrupt 0
(IRQ0)
Port output data
Timer output
Timer input
Port input data
Data bus
R
D
CK
Q
Reset
Write
Read
R
D
CK
Q
Reset
Write
Read
0
1
2
2
P10, P12, P14
P1PLU0,2,4
P1DIR0,2,4
P1OUT0,2,4
P1OMD0,2,4
P1TCNT0-5
P1IN0,2,4
Edge event
Hold function
M
U
X
M
U
X
M
U
X
R
D
CK
Q
Reset
Write
Read
R
D
CK
Q
Reset
Write
Read
D
CK
Q
Write
Read
Read
Pull-up resistor control
I/O direction control
Output mode control
Port output data
Timer output
Timer input
Port input data
Data bus
R
D
CK
Q
Reset
Write
Read
0
1
P11, P13
P1PLU1,3
P1DIR1,3
P1OUT1,3
P1OMD1,3
P1IN1,3
M
U
X