General-purpose and alternate-function I/Os (GPIOs and AFIOs)
TIM2/3/4/5 pinout
TIM2/3/4/5_CHx
TIM2/3/4/5_ETR
USART pinout
USARTx_TX
USARTx_RX
USARTx_CK
USARTx_RTS
USARTx_CTS
1. The USART_TX pin can also be configured as alternate function open drain.
SPI pinout
SPIx_SCK
SPIx_MOSI
SPIx_MISO
SPIx_NSS
167/1128
Table 23. General-purpose timers TIM2/3/4/5
Input capture channel x
Output compare channel x
External trigger timer input
Configuration
Full duplex
(1)
Half duplex synchronous mode
Full duplex
Half duplex synchronous mode
Synchronous mode
Hardware flow control
Hardware flow control
Configuration
Master
Slave
Full duplex / master
Full duplex / slave
Simplex bidirectional data wire / master
Simplex bidirectional data wire/ slave
Full duplex / master
Full duplex / slave (point to point)
Full duplex / slave (multi-slave)
Simplex bidirectional data wire / master
Simplex bidirectional data wire/ slave
(point to point)
Simplex bidirectional data wire/ slave
(multi-slave)
Hardware master /slave
Hardware master/ NSS output enabled
Software
DocID13902 Rev 15
Configuration
Table 24. USARTs
Alternate function push-pull
Alternate function push-pull
Input floating / Input pull-up
Not used. Can be used as a general IO
Alternate function push-pull
Alternate function push-pull
Input floating/ Input pull-up
Table 25. SPI
Alternate function push-pull
Input floating
Alternate function push-pull
Input floating / Input pull-up
Alternate function push-pull
Not used. Can be used as a GPIO
Input floating / Input pull-up
Alternate function push-pull
Alternate function open drain
Not used. Can be used as a GPIO
Alternate function push-pull
Alternate function open drain
Input floating/ Input pull-up / Input pull-down
Alternate function push-pull
Not used. Can be used as a GPIO
GPIO configuration
Input floating
Alternate function push-pull
Input floating
GPIO configuration
GPIO configuration
RM0008
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers