R01UH0823EJ0100 Rev.1.00
Page 1566 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
44.2.24
A/D Compare Function Window A Extended Input Comparison Condition
Setting Register (ADCMPLER)
The ADCMPLER register sets the condition for use in comparing the values of ADCMPDR0 and ADCMPDR1 registers
with results of A/D conversion.
The ADCMPLER register should be set while ADCSR.ADST is 0.
CMPLTSA Bit (Compare Window A Temperature Sensor Output Comparison Condition Select)
This bit sets the condition for use in comparison with temperature sensor output to which compare window A conditions
are applied.
When the result of comparison matches the set condition, the ADCMPSER.CMPSTTSA flag is set to 1.
shows the comparison conditions.
CMPLOCA Bit (Internal Reference Voltage Comparison Condition Select)
This bit sets conditions for use in comparison with internal reference voltage to which compare window A conditions are
applied.
When the result of comparison matches the set condition, the ADCMPSER.CMPSTOCA flag is set to 1.
shows the comparison conditions.
Address(es): S12AD.ADCMPLER 0008 9093h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
CMPLO
CA
CMPLT
SA
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 Comparison
Condition Select
When the window function is disabled (ADCMPCR.WCMPE bit = 0):
0: ADCMPDR0 register value > A/D-converted value
1: ADCMPDR0 register value < A/D-converted value
When the window function is enabled (ADCMPCR.WCMPE bit = 1):
0: A/D-converted value < ADCMPDR0 register value or
A/D-converted value > ADCMPDR1 register value
1: ADCMPDR0 register value < A/D-converted value < ADCMPDR1
register value
R/W
b1
Internal Reference
Voltage Comparison
Condition Select
When the window function is disabled (ADCMPCR.WCMPE bit = 0):
0: ADCMPDR0 register value > A/D-converted value
1: ADCMPDR0 register value < A/D-converted value
When the window function is enabled (ADCMPCR.WCMPE bit = 1):
0: A/D-converted value < ADCMPDR0 register value or
A/D-converted value > ADCMPDR1 register value
1: ADCMPDR0 register value < A/D-converted value < ADCMPDR1
register value
R/W
b7 to b2
—
Reserved
These bits are read as 0. The write value should be 0.
R/W