General-purpose I/Os (GPIO)
8.4.12
GPIO register map
The following table gives the GPIO register map and reset values.
Offset Register name
GPIOA_MODER
0x00
Reset value
GPIOB_MODER
0x00
Reset value
GPIOx_MODER
(where x = )
0x00
Reset value
GPIOx_OTYPER
(where x = )
0x04
Reset value
GPIOA_OSPEEDR
0x08
Reset value
GPIOx_OSPEEDR
(where x = )
0x08
Reset value
GPIOA_PUPDR
0x0C
Reset value
GPIOB_PUPDR
0x0C
Reset value
GPIOx_PUPDR
(where x = )
0x0C
Reset value
GPIOx_IDR
(where x = )
0x10
Reset value
324/2083
Table 46. GPIO register map and reset values
1
0
1
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1 1 1 1
1
1
1
1
1
1
1
1 1 1 1
1
1
1
1
1
1
1
1 1 1 1
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
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
x
RM0440 Rev 1
1
1
1
1
1 1 1 1 1 1 1 1
1
1
1
0
1 0 1 1 1 1 1 1
1
1
1
1
1 1 1 1 1 1 1 1
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 0 0 0 0
0
0
0
0
0 0 0 0 0 0 0 0
0
0
0
1
0 0 0 0 0 0 0 0
0
0
0
0
0 0 0 0 0 0 0 0
x
x
x
x
x
x
x
x
x
RM0440
x
x
x
x
x
x
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?