ST STM32L4 5 Series Reference Manual page 8

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Contents
7.4
CRS low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
7.5
CRS interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
7.6
CRS registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
8
General-purpose I/Os (GPIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
8.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
8.2
GPIO main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
8.3
GPIO functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
8.3.1
8.3.2
8.3.3
8.3.4
8.3.5
8.3.6
8.3.7
8.3.8
8.3.9
8.3.10
8.3.11
8.3.12
8.3.13
8.3.14
8.3.15
8.4
GPIO registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.4.6
8/1830
CRS control register (CRS_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
CRS configuration register (CRS_CFGR) . . . . . . . . . . . . . . . . . . . . . . 285
CRS interrupt and status register (CRS_ISR) . . . . . . . . . . . . . . . . . . . 286
CRS interrupt flag clear register (CRS_ICR) . . . . . . . . . . . . . . . . . . . . 288
CRS register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
General-purpose I/O (GPIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
I/O pin alternate function multiplexer and mapping . . . . . . . . . . . . . . . 293
I/O port control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
I/O port data registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
I/O data bitwise handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
GPIO locking mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
I/O alternate function input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
External interrupt/wakeup lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Input configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Output configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Alternate function configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Analog configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Using the HSE or LSE oscillator pins as GPIOs . . . . . . . . . . . . . . . . . 299
Using the GPIO pins in the RTC supply domain . . . . . . . . . . . . . . . . . 299
Using PH3 as GPIO (only for STM32L496xx/4A6xx devices) . . . . . . . 299
GPIO port mode register (GPIOx_MODER) (x =A..I) . . . . . . . . . . . . . 300
GPIO port output type register (GPIOx_OTYPER) (x = A..I) . . . . . . . . 300
GPIO port output speed register (GPIOx_OSPEEDR)
(x = A..I) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
GPIO port pull-up/pull-down register (GPIOx_PUPDR)
(x = A..I) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
GPIO port input data register (GPIOx_IDR) (x = A..I) . . . . . . . . . . . . . 302
GPIO port output data register (GPIOx_ODR) (x = A..I) . . . . . . . . . . . 302
DocID024597 Rev 5
RM0351

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF