GD32F10x User Manual
220
11.5.
ADC sync mode
In devices with more than one ADC, the ADC sync mode can be used. In ADC sync mode,
the conversion starts alternately or simultaneously triggered by ADC0 to ADC1, according to
the sync mode configurated by the SYNCM[3:0] bits in ADC1_CTL0 register.
In sync mode, when configure the conversion which is triggered by an external event, the
ADC1 must be configured as triggered by the software. However, the external trigger must
be enabled for ADC0 and ADC1.
The following modes can be configured in
Table 11-5. ADC sync mode table
Table 11-5. ADC sync mode table
SYNCM[2: 0]
mode
0000
Free mode
0110
Routine parallel mode
0111
Routine follow-up fast mode
1000
Routine follow-up slow mode
In ADC sync mode, the DMA bit must be set even if it is not used; the converted data of ADC1
routine
channel can be read from the ADC0 data register.
Figure 11-8. ADC sync block diagram
ADC_IN0
ADC_IN1
· ·
·
ADC_IN15
GPIO
V
SENSE
V
REFINT
EXTI11
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
trigger mux
Syncl mode
control
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...