Gpio Register Map; Table 31. Gpio Register Map And Reset Values - STMicroelectronics RM0365 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0365
10.4.12

GPIO register map

The following table gives the GPIO register map and reset values.
Offset
Register
GPIOA_MODER
0x00
Reset value
GPIOB_MODER
0x00
Reset value
GPIOx_MODER
(where x = C..F)
0x00
Reset value
GPIOx_OTYPER
(where x = A..F)
0x04
Reset value
GPIOA_OSPEEDR
0x08
Reset value
GPIOB_OSPEEDR
0x08
Reset value
GPIOx_OSPEEDR
(where x = C..F)
0x08
Reset value
GPIOA_PUPDR
0x0C
Reset value

Table 31. GPIO register map and reset values

1
0
1
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
0
DocID025202 Rev 7
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
0
0
0
0
0
0
General-purpose I/Os (GPIO)
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
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
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
170/1080
171

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RM0365 and is the answer not in the manual?

Questions and answers

Table of Contents