GD32W51x User Manual
383
14.5.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 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..11) is w ritten to these bits to select a channel as the nth
conversion in the inserted channel group.
Different from 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
11
ISQ0>>ISQ1>>ISQ2>>ISQ3
10
ISQ1>>ISQ2>>ISQ3
01
ISQ2>>ISQ3
00
ISQ3
14.5.13.
Inserted data register x (ADC_IDATAx) (x= 0..3)
Address offset: 0x3C + 0x04 * x (x=0..3)
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0