R01UH0822EJ0100 Rev.1.00
Page 866 of 1041
Jul 31, 2019
RX13T Group
26. 12-Bit A/D Converter (S12ADF)
Operation example 2: Priority group trigger input during low-priority group rescan, with rescan setting
shows an example when a group A trigger is input during rescan operation on group B.
If a trigger for the priority groups (groups A and B for group C and group A for group B) is input, scan for the priority
group starts even while rescan operation on the low-priority group is in progress. After scan for the priority group is
completed, scan for the low-priority group is restarted after having been discontinued.
Operations of the ADCSR.ADST bit, storing to the A/D conversion result in the A/D data register (ADDRy), and
interrupt requests are the same as example 1.
Figure 26.22
Example 2 of Group Priority Operation: Priority Group Trigger Input during Low-Priority Group
Rescan, With Rescan Setting
(ADGSPCR.GBRSCN = 1, ADGSPCR.GBRP = 0, ADGSPCR.LGRRS = 1)
(11)
ADDR1
ADDR2
ADDR3
ADDR0
(1)
Group C scanned
Group A scanned
(Group priority
operation)
Group B
rescanned
ADST bit
Waiting for conversion
A/D conversion A1
Waiting for conversion
Waiting for conversion
A/D conversion B1
Waiting for conversion
Waiting for conversion
B3
Result of A/D conversion B1
Result of A/D conversion A1
Result of A/D conversion C1
Waiting for conversion
Result of A/D conversion B4
Stored
Stored
Stored
Waiting for
conversion
Waiting for conversion
A/D conversion C1
A/D conversion
C2
Waiting for conversion
Waiting for conversion
A/D conversion C3
Waiting for
conversion
ADDR4
Result of A/D
conversion C3
B2
Waiting for conversion
Group B scanned
(Group priority operation)
Group C rescanned
A/D conversion A2
Waiting for
conversion
Result of A/D conversion A2
A/D conversion B4
Waiting for conversion
Group A scanned
(Group priority
operation)
Group B rescanned
Stored
Stored
Trigger for group A
Trigger for group B
Trigger for group C
Scan Started
Stored
Group A
Group B
Group C
Group B scan end
interrupt
Group C scan end
interrupt
Scan end interrupt
Channel 0 (AN000)
Channel 1 (AN001)
Channel 2 (AN002)
Channel 3 (AN003)
Channel 4 (AN004)