R01UH0823EJ0100 Rev.1.00
Page 1548 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
44.2.10
A/D-Converted Value Addition/Average Count Select Register (ADADC)
Note 1. The AVEE bit is enabled only when 2-time or 4-time conversion is selected. When average mode is selected (ADADC.AVEE bit
= 1), do not set 3-time conversion (ADADC.ADC[2:0] = 010b) nor 16-time conversion (ADADC.ADC[2:0] = 101b).
ADADC sets the number of times addition is to proceed for the temperature sensor output, the internal reference voltage,
and channels selected as being in A/D-converted value addition or average mode, and to select either addition or average
mode for them.
ADC[2:0] Bits (Addition Count Select)
The ADC[2:0] bits set the number of times addition is to proceed as a common value for the temperature sensor output,
the internal reference voltage, and channels for which A/D-converted value addition or average mode is selected,
including those channels selected in double trigger mode (by the ADCSR.DBLANS[4:0] bits).
When average mode is selected by setting the ADADC.AVEE bit to 1, do not set the addition count to one time
(ADADC.ADC[2:0] = 000b), three times (ADADC.ADC[2:0] = 010b), or 16 times (ADADC.ADC[2:0] = 101b).
The ADC[2:0] bits should be set while the ADCSR.ADST bit is 0.
AVEE Bit (Average Mode Enable)
The AVEE bit selects addition or average mode for the temperature sensor output, the internal reference voltage, and the
channels selected for which the addition or average mode of A/D conversion is selected, including those channels
selected in double trigger mode (by ADCSR.DBLANS[4:0] bits).
When average mode is selected by setting the ADADC.AVEE bit to 1, do not set the addition count to one time
(ADADC.ADC[2:0] = 000b), three times (ADADC.ADC[2:0] = 010b), or 16 times (ADADC.ADC[2:0] = 101b). The
mean value of 1-time, 3-time, and 16-time conversion cannot be obtained.
The AVEE bit should be set while the ADCSR.ADST bit is 0.
Address(es): S12AD.ADADC 0008 900Ch
b7
b6
b5
b4
b3
b2
b1
b0
AVEE
—
—
—
—
ADC[2:0]
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b2 to b0
Addition Count Select
b2 b0
0 0 0: 1-time conversion (no addition; same as normal conversion)
0 0 1: 2-time conversion (addition once)
0 1 0: 3-time conversion (addition twice)*
0 1 1: 4-time conversion (addition three times)
1 0 1: 16-time conversion (addition 15 times)*
Settings other than above are prohibited.
R/W
b6 to b3
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b7
Average Mode Enable
0: Addition mode is selected.
1: Average mode is selected.
R/W