Datasheet

Appendix C I/O Port Block Diagrams
Rev.6.00 Sep. 27, 2007 Page 1225 of 1268
REJ09B0220-0600
R
P2nDDR
C
QD
Reset
WDDR2
Reset
WDR2
R
P2nDR
C
QD
P2
n
RDR2
RPOR2
PPG module
8-bit timer module
TPU module
Pulse output enable
Compare match output
enable
Pulse output
Compare match output
Output compare output
/
PWM output enable
Output compare output
/
PWM output
Input capture input
Legend:
WDDR2: Write to P2DDR
WDR2: Write to P2DR
RDR2: Read P2DR
RPOR2: Read port 2
Note: n = 6 or 7
Internal data bus
Figure C.2 (d) Port 2 Block Diagram (Pins P2
6
and P2
7
)