DocID018909 Rev 11
427/1731
RM0090
Analog-to-digital converter (ADC)
434
13.13.12 ADC injected sequence register (ADC_JSQR)
Address offset: 0x38
Reset value: 0x0000 0000
Note:
When JL[1:0]=3 (4 injected conversions in the sequencer), the ADC converts the channels
in the following order: JSQ1[4:0], JSQ2[4:0], JSQ3[4:0], and JSQ4[4:0].
When JL=2 (3 injected conversions in the sequencer), the ADC converts the channels in the
following order: JSQ2[4:0], JSQ3[4:0], and JSQ4[4:0].
When JL=1 (2 injected conversions in the sequencer), the ADC converts the channels in
starting from JSQ3[4:0], and then JSQ4[4:0].
When JL=0 (1 injected conversion in the sequencer), the ADC converts only JSQ4[4:0]
channel.
13.13.13 ADC injected data register x (ADC_JDRx) (x= 1..4)
Address offset: 0x3C - 0x48
Reset value: 0x0000 0000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
JL[1:0]
JSQ4[4:1]
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
JSQ4[0]
JSQ3[4:0]
JSQ2[4:0]
JSQ1[4:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 31:22 Reserved, must be kept at reset value.
Bits 21:20
JL[1:0]:
Injected sequence length
These bits are written by software to define the total number of conversions in the injected
channel conversion sequence.
00: 1 conversion
01: 2 conversions
10: 3 conversions
11: 4 conversions
Bits 19:15
JSQ4[4:0]:
4th conversion in injected sequence (when JL[1:0]=3, see note below)
These bits are written by software with the channel number (0..18) assigned as the 4th in the
sequence to be converted.
Bits 14:10
JSQ3[4:0]:
3rd conversion in injected sequence (when JL[1:0]=3, see note below)
Bits 9:5
JSQ2[4:0]:
2nd conversion in injected sequence (when JL[1:0]=3, see note below)
Bits 4:0
JSQ1[4:0]:
1st conversion in injected sequence (when JL[1:0]=3, see note below)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
JDATA[15:0]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r