Link
On this page

See more info in the STM32duino repository

PWM Timer Pins

Pin PWM Timer Channel Generic label
PA_0 (no. alternatives: 2) TIM2 1 D0/A0
PA_0_ALT1 TIM5 1
PA_0_ALT2 TIM19 1
PA_1 (no. alternatives: 3) TIM2 2 D1/A1
PA_1_ALT1 TIM5 2
PA_1_ALT2 TIM15 1N
PA_1_ALT3 TIM19 2
PA_2 (no. alternatives: 3) TIM2 3 D2/A2
PA_2_ALT1 TIM5 3
PA_2_ALT2 TIM15 1
PA_2_ALT3 TIM19 3
PA_3 (no. alternatives: 3) TIM2 4 D3/A3
PA_3_ALT1 TIM5 4
PA_3_ALT2 TIM15 2
PA_3_ALT3 TIM19 4
PA_4 (no. alternatives: 1) TIM3 2 D4/A4
PA_4_ALT1 TIM12 1
PA_5 (no. alternatives: 2) TIM2 1 D5/A5
PA_5_ALT1 TIM12 2
PA_5_ALT2 TIM14 1
PA_6 (no. alternatives: 2) TIM3 1 D6/A6
PA_6_ALT1 TIM13 1
PA_6_ALT2 TIM16 1
PA_7 (no. alternatives: 2) TIM3 2 D7/A7
PA_7_ALT1 TIM14 1
PA_7_ALT2 TIM17 1
PA_8 TIM5 1 D8
PA_9 (no. alternatives: 1) TIM2 3 D9
PA_9_ALT1 TIM13 1
PA_10 (no. alternatives: 1) TIM2 4 D10
PA_10_ALT1 TIM14 1
PA_11 (no. alternatives: 1) TIM4 1 D11
PA_11_ALT1 TIM5 2
PA_12 (no. alternatives: 2) TIM4 2 D12
PA_12_ALT1 TIM5 3
PA_12_ALT2 TIM16 1
PA_13 (no. alternatives: 2) TIM4 3 D13
PA_13_ALT1 TIM5 4
PA_13_ALT2 TIM16 1N
PA_14 TIM12 1 D14
PA_15 (no. alternatives: 1) TIM2 1 D15
PA_15_ALT1 TIM12 2
PB_0 (no. alternatives: 1) TIM3 2 D16/A8
PB_0_ALT1 TIM3 3
PB_1 TIM3 4 D17/A9
PB_3 (no. alternatives: 1) TIM2 2 D19
PB_3_ALT1 TIM13 1
PB_4 (no. alternatives: 2) TIM3 1 D20
PB_4_ALT1 TIM15 1N
PB_4_ALT2 TIM16 1
PB_5 (no. alternatives: 1) TIM3 2 D21
PB_5_ALT1 TIM17 1
PB_6 (no. alternatives: 4) TIM3 3 D22
PB_6_ALT1 TIM4 1
PB_6_ALT2 TIM15 1
PB_6_ALT3 TIM16 1N
PB_6_ALT4 TIM19 1
PB_7 (no. alternatives: 4) TIM3 4 D23
PB_7_ALT1 TIM4 2
PB_7_ALT2 TIM15 2
PB_7_ALT3 TIM17 1N
PB_7_ALT4 TIM19 2
PB_8 (no. alternatives: 2) TIM4 3 D24
PB_8_ALT1 TIM16 1
PB_8_ALT2 TIM19 3
PB_9 (no. alternatives: 2) TIM4 4 D25
PB_9_ALT1 TIM17 1
PB_9_ALT2 TIM19 4
PB_10 TIM2 3 D26
PB_14 (no. alternatives: 1) TIM12 1 D27
PB_14_ALT1 TIM15 1
PB_15 (no. alternatives: 2) TIM12 2 D28
PB_15_ALT1 TIM15 1N
PB_15_ALT2 TIM15 2
PC_0 TIM5 1 D29/A10
PC_1 TIM5 2 D30/A11
PC_2 TIM5 3 D31/A12
PC_3 TIM5 4 D32/A13
PC_4 TIM13 1 D33/A14
PC_6 TIM3 1 D35
PC_7 TIM3 2 D36
PC_8 TIM3 3 D37
PC_9 TIM3 4 D38
PC_10 TIM19 1 D39
PC_11 TIM19 2 D40
PC_12 TIM19 3 D41
PD_0 TIM19 4 D45
PD_12 TIM4 1 D57
PD_13 TIM4 2 D58
PD_14 TIM4 3 D59
PD_15 TIM4 4 D60
PF_6 TIM4 4 D81
PF_9 TIM14 1 D82

ADC Pins

Pin ADC Channel Generic label
PA_0 ADC1 0 D0/A0
PA_1 ADC1 1 D1/A1
PA_2 ADC1 2 D2/A2
PA_3 ADC1 3 D3/A3
PA_4 ADC1 4 D4/A4
PA_5 ADC1 5 D5/A5
PA_6 ADC1 6 D6/A6
PA_7 ADC1 7 D7/A7
PB_0 ADC1 8 D16/A8
PB_1 ADC1 9 D17/A9
PC_0 ADC1 10 D29/A10
PC_1 ADC1 11 D30/A11
PC_2 ADC1 12 D31/A12
PC_3 ADC1 13 D32/A13
PC_4 ADC1 14 D33/A14
PC_5 ADC1 15 D34/A15

Back to Main Page