
CHAPTER 4 PORT FUNCTIONS
User’s Manual U19780EJ2V0UD
106
P80/ANI8/AMP2
−
to P83/ANI11 pins are as shown below depending on the settings of ADPC, ADS, PM8, and
OAEN2.
Table 4-9. Setting Functions of P80/ANI8/AMP2
−
and P82/ANI10/AMP2+ Pins
ADPC PM8 OAEN2
ADS P80/ANI8/AMP2
−
, P82/ANI10/AMP2+
0
−
Digital input
Input mode
1
−
Setting prohibited
0
−
Digital output
Digital I/O
selection
Output mode
1
−
Setting prohibited
Selects ANI.
Analog input (to be converted)
0
Does not select ANI.
Analog input (not to be converted)
Selects ANI.
Setting prohibited
Input mode
1
Does not select ANI.
Operational amplifier input
Analog input
selection
Output mode
−
−
Setting prohibited
Table 4-10. Setting Functions of P81/ANI9/AMP2OUT Pin
ADPC PM8 OAEN2
ADS
P81/ANI9/AMP2OUT Pin
0
−
Digital input
Input mode
1
−
Setting prohibited
0
−
Digital output
Digital I/O
selection
Output mode
1
−
Setting prohibited
Selects ANI.
Analog input (to be converted)
0
Does not select ANI.
Analog input (not to be converted)
Selects ANI.
Operational amplifier output
(to be converted)
Input mode
1
Does not select ANI.
Operational amplifier output
(not to be converted)
Analog input
selection
Output mode
−
−
Setting prohibited
Table 4-11. Setting Functions of P83/ANI11 Pin
ADPC PM8 ADS
P83/ANI11 Pin
Input mode
−
Digital input
Digital I/O selection
Output mode
−
Digital output
Selects ANI.
Analog input (to be converted)
Input mode
Does not select ANI.
Analog input (not to be converted)
Analog input selection
Output mode
−
Setting prohibited
Caution When using an operational amplifier, the AMPn+, AMPn-, and AMPnOUT pins are used as I/O
pins for the operational amplifier, and therefore cannot be used as analog input pins.
However, the operational amplifier's output signal can be used as an analog input.
Figure 4-18 to 4-21 show block diagrams of port 8.