RL78/G1P
Table 4-14. Setting Functions of P22/ANI2/ANO0 and P23/ANI3/ANO1 Pins
ADPC Register
Digital I/O selection
Analog input
selection
The functions of the ANI16/P10 pin of 24-pin product can be selected by using the port mode control register 1
(PMC1), analog input channel specification register (ADS), and port mode register 1 (PM1).
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
PM2 Register
DAM Register
Input mode
Output mode
Input mode
Enables D/A
conversion operation
Stops D/A conversion
operation
Output mode
Enables D/A
conversion operation
Stops D/A conversion
operation
ADS Register
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
CHAPTER 4 PORT FUNCTIONS
P22/ANI2/ANO0,
P23/ANI3/ANO1 Pins
Digital input
Digital output
Setting prohibited
Analog output
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
93