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 TIM2 1
PA_1 (no. alternatives: 1) TIM2 2 D1/A1
PA_1_ALT1 TIM2 2
PA_2 (no. alternatives: 1) TIM2 3 D2/A2
PA_2_ALT1 TIM2 3
PA_3 (no. alternatives: 1) TIM2 4 D3/A3
PA_3_ALT1 TIM2 4
PA_6 TIM3 1 D6/A6
PA_7 TIM3 2 D7/A7
PA_15 (no. alternatives: 1) TIM2 1 D15
PA_15_ALT1 TIM2 1
PB_0 (no. alternatives: 1) TIM3 3 D16/A8
PB_0_ALT1 TIM3 3
PB_1 (no. alternatives: 1) TIM3 4 D17/A9
PB_1_ALT1 TIM3 4
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

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

Back to Main Page