GD32VF103 User Manual
171
Figure 11-18. Trigger rotation: inserted channel group
Inserted
trigger
Channel
group
Channel
group
EOIC(ADC0)
Sample
Convert
Channel
group
Channel
group
ADC0
ADC1
EOIC(ADC1)
……
……
Channel
group
Channel
group
If the discontinuous mode is enabled for both ADC0 and ADC1, when the first trigger occurs,
the first inserted channel in ADC0 is converted. When the second trigger occurs, the first
inserted channel in ADC1 is converted. Then the second channel in ADC0, the second
channel in ADC1, and so on.
The behavior of trigger rotation discontinuous mode shows in the
rotation: inserted channels in discontinuous mode
If the EOIC interrupt of ADC0 and ADC1 are enabled. When all the channels of ADC0 or
ADC1 have been converted, the corresponded interrupt occurred.
If another external trigger occurs after all inserted group channels have been converted then
the trigger rotation process restarts.
Figure 11-19. Trigger rotation: inserted channels in discontinuous mode
Inserted
trigger
CH4
CH5
EOIC(ADC0)
Sample
Convert
CH0
CH1
ADC0
ADC1
EOIC(ADC1)
……
CH2
CH6
CH3
CH7
11.6.6.
Combined regular parallel & inserted parallel mode
In the free mode, the conversion of regular group can be interrupted by the conversion of
inserted group. In the sync mode, it is also possible to interrupt parallel conversion of a regular
group to insert parallel conversion of an inserted group.
Note:
In combined regular parallel + inserted parallel mode, the sampling time for the two
ADCs should be configured the same.
11.6.7.
Combined regular parallel & trigger rotation mode
It is possible to interrupt regular group parallel conversion to start trigger rotation conversion
of an inserted group. The behavior of an alternate trigger interrupt a regular parallel