
CH32V003
Reference Manual
V1.3
81
down mode.
Note: A conversion is initiated when only ADON is
changed in the register, and no new conversion is initiated
if there are any other bits sent for change.
9.3.4 ADC Sample time configuration register 1 (ADC_SAMPTR1)
Offset address: 0x0C
31
30 29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
SMP15[2:1]
15
14 13
12
11
10
9
8
7
6
5
4
3
2
1
0
SMP15[0
]
SMP14[2:0]
SMP13[2:0]
SMP12[2:0]
SMP11[2:0]
SMP10[2:0]
Bit
Name
Access
Description
Reset
value
[31:18] Reserved
RO Reserved
0
[17:0] SMPx
RW
SMPx[2:0]: sample time configuration for channel x.
000: 3 cycles; 001: 9 cycles.
010: 15 cycles; 011: 30 cycles.
100: 43 cycles; 101:57 cycles.
110: 73 cycles; 111: 241 cycles.
These bits are used to independently select the sample time
for each channel, and the channel configuration value must
remain constant during the sample cycle.
0
9.3.5 ADC Sample time configuration register 2 (ADC_SAMPTR2)
Offset address: 0x10
31
30 29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
SMP9[2:0]
SMP8[2:0]
SMP7[2:0]
SMP6[2:0]
SMP5[2:1]
15
14 13
12
11
10
9
8
7
6
5
4
3
2
1
0
SMP5[0]
SMP4[2:0]
SMP3[2:0]
SMP2[2:0]
SMP1[2:0]
SMP0[2:0]
Bit
Name
Access
Description
Reset
value
[31:30] Reserved
RO Reserved
0
[29:0] SMPx
RW
SMPx[2:0]: sample time configuration for channel x.
000: 3 cycles; 001: 9 cycles.
010: 15 cycles; 011: 30 cycles.
100: 43 cycles; 101:57 cycles.
110: 73 cycles; 111: 241 cycles.
These bits are used to independently select the sample time
for each channel, and the channel configuration value must
remain constant during the sample cycle.
9.3.6 ADC Injected channel data offset register x (ADC_IOFRx) (x=1/2/3/4)
Offset address: 0x14 + (x-1)*4
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
Reserved
JOFFSETx[11:0]