CHAPTER 4 PORT FUNCTIONS
User’s Manual U18172EJ2V0UD
54
Figure 4-3. Block Diagram of P22
P22/ANI2/X2
WR
PU
WR
PMC
RD
PU22
WR
PM
PM22
V
DD
P-ch
PU2
PM2
WR
PORT
Output latch
(P22)
A/D converter
PMC2
PMC22
Internal bus
Selector
P2
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