RM0008 General-purpose and alternate-function I/Os (GPIOs and AFIOs)
Doc ID 13902 Rev 12 161/1096
Figure 18. High impedance-analog configuration
9.1.11 GPIO configurations for device peripherals
Tabl e 22 to Ta bl e 33 give the GPIO configurations of the device peripherals.
From on-chip
peripheral
To on-chip
peripheral
Analog Input
I/O pin
TTL Schmitt
trigger
V
SS
V
DD
or V
DD_FT
(1)
Protection
diode
Protection
diode
off
Input driver
0
Input data register
Output data register
Read/write
Read
Bit set/reset registers
Write
ai14786
Table 22. Advanced timers TIM1/TIM8
TIM1/8 pinout Configuration GPIO configuration
TIM1/8_CHx
Input capture channel x Input floating
Output compare channel x Alternate function push-pull
TIM1/8_CHxN Complementary output channel x Alternate function push-pull
TIM1/8_BKIN Break input Input floating
TIM1/8_ETR External trigger timer input Input floating
Table 23. General-purpose timers TIM2/3/4/5
TIM2/3/4/5 pinout Configuration GPIO configuration
TIM2/3/4/5_CHx
Input capture channel x Input floating
Output compare channel x Alternate function push-pull
TIM2/3/4/5_ETR External trigger timer input Input floating
Table 24. USARTs
USART pinout Configuration GPIO configuration
USARTx_TX
Full duplex Alternate function push-pull
Half duplex synchronous mode Alternate function push-pull