Datasheet
78K0/Ix2 CHAPTER 4 PORT FUNCTIONS
R01UH0010EJ0500 Rev.5.00 110
Feb 28, 2012
Table 4-11. Setting Functions of P27/ANI7 Pin
ADPC0 Register PM2 Register ADS Register P27/ANI7 Pin
Selects ANI7. Setting prohibited Input mode
Does not select ANI7. Digital input
Selects ANI7. Setting prohibited
Digital I/O selection
Output mode
Does not select ANI7. Digital output
Selects ANI7. Analog input (to be converted into digital signal) Input mode
Does not select ANI7. Analog input (not to be converted into digital signal)
Analog input
selection
Output mode
Setting prohibited
Remark ADPC0: A/D port configuration register 0
PM2: Port mode register 2
ADS: Analog input channel specification register
Reset signal generation sets port 2 to analog input.
Figures 4-4 to 4-11 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.