Datasheet
78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 143
Sep 27, 2010
Reset signal generation sets port 2 to analog input.
Figures 4-11 to 4-14 show block diagrams of port 2.
Caution Make the AV
REF pin the same potential as the VDD pin when port 2 is used as a digital port.
Figure 4-11. Block Diagram of P20
(1) Products without operational amplifier
Internal bus
P20/ANI0
RD
WR
PORT
WR
PM
Output latch
(P20)
PM20
Selector
PM2
A/D converter
P2
(2) Products with operational amplifier
Internal bus
P20/ANI0/AMP0-
RD
WR
PORT
WRPM
Output latch
(P20)
PM20
Selector
PM2
P2
A/D converter
Operational amplifier (-) input
P2: Port register 2
PM2: Port mode register 2
RD: Read signal
WR××: Write signal