GD32F20x User Manual
273
Figure 14-19. Follow-up slow mode on 1 channel
CH1
ADC0
ADC1
Regular
trigger
Sample
Convert
·
·
·
·
·
·
EOC(ADC0 )
EOC(ADC1)
CH1
CH1
CH1
CH1
CH1
CH1
CH1
14 ADCCLK
cycles
14 ADCCLK
cycles
14.5.6.
Trigger rotation mode
This mode can be running on the inserted channel group. The source of external trigger
comes from the inserted channel MUX of ADC0 (selected by the ETSIC[2:0] bits in the
ADC_CTL1 register).
When the first trigger occurs, all the inserted channels of ADC0 are converted. When the
second trigger occurs, all the inserted channels of ADC1 are converted. The behavior of
trigger rotation mode shows in the
Figure 14-20. Trigger rotation: inserted channel group
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, the
trigger rotation process restarts by converting ADC0 inserted group channels.
Figure 14-20. 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
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...