
RL78/G1P
CHAPTER 9 A/D CONVERTER
R01UH0895EJ0100 Rev.1.00
264
Nov 29, 2019
Figure 9-11. Format of Analog Input Channel Specification Register (ADS) (2/2)
Address: FFF31H After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
ADS
ADISS 0 0 ADS4 0 ADS2
ADS1
ADS0
Scan mode (ADMD = 1)
ADISS
ADS4
ADS2
ADS1
ADS0
Analog input channel
Scan 0
Scan 1
Scan 2
Scan 3
0
0
0
0
0 ANI0 ANI1 ANI2 ANI3
0 0 0 0 1
ANI1
Note
ANI2
Note
ANI3
Note
ANI4
Note
0 0 0 1 0
ANI2
Note
ANI3
Note
ANI4
Note
ANI5
Note
0 0 0 1 1
ANI3
Note
ANI4
Note
ANI5
Note
ANI6
Note
0 0 1 0 0
ANI4
Note
ANI5
Note
ANI6
Note
ANI7
Note
Other than above
Setting prohibited
Note
32-pin products only
Cautions 1. Be sure to clear bits 3, 5, and 6 to “0”.
2 Set a channel to be set the analog input by ADPC and PMC1 registers in the input mode by using
port mode register 1 (PM1).
3. Do not set the pin that is set by the A/D port configuration register (ADPC) as digital I/O by the
ADS register.
4. Rewrite the value of the ADISS bit while conversion is stopped (ADCS = 0, ADCE = 0).
5. If using AV
REFP
as the + side reference voltage of the A/D converter, do not select ANI0 as an A/D
conversion channel.
6. If using AV
REFM
as the
side reference voltage of the A/D converter, do not select ANI1 as an A/D
conversion channel.
7. If ADISS is set to 1, the internal reference voltage (1.45 V) cannot be used for the + side reference
voltage. After the ADISS bit is set to 1, the initial conversion result cannot be used. For the
setting flow, see 9.7.4 Setup when temperature sensor output voltage/internal reference voltage
is selected.
8. Do not set the ADISS bit to 1 when shifting to STOP mode. When the ADISS bit is set to 1, the A/D
converter reference voltage current (I
ADREF
) indicated in 27.3.2 Supply current characteristics will
be added to the current consumption when shifting to HALT mode while the CPU is operating on
the main system clock.
9. Ignore the conversion result if the corresponding ANI pin does not exist in the product used.