ST STM32G4 Series Reference Manual page 9

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
8.3.10
8.3.11
8.3.12
8.3.13
8.3.14
8.3.15
8.3.16
8.4
GPIO registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.4.6
8.4.7
8.4.8
8.4.9
8.4.10
8.4.11
8.4.12
9
System configuration controller (SYSCFG) . . . . . . . . . . . . . . . . . . . . 326
9.1
SYSCFG main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
9.2
SYSCFG registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
9.2.1
9.2.2
9.2.3
9.2.4
9.2.5
9.2.6
Output configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Alternate function configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Analog configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Using the HSE or LSE oscillator pins as GPIOs . . . . . . . . . . . . . . . . . 315
Using the GPIO pins in the RTC supply domain . . . . . . . . . . . . . . . . . 315
Using PB8 as GPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Using PG10 as GPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
GPIO port mode register (GPIOx_MODER) (x = A to G) . . . . . . . . . . . 317
GPIO port output type register (GPIOx_OTYPER) (x = A to G) . . . . . . 317
GPIO port output speed register (GPIOx_OSPEEDR)
(x = A to G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
GPIO port pull-up/pull-down register (GPIOx_PUPDR)
(x = A to G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
GPIO port input data register (GPIOx_IDR) (x = A to G) . . . . . . . . . . . 319
GPIO port output data register (GPIOx_ODR) (x = A to G) . . . . . . . . . 319
GPIO port bit set/reset register (GPIOx_BSRR) (x = A to G) . . . . . . . . 319
GPIO port configuration lock register (GPIOx_LCKR)
(x = A to G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
GPIO alternate function low register (GPIOx_AFRL)
(x = A to G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
GPIO alternate function high register (GPIOx_AFRH)
(x = A to G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
GPIO port bit reset register (GPIOx_BRR) (x = A to G) . . . . . . . . . . . . 323
GPIO register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
SYSCFG memory remap register (SYSCFG_MEMRMP) . . . . . . . . . . 326
SYSCFG configuration register 1 (SYSCFG_CFGR1) . . . . . . . . . . . . 327
SYSCFG external interrupt configuration register 1
(SYSCFG_EXTICR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
SYSCFG external interrupt configuration register 2
(SYSCFG_EXTICR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
SYSCFG external interrupt configuration register 3
(SYSCFG_EXTICR3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
SYSCFG external interrupt configuration register 4
(SYSCFG_EXTICR4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
RM0440 Rev 1
Contents
9/2083
47

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF