Datasheet
Rev.6.00 Oct.28.2004 page 971 of 1016
REJ09B0138-0600H
C.2 Port 2 Block Diagram
R
P2nDDR
C
QD
Reset
WDDR2
Reset
WDR2
R
P2nDR
C
QD
P2
n
RDR2
RPOR2
Internal data bus
PPG module
TPU module
Pulse output enable
Output compare output/
PWM output enable
Output compare output/
PWM output
Pulse output
Input capture input
WDDR2:
WDR2:
RDR2:
RPOR2:
n = 0 or 1
Write to P2DDR
Write to P2DR
Read P2DR
Read port 2
Legend:
Figure C-2 (a) Port 2 Block Diagram (Pins P2
0
and P2
1
)