Analog-to-digital converters (ADC)
RM0365
305/1080
DocID025202 Rev 7
When the JADSTP bit is set by software, any ongoing injected conversion is aborted with
partial result discarded (ADCx_JDRy register is not updated with the current conversion).
The scan sequence is also aborted and reset (meaning that relaunching the ADC would re-
start a new sequence).
Once this procedure is complete, bits ADSTP/ADSTART (in case of regular conversion), or
JADSTP/JADSTART (in case of injected conversion) are cleared by hardware and the
software must wait until ADSTART = 0 (or JADSTART = 0) before starting a new conversion.
Note:
In auto-injection mode (JAUTO=1), setting ADSTP bit aborts both regular and injected
conversions (JADSTP must not be used).
Figure 59. Stopping ongoing regular conversions
069
&
7ULJJHU
$'&VWDWH
5'<
&RQYHUW
&K1
5'<
5'<
6DPSOH
&K1
5(*8/$5&219(56,216RQJRLQJ
;ƐŽĨƚǁĂƌĞŝƐŶŽƚĂůůŽǁĞĚƚŽĐŽŶĨŝŐƵƌĞƌĞŐƵůĂƌĐŽŶǀĞƌƐŝŽŶƐƐĞůĞĐƚŝŽŶĂŶĚƚƌŝŐŐĞƌƐͿ
&OHDUHG
E\+:
&OHDUHG
E\+:
6HW
E\6:
6HW
E\6:
'DWD1
'DWD1
-$'67$57
$'67$57
$'673
$'&B'5
6DPSOH
&K1
7ULJJHU