CHAPTER 4 PORT FUNCTIONS
User’s Manual U18172EJ2V0UD
53
Figure 4-2. Block Diagram of P20 and P21
P20/ANI0/TI000/TOH1,
P21/ANI1/TI010/TO00/INTP0
RD
WR
PM
PM20, PM21
PM2
WR
PORT
WR
PU
PU20, PU21
V
DD
P-ch
PU2
PMC2
PMC20, PMC21
A/D converter
Alternate
function
Alternate
function
Selector
Output latch
(P20, P21)
Internal bus
P2
WR
PMC
P2:
Port register 2
PU2:
Pull-up resistor option register 2
PM2:
Port mode register 2
PMC2: Port mode control register 2
RD:
Read signal
WR
××
: Write signal