R01UH0823EJ0100 Rev.1.00 Page 1561 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.2.19 A/D Compare Function Window A Channel Select Register 0 (ADCMPANSR0)
ADCMPANSR0 is used to select analog input channels for comparison under compare window A conditions from
among AN000 to AN007.
CMPCHA0n Bit (n = 00 to 07) (Compare Window A Channel Select)
Setting the CMPCHA0n bit which has the same number as the A/D channel selected by the ADANSA0.ANSA0n or
ADANSB0.ANSB0n bit (n = 00 to 07) to 1 enables the compare function.
The CMPCHA0n bit should be set while ADCSR.ADST bit is 0.
Address(es): S12AD.ADCMPANSR0 0008 9094h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
————————
CMPC
HA007
CMPC
HA006
CMPC
HA005
CMPC
HA004
CMPC
HA003
CMPC
HA002
CMPC
HA001
CMPC
HA000
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b0 CMPCHA000 Compare Window A Channel
Select
0: The corresponding channel from among AN000 to AN007 is
not a target for compare window A.
1: The corresponding channel from among AN000 to AN007 is
a target for compare window A.
R/W
b1 CMPCHA001 R/W
b2 CMPCHA002 R/W
b3 CMPCHA003 R/W
b4 CMPCHA004 R/W
b5 CMPCHA005 R/W
b6 CMPCHA006 R/W
b7 CMPCHA007 R/W
b15 to b8 — Reserved These bits are read as 0. The write value should be 0. R/W