R01UH0823EJ0100 Rev.1.00 Page 1562 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.2.20 A/D Compare Function Window A Channel Select Register 1 (ADCMPANSR1)
ADCMPANSR1 is used to select analog input channels for comparison under compare window A conditions from
among AN016 to AN020 and AN027.
CMPCHA1n Bit (n = 00 to 04, 11) (Compare Window A Channel Select)
Setting the CMPCHA1n which has the same number as the A/D channel selected by the ADANSA1.ANSA1n or
ADANSB1.ANSB1n bit (n = 00 to 04, 11) to 1 enables the compare function.
The CMPCHA1n bit should be set while ADCSR.ADST bit is 0.
Address(es): S12AD.ADCMPANSR1 0008 9096h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
————
CMPC
HA111
——————
CMPC
HA104
CMPC
HA103
CMPC
HA102
CMPC
HA101
CMPC
HA100
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b0 CMPCHA100 Compare Window A Channel
Select
0: The corresponding channel from among AN016 to AN020 is
not a target for compare window A.
1: The corresponding channel from among AN016 to AN020 is
a target for compare window A.
R/W
b1 CMPCHA101 R/W
b2 CMPCHA102 R/W
b3 CMPCHA103 R/W
b4 CMPCHA104 R/W
b10 to b5 — Reserved These bits are read as 0. The write value should be 0. R/W
b11 CMPCHA111 Compare Window A Channel
Select
0: The corresponding channel from among AN027 is not a
target for compare window A.
1: The corresponding channel from among AN027 is a target
for compare window A.
R/W
b15 to b12 — Reserved These bits are read as 0. The write value should be 0. R/W