RM0440
Figure 101. Example of JSQR queue of context with empty queue (case JQM=1)
P1
Write JSQR
JSQR
EMPTY
queue
Trigger 1
ADC
EMPTY
J context
(returned by reading JQSR)
ADC state
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
Flushing the queue of context
The figures below show the behavior of the context Queue in various situations when the
queue is flushed.
Figure 102. Flushing JSQR queue of context by setting JADSTP=1 (JQM=0).
Write JSQR
JSQR queue
JADSTP
JADSTART
Trigger 1
ADC J context
(returned by reading JSQR)
ADC state
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
P2
P1
P1,P2
P1
RDY
Conversion1
Case when JADSTP occurs during an ongoing conversion.
P1
P2
EMPTY
P1
EMPTY
P1
RDY
Queue becomes empty
and triggers are ignored
because JQM=1
P2
EMPTY
P2
EMPTY (0x0000)
RDY
Conversion1
Queue is flushed and maintains
the last active context
(P2 is lost)
P1, P2
P1
Set
Reset
by S/W
by H/W
Reset
by H/W
RM0440 Rev 1
Analog-to-digital converters (ADC)
P3
P3
Ignored
P3
RDY
Conversion1
P3
P3
Set
by S/W
P3
RDY
EMPTY
Ignored
EMPTY
RDY
MS30541V1
RDY
Conversion1
MS30544V2
599/3748
683
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?