R01UH0823EJ0100 Rev.1.00
Page 1541 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
Group A scan is completed in group scan mode.
Group B scan is completed in group scan mode.
With group-A priority control operation mode enabled (ADCSR.ADCS[1:0] bits = 01b and ADGSPCR.PGS bit =
1), a group A trigger is detected during group B A/D conversion and the scanning of group B is stopped.
With group-A priority control operation mode enabled (ADCSR.ADCS[1:0] bits = 01b and ADGSPCR.PGS bit =
1), the ADGSPCR.GBRSCN bit is set to 1 and the scanning of group B started by a resumption trigger is completed.
With group-A priority control operation mode enabled (ADCSR.ADCS[1:0] bits = 01b and ADGSPCR.PGS bit =
1) the ADGSPCR.GBRP bit is set to 1 and the scanning of group B by a trigger is completed.
Note:
When group-A priority control operation mode has been enabled (ADCSR.ADCS[1:0] bits = 01b and
ADGSPCR.PGS bit = 1), do not set the ADST bit to 1.
Note:
When group-A priority control operation mode has been enabled (ADCSR.ADCS[1:0] bits = 01b and
ADGSPCR.PGS bit = 1) and ADGSPCR.GBRP = 1, do not set the ADST bit to 0. When forcibly terminating A/D
conversion, follow the procedure for clearing the ADST bit.
44.2.4
A/D Channel Select Register A0 (ADANSA0)
ADANSA0 selects analog input channels for A/D conversion among AN000 to AN007. In group scan mode, this register
selects group A channels.
ANSA0n Bit (n = 00 to 07) (A/D Conversion Channel Select)
The ANSA0n bit selects analog input channels for A/D conversion among AN000 to AN007. The channels to be selected
and the number of channels can be arbitrarily set. The ANSA000 bit corresponds to AN000 and the ANSA007 bit
corresponds to AN007.
When performing A/D conversion of the temperature sensor output or internal reference voltage, do not select analog
input channels. The setting value of this register should be 0000h.
When double trigger mode is selected, the channel selected by the ANSA0n bit is invalid, and the channel selected by the
ADCSR.DBLANS[4:0] bits is selected in group A instead.
The ANSA0n bit should be set while the ADCSR.ADST bit is 0.
Address(es): S12AD.ADANSA0 0008 9004h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
ANSA0
07
ANSA0
06
ANSA0
05
ANSA0
04
ANSA0
03
ANSA0
02
ANSA0
01
ANSA0
00
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
A/D Conversion Channel Select
0: AN000 to AN007 are not subjected to conversion.
1: AN000 to AN007 are subjected to conversion.
R/W
b1
R/W
b2
R/W
b3
R/W
b4
R/W
b5
R/W
b6
R/W
b7
R/W
b15 to b8
—
Reserved
These bits are read as 0. The write value should be 0.
R/W