On this page
See more info in the STM32duino repository
PWM Timer Pins
Pin | PWM Timer | Channel | Generic label |
PA_0 | TIM2 | 1 | D0/A0 |
PA_1 (no. alternatives: 1) | TIM2 | 2 | D1/A1 |
PA_1_ALT1 | TIM15 | 1N |
PA_2 (no. alternatives: 1) | TIM2 | 3 | D2/A2 |
PA_2_ALT1 | TIM15 | 1 |
PA_3 (no. alternatives: 1) | TIM2 | 4 | D3/A3 |
PA_3_ALT1 | TIM15 | 2 |
PA_4 | TIM3 | 2 | D4/A4 |
PA_5 | TIM2 | 1 | D5/A5 |
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 (no. alternatives: 1) | TIM1 | 2 | D9 |
PA_9_ALT1 | TIM2 | 3 |
PA_10 (no. alternatives: 1) | TIM1 | 3 | D10 |
PA_10_ALT1 | TIM2 | 4 |
PA_11 (no. alternatives: 2) | TIM1 | 1N | D11 |
PA_11_ALT1 | TIM1 | 4 |
PA_11_ALT2 | TIM4 | 1 |
PA_12 (no. alternatives: 2) | TIM1 | 2N | D12 |
PA_12_ALT1 | TIM4 | 2 |
PA_12_ALT2 | TIM16 | 1 |
PA_13 (no. alternatives: 1) | TIM4 | 3 | D13 |
PA_13_ALT1 | TIM16 | 1N |
PA_14 | TIM8 | 2 | D14 |
PA_15 (no. alternatives: 1) | TIM2 | 1 | D15 |
PA_15_ALT1 | TIM8 | 1 |
PB_0 (no. alternatives: 2) | TIM1 | 2N | D16/A8 |
PB_0_ALT1 | TIM3 | 3 |
PB_0_ALT2 | TIM8 | 2N |
PB_3 (no. alternatives: 1) | TIM2 | 2 | D17 |
PB_3_ALT1 | TIM8 | 1N |
PB_4 (no. alternatives: 2) | TIM3 | 1 | D18 |
PB_4_ALT1 | TIM8 | 2N |
PB_4_ALT2 | TIM16 | 1 |
PB_5 (no. alternatives: 2) | TIM3 | 2 | D19 |
PB_5_ALT1 | TIM8 | 3N |
PB_5_ALT2 | TIM17 | 1 |
PB_6 (no. alternatives: 2) | TIM4 | 1 | D20 |
PB_6_ALT1 | TIM8 | 1 |
PB_6_ALT2 | TIM16 | 1N |
PB_7 (no. alternatives: 2) | TIM3 | 4 | D21 |
PB_7_ALT1 | TIM4 | 2 |
PB_7_ALT2 | TIM17 | 1N |
PB_8 (no. alternatives: 2) | TIM4 | 3 | D22 |
PB_8_ALT1 | TIM8 | 2 |
PB_8_ALT2 | TIM16 | 1 |
PF_0 | TIM1 | 3N | D23/A9 |
ADC Pins
Pin | ADC | Channel | Generic label |
PA_0 (no. alternatives: 1) | ADC1 | 1 | D0/A0 |
PA_0_ALT1 | ADC2 | 1 |
PA_1 (no. alternatives: 1) | ADC1 | 2 | D1/A1 |
PA_1_ALT1 | ADC2 | 2 |
PA_2 | ADC1 | 3 | D2/A2 |
PA_3 | ADC1 | 4 | D3/A3 |
PA_4 | ADC2 | 17 | D4/A4 |
PA_5 | ADC2 | 13 | D5/A5 |
PA_6 | ADC2 | 3 | D6/A6 |
PA_7 | ADC2 | 4 | D7/A7 |
PB_0 (no. alternatives: 1) | ADC1 | 15 | D16/A8 |
PB_0_ALT1 | ADC3 | 12 |
PF_0 | ADC1 | 10 | D23/A9 |
PF_1 | ADC2 | 10 | D24/A10 |
Back to Main Page