GD32VF103 User Manual
163
11.4.9.
External trigger
The conversion of regular or inserted group can be triggered by rising edge of external trigger
inputs. The external trigger source of regular channel group is controlled by the ETSRC[2:0]
bits in the ADC_CTL1 register, while the external trigger source of inserted channel group is
controlled by the ETSIC[2:0] bits in the ADC_CTL1 register
ETSRC[2:0] and ETSIC[2:0] control bits are used to specify which out of 8 possible events
can trigger conversion for the regular and inserted groups.
Table 11-3. External trigger for regular channels for ADC0 and ADC1
ETSRC[2:0]
Trigger Source
Trigger Type
000
TIMER0_CH0
Internal on-chip signal
001
TIMER0_CH1
010
TIMER0_CH2
011
TIMER1_CH1
100
TIMER2_TRGO
101
TIMER3_CH3
110
EXTI11
External signal
111
SWRCST
Software trigger
Table 11-4. External trigger for inserted channels for ADC0 and ADC1
ETSIC[2:0]
Trigger Source
Trigger Type
000
TIMER0_TRGO
Internal on-chip signal
001
TIMER0_CH3
010
TIMER1_TRGO
011
TIMER1_CH0
100
TIMER2_CH3
101
TIMER3_TRGO
110
EXTI15
External signal
111
SWICST
Software trigger
11.4.10.
DMA request
The DMA request, which is enabled by the DMA bit of ADC_CTL1 register, is used to transfer
data of regular group for conversion of more than one channel. The ADC generates a DMA
request at the end of conversion of a regular channel. When this request is received, the DMA
will transfer the converted data from the ADC_RDATA register to the destination location
which is specified by the user.
11.4.11.
Temperature sensor, and internal reference voltage V
REFINT
When the TSVREN bit of ADC_CTL1 register is set, the temperature sensor channel
(ADC0_CH16) and V
REFINT
channel (ADC0_CH17) is enabled. The temperature sensor can