GD32VF103 User Manual
184
31:30
Reserved
Must be kept at reset value
29:25
RSQ5[4:0]
refer to RSQ0[4:0] description
24:20
RSQ4[4:0]
refer to RSQ0[4:0] description
19:15
RSQ3[4:0]
refer to RSQ0[4:0] description
14:10
RSQ2[4:0]
refer to RSQ0[4:0] description
9:5
RSQ1[4:0]
refer to RSQ0[4:0] description
4:0
RSQ0[4:0]
The channel number (0..17) is written to these bits to select a channel as the nth
conversion in the regular channel group.
11.8.12.
Inserted sequence register (ADC_ISQ)
Address offset: 0x38
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
IL[1:0]
ISQ3[4:1]
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ISQ3[0]
ISQ2[4:0]
ISQ1[4:0]
ISQ0[4:0]
rw
rw
rw
rw
Bits
Fields
Descriptions
31:22
Reserved
Must be kept at reset value
21:20
IL[1:0]
Inserted channel group length.
The total number of conversion in Inserted group equals to IL[1:0] + 1.
19:15
ISQ3[4:0]
refer to ISQ0[4:0] description
14:10
ISQ2[4:0]
refer to ISQ0[4:0] description
9:5
ISQ1[4:0]
refer to ISQ0[4:0] description
4:0
ISQ0[4:0]
The channel number (0..17) is written to these bits to select a channel at the nth
conversion in the inserted channel group.
Unlike the regular conversion sequence, the inserted channels are converted
starting from (4 - IL[1:0] - 1), if IL[1:0] length is less than 4.
IL
Insert channel order
3
ISQ0 >> ISQ1 >> ISQ2 >> ISQ3
2
ISQ1 >> ISQ2 >> ISQ3
1
ISQ2 >> ISQ3