Renesas RX100 Series User Manual page 868

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
Trigger for group A
Trigger for group B
Trigger for group C
(1)
ADST bit
Group A
Waiting for
Channel 0 (AN000)
conversion
Group B
Waiting for conversion
Channel 1 (AN001)
Channel 2 (AN002)
Group C
Channel 3 (AN003)
Channel 4 (AN004)
ADDR0
ADDR1
ADDR2
ADDR3
ADDR4
Scan end interrupt
Group B scan end
interrupt
Group C scan end
interrupt
Figure 26.23
Example 3 of Group Priority Operation: Low-Priority Group Trigger Input during Priority Group
Scan, With Rescan Setting
(ADGSPCR.GBRSCN = 1, ADGSPCR.GBRP = 0, ADGSPCR.LGRRS = 1, ADGCTRGR.GRCE = 1)
Operation example 4 shows group priority operation in group scan mode (ADGSPCR.GBRSCN = 0, ADGSPCR.GBRP
= 0, ADGSPCR.LGRRS = 0) when channel 0 is selected for group A, channels 1 and 2 are selected for group B, and
channels 3 and 4 are selected for group C.
Operation example 4: Priority group trigger input during low-priority group scan, without rescan
setting
(1) When a group C trigger input sets the ADCSR.ADST bit to 1 (A/D conversion start), scan for the ANn channels
selected in the ADANSC0 register, starts from the channel with the smallest number n.
(2) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy)
(3) If a group B trigger is input during scan for group C, group C scan is discontinued while the ADCSR.ADST bit
remains 1, and scan for the ANn channels of group B selected in the ADANSB0 register, starts from the channel
with the smallest number n. If A/D conversion is not completed when scan was discontinued, the result is not stored
in the corresponding A/D data register (ADDRy).
(4) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy)
(5) If a group A trigger is input during scan for group B, group B scan is discontinued while the ADCSR.ADST bit
remains 1, and scan for the ANn channels of group A selected in the ADANSB0 register, starts from the channel
with the smallest number n. If A/D conversion is not completed when scan was discontinued, the result is not stored
in the corresponding A/D data register (ADDRy).
(6) After scan for group A is completed, a scan end interrupt request is generated if the ADCSR.ADIE bit is 1 (interrupt
generation upon scanning completion enabled).
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Group A scanned
Group B scanned
(2)
(6)
Scan Started
A/D conversion A1
(5)
A/D conversion B1
Waiting for conversion
A/D conversion B2
Waiting for conversion
Waiting for conversion
Stored
(3)
Stored
(7)
(4)
26. 12-Bit A/D Converter (S12ADF)
Group C scanned
(12)
Waiting for conversion
Waiting for conversion
Waiting for conversion
(9)
A/D conversion C1
A/D conversion C2
Result of A/D conversion A1
Result of A/D conversion B1
Stored
Result of A/D conversion B2
(7)
Stored
(10)
Stored
(10)
(8)
(11)
Waiting for conversion
Waiting for conversion
Result of A/D conversion C1
Result of A/D conversion C3
Page 868 of 1041

Advertisement

Table of Contents
loading

Table of Contents