
AT32F413
Series Reference Manual
2022.06.27
Page 272
Rev 2.00
Figure 19-3
ADC power-on and calibration
ADCCLK
ADCEN
STAB
Trigger
ADC
status
Powering up
Conversion
t
CCE flag
ADCAL
Calibration
The ADCEN
bit is set by
software.
The ADCAL
bit is set by
software.
The ADCAL
bit is cleared
by hardware
The CCE bit
is set by
hardware
19.4.2.2 Trigger
The ADC triggers contain ordinary channel trigger and preempted channel trigger. The ordinary channel
conversion is triggered by ordinary channel triggers while the preempted channel conversion is triggered
by preempted ones. When the OCTEN or PCTEN bit is set in the ADC_CTRL2 register, only the rising
edge of the trigger source can start the conversion.
The conversion can be triggered by software write operation to the OCSWTRG and PCSWTRG bits in
the ADC_CTRL2 register, or by an external event. The external events include timer and pin triggers.
The OCTESEL and PCTESEL bits in the ADC_CTRL2 register are used to select specific trigger sources,
as shown in
The ordinary channel has another special trigger source, that is, enable the ADCEN bit repeatedly to
trigger the conversion. In this case, the ordinary channel conversion can be triggered without the need
of the OCTEN enable bit in the ADC_CTRL2 register.