![GigaDevice Semiconductor GD32A50 Series Скачать руководство пользователя страница 279](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782279.webp)
GD32A50x User Manual
279
Figure 14-11. ADC sync block diagram
ADC_IN0
ADC_IN1
·
·
·
ADC_IN15
GPIO
V
SENSE
V
REFINT
A
P
B
B
U
S
ADC0
(master)
ADC1
(slave)
Routine data registers
(
16 bits
)
Routine
channels
Routine data registers
(
16 bits
)
Routine
channels
Routine
TRGSEL
Syncl mode
control
software
14.5.1.
Free mode
In this mode, each ADC works independently and does not interfere with each other.
14.5.2.
Routine parallel mode
This mode converts the routine channel simultaneously. The source of trigger comes from the
routine sequence of ADC0 (selected by the ETSRC bit in the ADC_CTL1 register). A
simultaneous trigger is provided to ADC1.
At the end of conversion event on ADC0 or ADC1 an EOC interrupt is generated (if enabled
on one of the two ADC interfaces) when the ADC0/ ADC1 routine channels are all converted.
The behavior of routine parallel mode shows in the
Figure 14-12. Routine parallel mode on
A 32-bit DMA is used, which transfers ADC_RDATA 32-bit register (the ADC_RDATA 32-bit
register containing the ADC1 converted data in the upper half-word and the ADC0 converted
data in the lower half-word) to SRAM.
Note:
1. If two ADCs use the same sampling channel, it should be ensured that the channel is
not used at the same time.
2. Two channels sampled by two ADCs at the same time should be configured with the