R01UH0823EJ0100 Rev.1.00
Page 1572 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
44.2.29
A/D Compare Function Window A Extended Input Channel Status Register
(ADCMPSER)
The ADCMPSER register stores the comparison result of the compare window A function.
CMPSTTSA Flag (Compare Window A Temperature Sensor Output Compare Flag)
This flag is a status flag that indicates the temperature sensor output comparison result. When the comparison condition
set by ADCMPLER.CMPLTSA is met at the end of A/D conversion, this flag is set to 1.
Writing 1 to the CMPSTTSA flag is disabled.
[Setting condition]
The condition set by ADCMPLER.CMPLTSA is met when ADCMPCR.CMPAE = 1
[Clearing condition]
0 is written after reading 1
CMPSTOCA Flag (Compare Window A Internal Reference Voltage Compare Flag)
This flag is a status flag that indicates the internal reference voltage comparison result. When the comparison condition
set by ADCMPLER.CMPLOCA is met at the end of A/D conversion, this flag is set to 1.
Writing 1 to the CMPSTOCA flag is disabled.
The value 1 cannot be written to the CMPSTOCA bit.
[Setting condition]
The condition set in by ADCMPLER.CMPLOCA bit is met when ADCMPCR.CMPAE = 1
[Clearing condition]
0 is written after reading 1
Address(es): S12AD.ADCMPSER 0008 90A4h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
CMPST
OCA
CMPST
TSA
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Compare Window A
Temperature Sensor Output
Compare Flag
When window A operation is enabled (ADCMPCR.CMPAE = 1),
this flag indicates the temperature sensor output comparison
result.
0: Comparison conditions are not met.
1: Comparison conditions are met.
R/W
b1
Compare Window A Internal
Reference Voltage Compare
Flag
When window A operation is enabled (ADCMPCR.CMPAE = 1),
this flag indicates the internal reference voltage comparison
result.
0: Comparison conditions are not met.
1: Comparison conditions are met.
R/W
b7 to b2
—
Reserved
These bits are read as 0. The write value should be 0.
R/W