Link
On this page

See more info in the STM32duino repository

PWM Timer Pins

Pin PWM Timer Channel Generic label
PA_0 (no. alternatives: 1) TIM2 1 D0/A0
PA_0_ALT1 TIM5 1
PA_1 (no. alternatives: 2) TIM2 2 D1/A1
PA_1_ALT1 TIM5 2
PA_1_ALT2 TIM15 1N
PA_2 (no. alternatives: 2) TIM2 3 D2/A2
PA_2_ALT1 TIM5 3
PA_2_ALT2 TIM15 1
PA_3 (no. alternatives: 2) TIM2 4 D3/A3
PA_3_ALT1 TIM5 4
PA_3_ALT2 TIM15 2
PA_5 (no. alternatives: 1) TIM2 1 D5/A5
PA_5_ALT1 TIM8 1N
PA_6 (no. alternatives: 1) TIM3 1 D6/A6
PA_6_ALT1 TIM16 1
PA_7 (no. alternatives: 3) TIM1 1N D7/A7
PA_7_ALT1 TIM3 2
PA_7_ALT2 TIM8 1N
PA_7_ALT3 TIM17 1
PA_8 TIM1 1 D8
PA_9 TIM1 2 D9
PA_10 TIM1 3 D10
PA_11 TIM1 4 D11
PA_15 TIM2 1 D15
PB_0 (no. alternatives: 2) TIM1 2N D16/A8
PB_0_ALT1 TIM3 3
PB_0_ALT2 TIM8 2N
PB_1 (no. alternatives: 2) TIM1 3N D17/A9
PB_1_ALT1 TIM3 4
PB_1_ALT2 TIM8 3N
PB_2 TIM8 4N D18/A10
PB_3 TIM2 2 D19
PB_4 TIM3 1 D20
PB_5 TIM3 2 D21
PB_6 (no. alternatives: 1) TIM4 1 D22
PB_6_ALT1 TIM16 1N
PB_7 (no. alternatives: 1) TIM4 2 D23
PB_7_ALT1 TIM17 1N
PB_8 (no. alternatives: 1) TIM4 3 D24
PB_8_ALT1 TIM16 1
PB_9 (no. alternatives: 1) TIM4 4 D25
PB_9_ALT1 TIM17 1
PB_10 TIM2 3 D26
PB_11 TIM2 4 D27
PB_13 (no. alternatives: 1) TIM1 1N D29
PB_13_ALT1 TIM15 1N
PB_14 (no. alternatives: 2) TIM1 2N D30
PB_14_ALT1 TIM8 2N
PB_14_ALT2 TIM15 1
PB_15 (no. alternatives: 2) TIM1 3N D31
PB_15_ALT1 TIM8 3N
PB_15_ALT2 TIM15 2
PC_5 TIM1 4N D37/A16
PC_6 (no. alternatives: 1) TIM3 1 D38
PC_6_ALT1 TIM8 1
PC_7 (no. alternatives: 1) TIM3 2 D39
PC_7_ALT1 TIM8 2
PC_8 (no. alternatives: 1) TIM3 3 D40
PC_8_ALT1 TIM8 3
PC_9 (no. alternatives: 1) TIM3 4 D41
PC_9_ALT1 TIM8 4
PD_0 TIM8 4N D48
PD_12 TIM4 1 D60/A18
PD_13 TIM4 2 D61/A19
PD_14 TIM4 3 D62
PD_15 TIM4 4 D63
PE_0 TIM16 1 D64
PE_1 TIM17 1 D65
PE_3 TIM3 1 D67
PE_4 TIM3 2 D68
PE_5 TIM3 3 D69
PE_6 TIM3 4 D70
PE_8 TIM1 1N D72
PE_9 TIM1 1 D73
PE_10 TIM1 2N D74
PE_11 TIM1 2 D75
PE_12 TIM1 3N D76
PE_13 TIM1 3 D77
PE_14 TIM1 4 D78
PE_15 TIM1 4N D79
PF_6 TIM5 1 D86
PF_7 TIM5 2 D87
PF_8 TIM5 3 D88
PF_9 (no. alternatives: 1) TIM5 4 D89
PF_9_ALT1 TIM15 1
PF_10 TIM15 2 D90
PG_9 TIM15 1N D105
PG_10 TIM15 1 D106
PG_11 TIM15 2 D107
PH_10 TIM5 1 D122
PH_11 TIM5 2 D123
PH_12 (no. alternatives: 1) TIM5 3 D124
PH_12_ALT1 TIM8 4N
PH_13 TIM8 1N D125
PH_14 TIM8 2N D126
PH_15 TIM8 3N D127
PI_0 TIM5 4 D128
PI_2 TIM8 4 D130
PI_5 TIM8 1 D133
PI_6 TIM8 2 D134
PI_7 TIM8 3 D135

ADC Pins

Pin ADC Channel Generic label
PA_0 ADC1 5 D0/A0
PA_1 ADC1 6 D1/A1
PA_2 ADC1 7 D2/A2
PA_3 ADC1 8 D3/A3
PA_4 (no. alternatives: 1) ADC1 9 D4/A4
PA_4_ALT1 ADC4 9
PA_5 (no. alternatives: 1) ADC1 10 D5/A5
PA_5_ALT1 ADC4 10
PA_6 (no. alternatives: 1) ADC1 11 D6/A6
PA_6_ALT1 ADC4 11
PA_7 (no. alternatives: 1) ADC1 12 D7/A7
PA_7_ALT1 ADC4 20
PB_0 (no. alternatives: 1) ADC1 15 D16/A8
PB_0_ALT1 ADC4 18
PB_1 (no. alternatives: 1) ADC1 16 D17/A9
PB_1_ALT1 ADC4 19
PB_2 ADC1 17 D18/A10
PC_0 (no. alternatives: 1) ADC1 1 D32/A11
PC_0_ALT1 ADC4 1
PC_1 (no. alternatives: 1) ADC1 2 D33/A12
PC_1_ALT1 ADC4 2
PC_2 (no. alternatives: 1) ADC1 3 D34/A13
PC_2_ALT1 ADC4 3
PC_3 (no. alternatives: 1) ADC1 4 D35/A14
PC_3_ALT1 ADC4 4
PC_4 (no. alternatives: 1) ADC1 13 D36/A15
PC_4_ALT1 ADC4 22
PC_5 (no. alternatives: 1) ADC1 14 D37/A16
PC_5_ALT1 ADC4 23
PD_11 ADC4 15 D59/A17
PD_12 ADC4 16 D60/A18
PD_13 ADC4 17 D61/A19
PF_14 ADC4 5 D94/A20
PF_15 ADC4 6 D95/A21
PG_0 ADC4 7 D96/A22
PG_1 ADC4 8 D97/A23

Back to Main Page