RL78/G13 CHAPTER 22 SAFETY FUNCTIONS
R01UH0146EJ0100 Rev.1.00 917
Sep 22, 2011
<Control register>
(1) A/D test register (ADTES)
This register is used to select the A/D converter’s positive reference voltage AV
REFP, the A/D converter’s negative
reference voltage AV
REFM, or the analog input channel (ANIxx) as the target of A/D conversion.
When using the A/D test function, specify the following settings:
• Select AV
REFM as the target of A/D conversion when converting the internal 0 V.
• Select AV
REFP as the target of A/D conversion when converting AVREF.
• Select ANIxx as the target of A/D conversion when converting the internal reference voltage (1.45 V), and specify
the internal reference voltage output as the input source in the ADS register.
The ADTES register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 22-15. Format of A/D Test Register (ADTES)
Address: F0013H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
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 AVREFM
1 1 AVREFP
Other than the above Setting prohibited