166
/
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
AFIO registers
7.4.1
AFIO register overview
AFIO base address: 0x40010000
Table 7-53 AFIO 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
AFIO_ECTRL
Reserved
E
OE
P
OR
T
_S
E
L
[2:0]
P
IN_SE
L
[3:0]
Reset Value
0
0
0
0
0
0
0
0
004h
AFIO_RMP_CFG
Reserved
S
W
_J
T
AG
_C
F
G[
2:0]
M
II
_R
M
II
_S
E
L
R
es
er
ve
d
AD
C
2_E
T
R
R
AD
C
2_E
T
R
I
AD
C
1_E
T
R
R
AD
C
1_E
T
R
I
T
IM
5C
H4_R
M
P
P
D01_R
M
P
C
AN
1_R
M
P
[1:0]
T
IM
4_R
M
P
T
IM
3_R
M
P
[1:0]
T
IM
2_R
M
P
[1:0]
T
IM
1_R
M
P
[1:0]
USAR
T
3_R
M
P
[1:0]
USAR
T
2_R
M
P
_0
USAR
T
1_R
M
P
I2C
1_R
M
P
S
P
I1_R
M
P
_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
008h
AFIO_EXTI_CFG1
Reserved
EXTI3_CFG[3:0]
EXTI2_CFG[3:0]
EXTI1_CFG[3:0]
EXTI0_CFG[3:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
00Ch
AFIO_EXTI_CFG2
Reserved
EXTI7_CFG[3:0]
EXTI6_CFG[3:0]
EXTI5_CFG[3:0]
EXTI4_CFG[3:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
010h
AFIO_EXTI_CFG3
Reserved
EXTI11_CFG[3:0] EXTI10_CFG[3:0]
EXTI9_CFG[3:0]
EXTI8_CFG[3:0]
Reset Value
0
0
0
0
0
0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