R01UH0823EJ0100 Rev.1.00 Page 1563 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.2.21 A/D Compare Function Window A Extended Input Select Register
(ADCMPANSER)
ADCMPANSER is used to select whether the temperature sensor output or internal reference voltage is compared under
compare window A conditions.
CMPTSA Bit (Temperature Sensor Output Compare Select)
Setting the CMPTSA bit to 1 while the ADEXICR.TSSA bit is 1 enables the compare window A function. This bit
should be set while the ADCSR.ADST bit is 0.
CMPOCA Bit (Internal Reference Voltage Compare Select)
Setting the CMPOCA bit to 1 while ADEXICR.OCSA bit is 1 enables the compare window A function. This bit should
be set while the ADCSR.ADST bit is 0.
Address(es): S12AD.ADCMPANSER 0008 9092h
b7 b6 b5 b4 b3 b2 b1 b0
——————
CMPO
CA
CMPTS
A
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b0 CMPTSA Temperature Sensor
Output Compare Select
0: Temperature sensor output is not a target for compare window A.
1: Temperature sensor output is a target for compare window A.
R/W
b1 CMPOCA Internal Reference
Voltage Compare Select
0: Internal reference voltage is not a target for compare window A.
1: Internal reference voltage is a target for compare window A.
R/W
b7 to b2 — Reserved These bits are read as 0. The write value should be 0. R/W