DocID025202 Rev 7
318/1080
RM0365
Analog-to-digital converters (ADC)
392
Figure 73. Flushing JSQR queue of context by setting ADDIS=1 (JQM=0)
1. Parameters:
P1: sequence of 1 conversion, hardware trigger 1
P2: sequence of 1 conversion, hardware trigger 1
P3: sequence of 1 conversion, hardware trigger 1
Figure 74. Flushing JSQR queue of context by setting ADDIS=1 (JQM=1)
1. Parameters:
P1: sequence of 1 conversion, hardware trigger 1
P2: sequence of 1 conversion, hardware trigger 1
P3: sequence of 1 conversion, hardware trigger 1
Changing context from hardware to software (or software to hardware)
injected trigger
When changing the context from hardware trigger to software injected trigger, it is
necessary to stop the injected conversions by setting JADSTP=1 after the last hardware
triggered conversions. This is necessary to re-enable the software trigger (a rising edge on
JADSTART is necessary to start a software injected conversion). Refer to
.
When changing the context from software trigger to hardware injected trigger, after the last
software trigger, it is necessary to set JADSTART=1 to enable the hardware triggers. Refer
to
*312QUEUE
!$#STATE
2$9
0
00
2%1/&&
0
!$$)3
1UEUEISFLUSHEDANDMAINTAINS
THELASTACTIVECONTEXT
0WHICHWASNOTCONSUMEDISLOST
!$#*CONTEXT
RETURNEDBYREADING*312
3ET
BY37
2ESET
BY(7
-36
/&&
:^YZƋƵĞƵĞ
ƐƚĂƚĞ
Zz
Wϭ
Wϭ͕WϮ
ZYͲK&&
DWdz
/^
YƵĞƵĞŝƐĨůƵƐŚĞĚĂŶĚďĞĐŽŵĞƐĞŵƉƚLJ
;:^YZŝƐƌĞĂĚĂƐϬdžϬϬϬϬͿ
:ĐŽŶƚĞdžƚ
;ƌĞƚƵƌŶĞĚďLJ ƌĞĂĚŝŶŐ:^YZͿ
^Ğƚ
ďLJ^ͬt
ZĞƐĞƚ
ďLJ,ͬt
D^ϯϬϱϰϳsϮ
K&&
DWdz;ϬdžϬϬϬϬͿ