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 TIM2 1
PA_0_ALT2 TIM5 1
PA_1 (no. alternatives: 2) TIM2 2 D1/A1
PA_1_ALT1 TIM2 2
PA_1_ALT2 TIM5 2
PA_2 (no. alternatives: 2) TIM2 3 D2/A2
PA_2_ALT1 TIM2 3
PA_2_ALT2 TIM5 3
PA_3 (no. alternatives: 2) TIM2 4 D3/A3
PA_3_ALT1 TIM2 4
PA_3_ALT2 TIM5 4
PA_6 TIM3 1 D6/A6
PA_7 (no. alternatives: 2) TIM1 1N D7/A7
PA_7_ALT1 TIM3 2
PA_7_ALT2 TIM8 1N
PA_8 (no. alternatives: 1) TIM1 1 D8
PA_8_ALT1 TIM1 1
PA_9 (no. alternatives: 1) TIM1 2 D9
PA_9_ALT1 TIM1 2
PA_10 (no. alternatives: 1) TIM1 3 D10
PA_10_ALT1 TIM1 3
PA_11 (no. alternatives: 1) TIM1 4 D11
PA_11_ALT1 TIM1 4
PA_15 (no. alternatives: 1) TIM2 1 D15
PA_15_ALT1 TIM2 1
PB_0 (no. alternatives: 3) TIM1 2N D16/A8
PB_0_ALT1 TIM3 3
PB_0_ALT2 TIM3 3
PB_0_ALT3 TIM8 2N
PB_1 (no. alternatives: 3) TIM1 3N D17/A9
PB_1_ALT1 TIM3 4
PB_1_ALT2 TIM3 4
PB_1_ALT3 TIM8 3N
PB_3 (no. alternatives: 1) TIM2 2 D19
PB_3_ALT1 TIM2 2
PB_4 TIM3 1 D20
PB_5 TIM3 2 D21
PB_6 TIM4 1 D22
PB_7 TIM4 2 D23
PB_8 TIM4 3 D24
PB_9 TIM4 4 D25
PB_10 (no. alternatives: 1) TIM2 3 D26
PB_10_ALT1 TIM2 3
PB_11 (no. alternatives: 1) TIM2 4 D27
PB_11_ALT1 TIM2 4
PB_13 TIM1 1N D29
PB_14 TIM1 2N D30
PB_15 TIM1 3N D31
PC_6 (no. alternatives: 1) TIM3 1 D37
PC_6_ALT1 TIM8 1
PC_7 (no. alternatives: 1) TIM3 2 D38
PC_7_ALT1 TIM8 2
PC_8 (no. alternatives: 1) TIM3 3 D39
PC_8_ALT1 TIM8 3
PC_9 (no. alternatives: 1) TIM3 4 D40
PC_9_ALT1 TIM8 4

ADC Pins

Pin ADC Channel Generic label
PA_0 (no. alternatives: 2) ADC1 0 D0/A0
PA_0_ALT1 ADC2 0
PA_0_ALT2 ADC3 0
PA_1 (no. alternatives: 2) ADC1 1 D1/A1
PA_1_ALT1 ADC2 1
PA_1_ALT2 ADC3 1
PA_2 (no. alternatives: 2) ADC1 2 D2/A2
PA_2_ALT1 ADC2 2
PA_2_ALT2 ADC3 2
PA_3 (no. alternatives: 2) ADC1 3 D3/A3
PA_3_ALT1 ADC2 3
PA_3_ALT2 ADC3 3
PA_4 (no. alternatives: 1) ADC1 4 D4/A4
PA_4_ALT1 ADC2 4
PA_5 (no. alternatives: 1) ADC1 5 D5/A5
PA_5_ALT1 ADC2 5
PA_6 (no. alternatives: 1) ADC1 6 D6/A6
PA_6_ALT1 ADC2 6
PA_7 (no. alternatives: 1) ADC1 7 D7/A7
PA_7_ALT1 ADC2 7
PB_0 (no. alternatives: 1) ADC1 8 D16/A8
PB_0_ALT1 ADC2 8
PB_1 (no. alternatives: 1) ADC1 9 D17/A9
PB_1_ALT1 ADC2 9
PC_0 (no. alternatives: 2) ADC1 10 D32/A10
PC_0_ALT1 ADC2 10
PC_0_ALT2 ADC3 10
PC_1 (no. alternatives: 2) ADC1 11 D33/A11
PC_1_ALT1 ADC2 11
PC_1_ALT2 ADC3 11
PC_2 (no. alternatives: 2) ADC1 12 D34/A12
PC_2_ALT1 ADC2 12
PC_2_ALT2 ADC3 12
PC_4 (no. alternatives: 1) ADC1 14 D35/A13
PC_4_ALT1 ADC2 14
PC_5 (no. alternatives: 1) ADC1 15 D36/A14
PC_5_ALT1 ADC2 15

Back to Main Page