R01UH0823EJ0100 Rev.1.00 Page 1553 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.2.13 A/D Conversion Extended Input Control Register (ADEXICR)
ADEXICR specifies the settings of A/D conversion of the temperature sensor output and internal reference voltage.
TSSAD Bit (Temperature Sensor Output A/D-Converted Value Addition/Average Mode Select)
When the TSSAD bit is set to 1, A/D conversion of the temperature sensor output is selected and performed successively
2, 3, 4, or 16 times that is set with the ADADC.ADC[2:0] bits. When the ADADC.AVEE bit is 0, the value obtained by
addition (integration) is stored in the A/D temperature sensor data register (ADTSDR). When the ADADC.AVEE bit is
1, the mean value is stored in the A/D temperature sensor data register (ADTSDR).
The TSSAD bit should be set while the ADCSR.ADST bit is 0.
OCSAD Bit (Internal Reference Voltage A/D-Converted Value Addition/Average Mode Select)
When the OCSAD bit is set to 1, A/D conversion of the internal reference voltage is selected and performed successively
2, 3, 4, or 16 times that is set with the ADADC.ADC[2:0] bits. When the ADADC.AVEE bit is 0, the value obtained by
addition (integration) is stored in the A/D internal reference voltage data register (ADOCDR). When the ADADC.AVEE
bit is 1, the mean value is stored in ADOCDR.
The OCSAD bit should be set while the ADCSR.ADST bit is 0.
TSSA Bit (Temperature Sensor Output A/D Conversion Select)
This bit selects A/D conversion of the temperature sensor output in single scan mode. When A/D conversion of the
temperature sensor output is to be performed, all the bits in the ADANSA0, ADANSA1, ADANSB0, and ADANSB1
registers and the ADCSR.DBLE and OCSA bits should all be set to 0 in single scan mode.
The TSSA bit should be set while the ADCSR.ADST bit is 0. For A/D conversion of the temperature sensor output, the
ADDISCR.ADNDIS[4:0] bits should be automatically set to 0Fh to discharge the A/D converter before sampling. The
sampling time should be 5 μs or longer.
Address(es): S12AD.ADEXICR 0008 9012h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
——————OCSATSSA——————OCSADTSSAD
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b0 TSSAD Temperature Sensor Output A/D-
Converted Value Addition/Average
Mode Select
0: Temperature sensor output A/D-converted value
addition/average mode is not selected.
1: Temperature sensor output A/D-converted value
addition/average mode is selected.
R/W
b1 OCSAD Internal Reference Voltage A/D-
Converted Value Addition/Average
Mode Select
0: Internal reference voltage A/D-converted value
addition/average mode is not selected.
1: Internal reference voltage A/D-converted value
addition/average mode is selected.
R/W
b7 to b2 — Reserved These bits are read as 0. The write value should be 0. R/W
b8 TSSA Temperature Sensor Output A/D
Conversion Select
0: A/D conversion of temperature sensor output is not
performed.
1: A/D conversion of temperature sensor output is
performed.
R/W
b9 OCSA Internal Reference Voltage A/D
Conversion Select
0: A/D conversion of internal reference voltage is not
performed.
1: A/D conversion of internal reference voltage is
performed.
R/W
b15 to b10 — Reserved These bits are read as 0. The write value should be 0. R/W