EasyManuals Logo

ST STM32F102 series User Manual

ST STM32F102 series
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
RM0008 General-purpose and alternate-function I/Os (GPIOs and AFIOs)
121/690
7.4.6 External interrupt configuration register 4 (AFIO_EXTICR4)
Address offset: 0x14
Reset value: 0x0000
7.5 GPIO and AFIO register maps
Refer to Table 1 on page 36 for the register boundary addresses. The following tables give
the GPIO and AFIO register map and the reset values.
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
EXTI15[3:0] EXTI14[3:0] EXTI13[3:0] EXTI12[3:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:16 Reserved
Bits 15:0 EXTIx[3:0]: EXTI x configuration (x= 12 to 15)
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
Table 34. GPIO register map and reset values
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
0x00
GPIOx_CRL
CNF
7
[1:0]
MODE
7
[1:0]
CNF
6
[1:0]
MODE
6
[1:0]
CNF
5
[1:0]
MODE
5
[1:0]
CNF
4
[1:0]
MODE
4
[1:0]
CNF
3
[1:0]
MODE
3
[1:0]
CNF
2
[1:0]
MODE
2
[1:0]
CNF
1
[1:0]
MODE
1
[1:0]
CNF
0
[1:0]
MODE
0
[1:0]
Reset value 01000100010001000100010001000100
0x04
GPIOx_CRH
CNF
15
[1:0]
MODE
15
[1:0]
CNF
14
[1:0]
MODE
14
[1:0]
CNF
13
[1:0]
MODE
13
[1:0]
CNF
12
[1:0]
MODE
12
[1:0]
CNF
11
[1:0]
MODE
11
[1:0]
CNF
10
[1:0]
MODE
10
[1:0]
CNF
9
[1:0]
MODE
9
[1:0]
CNF
8
[1:0]
MODE
8
[1:0]
Reset value 01000100010001000100010001000100
0x08
GPIOx_IDR
Reserved
IDR[15:0]l
Reset value 0000000000000000
0x0C
GPIOx_ODR
Reserved
ODR[15:0]
Reset value 0000000000000000
0x10
GPIOx_BSRR BR[15:0] BSR[15:0]
Reset value 00000000000000000000000000000000
0x14
GPIOx_BRR
Reserved
BR[15:0]
Reset value 0000000000000000
0x18
GPIOx_LCKR
Reserved
LCKK
LCK[15:0]
Reset value 00000000000000000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F102 series and is the answer not in the manual?

ST STM32F102 series Specifications

General IconGeneral
BrandST
ModelSTM32F102 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals