228
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
sequence channel conversion started (STR). But there are no interrupts associated with these two flags in the ADC.
Note: ADC1 and ADC2 share one interrupt entry, while ADC3 and ADC4 share one interrupt entry.
Table 9-9 ADC interrupt
Interrupt event
Event flags
Enable control bit
Regular sequence or injection conversion is complete
ENDC
ENDCIEN
Injection sequence conversion is complete
JENDC
JENDCIEN
Analog watchdog status bit is set
AWDG
AWDGIEN
Any regular channel interruption is enabled
ENDCA
ENDCAIEN
Any injection channel interruption is enabled
JENDCA
JENDCAIEN
ADC registers
9.12.1
ADC register overview
Table 9-10 ADC register overview
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
000h
ADC_STS
Reserved
JE
ND
C
A
E
ND
C
A
S
T
R
JS
T
R
JE
ND
C
E
ND
C
A
W
DG
Reset Value
0
0
0
0
0
0
0
004h
ADC_CTRL1
Reserved
A
W
DG
E
R
C
H
A
W
DG
E
JC
H
R
es
er
ve
d
DUSEL
DCTU
DJ
C
H
DR
E
GC
H
AU
T
OJ
C
A
W
DG
S
GL
E
N
S
C
AN
M
D
JE
ND
C
IE
N
A
W
DG
IE
N
E
ND
IE
N
AWDGCH
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
008h
ADC_CTRL2
Reserved
T
E
M
P
E
N
S
W
S
T
R
R
C
H
S
W
S
T
R
JC
H
E
XT
R
T
R
IG
E
XT
R
S
E
L
[2:0]
R
es
er
ve
d
E
XT
JT
R
IG
E
XT
JS
E
L
AL
IG
R
es
er
ve
d
E
ND
M
A
R
es
er
ve
d
E
NC
AL
C
T
U
ON
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
00Ch
ADC_ SAMPT1
Reserved
S
AM
P
17[
2:0]
S
AM
P
16[
2:0]
S
AM
P
15[
2:0]
S
AM
P
14[
2:0]
S
AM
P
13[
2:0]
S
AM
P
12[
2:0]
S
AM
P
1
1[
2:0]
S
AM
P
10[
2:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
010h
ADC_ SAMPT2
R
es
er
ve
d
S
AM
P
9[
2:0]
SAMP8[2:0]
S
AM
P
7[
2
:0]
S
AM
P
6[
2:0]
S
AM
P
5[
2:0]
S
AM
P
4[
2:0]
S
AM
P
3[
2:0]
S
AM
P
2[
2:0]
S
AM
P
1[
2:0]
S
AM
P
0[
2:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
014h
ADC_JOFFSET1
Reserved
OFFSETJCH2[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
018h
ADC_JOFFSET2
Reserved
OFFSETJCH2[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
01Ch
ADC_JOFFSET3
Reserved
OFFSETJCH3[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
020h
ADC_JOFFSET4
Reserved
OFFSETJCH4[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
024h
ADC_WDGHIGH
Reserved
HTH[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
028h
ADC_WDGLOW
Reserved
LTH[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
02Ch ADC_RSEQ1
Reserved
LEN[3:0]
SEQ16[4:0]
SEQ15[4:0]
SEQ14[4:0]
SEQ13[4:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
030h
ADC_RSEQ2
R
es
er
ve
d
SEQ12[4:0]
SEQ11[4:0]
SEQ10[4:0]
SEQ9[4:0]
SEQ8[4:0]
SEQ7[4:0]