RL78/G1H CHAPTER 24 SAFETY FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 793 of 920
Dec 22, 2016
24.3.8.1 A/D test register (ADTES)
This register is used to select the A/D converter positive reference voltage, negative reference voltage, analog
input channel (ANIxx) as the target of A/D conversion.
When using the A/D test function, specify the following settings:
• Select the negative reference voltage as the target of A/D conversion when measuring the zero-scale.
• Select the positive reference voltage as the target of A/D conversion when measuring the full-scale.
The ADTES register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 24 - 16 Format of A/D test register (ADTES)
Address: F0013H After reset: 00H R/W
Symbol76543210
ADTES000000ADTES1ADTES0
ADTES1 ADTES0 A/D conversion target
0 0 ANIxx (This is specified using the analog input channel specification register (ADS).)
1 0 Negative reference voltage (selected by the ADREFM bit in the ADM2 register)
1 1 Positive reference voltage (selected by the ADREFP0 bit in the ADM2 register)
Other than the above Setting prohibited