General-purpose and alternate-function I/Os (GPIOs and AFIOs)
7.3.5
ADC alternate function remapping
Refer to
Table 20.
Alternate function
ADC1 external trigger injected
conversion
1. Remap available only for High-density devices.
Table 21.
Alternate function
ADC1 external trigger regular
conversion
1. Remap available only for High-density devices.
Table 22.
Alternate function
ADC2 external trigger injected
conversion
1. Remap available only for High-density devices.
Table 23.
Alternate function
ADC2 external trigger regular
conversion
1. Remap available only for High-density devices.
7.3.6
Timer alternate function remapping
Timer 4 channels 1 to 4 can be remapped from Port B to Port D. Other timer remapping
possibilities are listed in
configuration register
Table 24.
Alternate function
TIM5_CH4
1. Remap available only for High-density devices.
112/690
AF remap and debug I/O configuration register
ADC1 external trigger injected conversion alternate function remapping
ADC1 external trigger regular conversion alternate function remapping
ADC2 external trigger injected conversion alternate function remapping
ADC2 external trigger regular conversion alternate function remapping
Table 26
(AFIO_MAPR).
Timer 5 alternate function remapping
TIM5CH4_IREMAP = 0
TIM5 Channel4 is
connected to PA3
ADC1_ETRGINJ_REMAP = 0
ADC1 external trigger injected
conversion is connected to
EXTI15
ADC1_ETRGREG_REMAP = 0 ADC1_ETRGREG_REMAP = 1
ADC1 external trigger regular
conversion is connected to
EXTI11
ADC2_ETRGINJ_REMAP = 0
ADC2 external trigger injected
conversion is connected to
EXTI 15
ADC2_ETRGREG_REG = 0
ADC2 external trigger regular
conversion is connected to
EXTI11
to
Table
28. Refer to
LSI internal clock is connected to TIM5_CH4
input for calibration purpose.
(AFIO_MAPR).
ADC1_ETRGINJ_REMAP = 1
ADC1 external trigger injected
conversion is connected to
TIM8_CH4
ADC1 external trigger regular
conversion is connected to
TIM8_TRGO
ADC2_ETRGINJ_REMAP = 1
ADC2 external trigger injected
conversion is connected to
TIM8_CH4
ADC2_ETRGREG_REG = 1
ADC2 external trigger regular
conversion is connected to
TIM8_TRGO
AF remap and debug I/O
(1)
TIM5CH4_IREMAP = 1
RM0008
(1)
(1)
(1)
(1)
Need help?
Do you have a question about the STM32F102 Series and is the answer not in the manual?
Questions and answers