RL78/G1H CHAPTER 13 A/D CONVERTER
R01UH0575EJ0120 Rev. 1.20 Page 301 of 920
Dec 22, 2016
13.3.10 A/D test register (ADTES)
This register is used to select the + side reference voltage or - side reference voltage for the converter, an analog
input channel as the target for A/D conversion.
When using this register to test the converter, set as follows.
• For zero-scale measurement, select the - side reference voltage as the target for conversion.
• For full-scale measurement, select the + side reference voltage as the target for conversion.
The ADTES register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 13 - 15 Format of A/D test register (ADTES)
Address: F0013H After reset: 00H R/W
Symbol76543210
ADTES 0 0 0 0 0 0 ADTES1 ADTES0
ADTES1 ADTES0 A/D conversion target
0 0 ANIxx (This is specified using the analog input channel specification register (ADS).)
1 0 The - side reference voltage (selected by the ADREFM bit of the ADM2 register)
1 1 The + side reference voltage (selected by the ADREFP0 bit of the ADM2 register)
Other than the above Setting prohibited