General-purpose and alternate-function I/Os (GPIOs and AFIOs)
7.4.4
External interrupt configuration register 2 (AFIO_EXTICR2)
Address offset: 0x0C
Reset value: 0x0000
31
30
29
15
14
13
EXTI7[3:0]
rw
rw
rw
Bits 31:16
Reserved
Bits 15:0 EXTIx[3:0]: EXTI x configuration (x= 4 to 7)
These bits are written by software to select the source input for EXTIx external interrupt.
0000: PA[x] pin
0001: PB[x] pin
0010: PC[x] pin
0011: PD[x] pin
0100: PE[x] pin
0101: PF[x] pin
0110: PG[x] pin
7.4.5
External interrupt configuration register 3 (AFIO_EXTICR3)
Address offset: 0x10
Reset value: 0x0000
31
30
29
15
14
13
EXTI11[3:0]
rw
rw
rw
Bits 31:16
Reserved
Bits 15:0 EXTIx[3:0]: EXTI x configuration (x= 8 to 11)
These bits are written by software to select the source input for EXTIx external interrupt.
0000: PA[x] pin
0001: PB[x] pin
0010: PC[x] pin
0011: PD[x] pin
0100: PE[x] pin
0101: PF[x] pin
0110: PG[x] pin
120/690
28
27
26
25
12
11
10
9
EXTI6[3:0]
rw
rw
rw
rw
28
27
26
25
12
11
10
9
EXTI10[3:0]
rw
rw
rw
rw
24
23
22
21
Reserved
8
7
6
5
EXTI5[3:0]
rw
rw
rw
rw
24
23
22
21
Reserved
8
7
6
5
EXTI9[3:0]
rw
rw
rw
rw
20
19
18
17
4
3
2
1
EXTI4[3:0]
rw
rw
rw
rw
20
19
18
17
4
3
2
1
EXTI8[3:0]
rw
rw
rw
rw
RM0008
16
0
rw
16
0
rw
Need help?
Do you have a question about the STM32F102 Series and is the answer not in the manual?