Renesas RX100 Series User Manual page 867

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

Advertisement

RX13T Group
Operation example 3: Low-priority group trigger input during priority group scan, with rescan setting
The following describes an example when a trigger for the low-priority group is input during scan operation on the
priority group when the ADGPSCR.GBRSCN bit is 1 (scan for the group is restarted after having been discontinued due
to group priority operation). If the ADGPSCR.GBRSCN bit is 0, all triggers for the low-priority group that are input
during scan operation on the priority group are disabled.
(1) When a group A trigger input sets the ADCSR.ADST bit to 1 (A/D conversion start), scan for the ANn channels of
group A selected in the ADANSA0 register, starts from the channel with the smallest number n.
(2) If a group B trigger is input during scan for group A, scan for group B can be started.
(3) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy)
(4) 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).
(5) After scan for group A is completed, scan for the ANn channels of group B selected in the ADANSB0 register,
starts from the channel with the smallest number n while the ADCSR.ADST bit remains 1. If the
ADGSPCR.LGRRS bit is set to 1 at this time, scan for group B starts from the channel on which A/D conversion
was discontinued.
When a group A trigger is input during scan for group B, group A scan starts as in example 1, and group B scan
starts after group A scan is completed.
(6) If a group C trigger is input during scan for group B, scan for group C can be started.
(7) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy)
(8) After scan for group B is completed, a group B scan end interrupt request is generated if the ADCSR.GBADIE bit is
1 (interrupt generation upon group B scan completion enabled).
(9) After scan for group B is completed, scan for the ANn channels of group C selected in the ADANSC0 register,
starts from the channel with the smallest number n while the ADCSR.ADST bit remains 1. If the
ADGSPCR.LGRRS bit is set to 1 at this time, scan for group C starts from the channel on which A/D conversion
was discontinued.
When a group A or B trigger is input during scan for group C, group A or B scan starts as in example 1, and group
C scan starts after group A or B scan is completed.
(10) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy)
(11) After scan for group C is completed, a group C scan end interrupt request is generated if the ADCSR.GBADIE bit is
1 (interrupt generation upon group C scan completion enabled).
(12) The ADCSR.ADST bit is automatically cleared to 0 when scan of all selected channels is completed, and the 12-bit
A/D converter enters a wait state.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
26. 12-Bit A/D Converter (S12ADF)
Page 867 of 1041

Advertisement

Table of Contents
loading

Table of Contents