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_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/A8 |
PA_9 (no. alternatives: 1) | TIM1 | 2 | D9/A9 |
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/A10 |
PB_0_ALT1 | TIM3 | 3 |
PB_0_ALT2 | TIM8 | 2N |
PB_1 (no. alternatives: 2) | TIM1 | 3N | D17/A11 |
PB_1_ALT1 | TIM3 | 4 |
PB_1_ALT2 | TIM8 | 3N |
PB_2 (no. alternatives: 1) | TIM5 | 1 | D18/A12 |
PB_2_ALT1 | TIM20 | 1 |
PB_3 (no. alternatives: 1) | TIM2 | 2 | D19 |
PB_3_ALT1 | TIM8 | 1N |
PB_4 (no. alternatives: 2) | TIM3 | 1 | D20 |
PB_4_ALT1 | TIM8 | 2N |
PB_4_ALT2 | TIM16 | 1 |
PB_5 (no. alternatives: 2) | TIM3 | 2 | D21 |
PB_5_ALT1 | TIM8 | 3N |
PB_5_ALT2 | TIM17 | 1 |
PB_6 (no. alternatives: 2) | TIM4 | 1 | D22 |
PB_6_ALT1 | TIM8 | 1 |
PB_6_ALT2 | TIM16 | 1N |
PB_7 (no. alternatives: 2) | TIM3 | 4 | D23 |
PB_7_ALT1 | TIM4 | 2 |
PB_7_ALT2 | TIM17 | 1N |
PB_8 (no. alternatives: 2) | TIM4 | 3 | D24 |
PB_8_ALT1 | TIM8 | 2 |
PB_8_ALT2 | TIM16 | 1 |
PB_9 (no. alternatives: 3) | TIM1 | 3N | D25 |
PB_9_ALT1 | TIM4 | 4 |
PB_9_ALT2 | TIM8 | 3 |
PB_9_ALT3 | TIM17 | 1 |
PB_10 | TIM2 | 3 | D26 |
PB_11 | TIM2 | 4 | D27/A13 |
PB_13 | TIM1 | 1N | D29/A15 |
PB_14 (no. alternatives: 1) | TIM1 | 2N | D30/A16 |
PB_14_ALT1 | TIM15 | 1 |
PB_15 (no. alternatives: 2) | TIM1 | 3N | D31/A17 |
PB_15_ALT1 | TIM15 | 1N |
PB_15_ALT2 | TIM15 | 2 |
PC_0 | TIM1 | 1 | D32/A18 |
PC_1 | TIM1 | 2 | D33/A19 |
PC_2 (no. alternatives: 1) | TIM1 | 3 | D34/A20 |
PC_2_ALT1 | TIM20 | 2 |
PC_3 | TIM1 | 4 | D35/A21 |
PC_5 | TIM1 | 4N | D37/A23 |
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: 2) | TIM3 | 3 | D40 |
PC_8_ALT1 | TIM8 | 3 |
PC_8_ALT2 | TIM20 | 3 |
PC_9 (no. alternatives: 1) | TIM3 | 4 | D41 |
PC_9_ALT1 | TIM8 | 4 |
PC_10 | TIM8 | 1N | D42 |
PC_11 | TIM8 | 2N | D43 |
PC_12 (no. alternatives: 1) | TIM5 | 2 | D44 |
PC_12_ALT1 | TIM8 | 3N |
PC_13 (no. alternatives: 1) | TIM1 | 1N | D45 |
PC_13_ALT1 | TIM8 | 4N |
PD_0 | TIM8 | 4N | D48 |
PD_1 | TIM8 | 4 | D49 |
PD_3 | TIM2 | 1 | D51 |
PD_4 | TIM2 | 2 | D52 |
PD_6 | TIM2 | 4 | D54 |
PD_7 | TIM2 | 3 | D55 |
PD_12 | TIM4 | 1 | D60/A28 |
PD_13 | TIM4 | 2 | D61/A29 |
PD_14 | TIM4 | 3 | D62/A30 |
PD_15 | TIM4 | 4 | D63 |
PE_0 (no. alternatives: 1) | TIM16 | 1 | D64 |
PE_0_ALT1 | TIM20 | 4N |
PE_1 (no. alternatives: 1) | TIM17 | 1 | D65 |
PE_1_ALT1 | TIM20 | 4 |
PE_2 (no. alternatives: 1) | TIM3 | 1 | D66 |
PE_2_ALT1 | TIM20 | 1 |
PE_3 (no. alternatives: 1) | TIM3 | 2 | D67 |
PE_3_ALT1 | TIM20 | 2 |
PE_4 (no. alternatives: 1) | TIM3 | 3 | D68 |
PE_4_ALT1 | TIM20 | 1N |
PE_5 (no. alternatives: 1) | TIM3 | 4 | D69 |
PE_5_ALT1 | TIM20 | 2N |
PE_6 | TIM20 | 3N | D70 |
PE_8 (no. alternatives: 1) | TIM1 | 1N | D72/A32 |
PE_8_ALT1 | TIM5 | 3 |
PE_9 (no. alternatives: 1) | TIM1 | 1 | D73/A33 |
PE_9_ALT1 | TIM5 | 4 |
PE_10 | TIM1 | 2N | D74/A34 |
PE_11 | TIM1 | 2 | D75/A35 |
PE_12 | TIM1 | 3N | D76/A36 |
PE_13 | TIM1 | 3 | D77/A37 |
PE_14 | TIM1 | 4 | D78/A38 |
PE_15 | TIM1 | 4N | D79/A39 |
PF_0 | TIM1 | 3N | D80/A40 |
PF_2 | TIM20 | 3 | D82 |
PF_3 | TIM20 | 4 | D83 |
PF_4 | TIM20 | 1N | D84 |
PF_5 | TIM20 | 2N | D85 |
PF_6 (no. alternatives: 1) | TIM4 | 4 | D86 |
PF_6_ALT1 | TIM5 | 1 |
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 |
PF_12 | TIM20 | 1 | D92 |
PF_13 | TIM20 | 2 | D93 |
PF_14 | TIM20 | 3 | D94 |
PF_15 | TIM20 | 4 | D95 |
PG_0 | TIM20 | 1N | D96 |
PG_1 | TIM20 | 2N | D97 |
PG_2 | TIM20 | 3N | D98 |
PG_3 | TIM20 | 4N | D99 |
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 |
PA_8 | ADC5 | 1 | D8/A8 |
PA_9 | ADC5 | 2 | D9/A9 |
PB_0 (no. alternatives: 1) | ADC1 | 15 | D16/A10 |
PB_0_ALT1 | ADC3 | 12 |
PB_1 (no. alternatives: 1) | ADC1 | 12 | D17/A11 |
PB_1_ALT1 | ADC3 | 1 |
PB_2 | ADC2 | 12 | D18/A12 |
PB_11 (no. alternatives: 1) | ADC1 | 14 | D27/A13 |
PB_11_ALT1 | ADC2 | 14 |
PB_12 (no. alternatives: 1) | ADC1 | 11 | D28/A14 |
PB_12_ALT1 | ADC4 | 3 |
PB_13 | ADC3 | 5 | D29/A15 |
PB_14 (no. alternatives: 1) | ADC1 | 5 | D30/A16 |
PB_14_ALT1 | ADC4 | 4 |
PB_15 (no. alternatives: 1) | ADC2 | 15 | D31/A17 |
PB_15_ALT1 | ADC4 | 5 |
PC_0 (no. alternatives: 1) | ADC1 | 6 | D32/A18 |
PC_0_ALT1 | ADC2 | 6 |
PC_1 (no. alternatives: 1) | ADC1 | 7 | D33/A19 |
PC_1_ALT1 | ADC2 | 7 |
PC_2 (no. alternatives: 1) | ADC1 | 8 | D34/A20 |
PC_2_ALT1 | ADC2 | 8 |
PC_3 (no. alternatives: 1) | ADC1 | 9 | D35/A21 |
PC_3_ALT1 | ADC2 | 9 |
PC_4 | ADC2 | 5 | D36/A22 |
PC_5 | ADC2 | 11 | D37/A23 |
PD_8 (no. alternatives: 1) | ADC4 | 12 | D56/A24 |
PD_8_ALT1 | ADC5 | 12 |
PD_9 (no. alternatives: 1) | ADC4 | 13 | D57/A25 |
PD_9_ALT1 | ADC5 | 13 |
PD_10 (no. alternatives: 2) | ADC3 | 7 | D58/A26 |
PD_10_ALT1 | ADC4 | 7 |
PD_10_ALT2 | ADC5 | 7 |
PD_11 (no. alternatives: 2) | ADC3 | 8 | D59/A27 |
PD_11_ALT1 | ADC4 | 8 |
PD_11_ALT2 | ADC5 | 8 |
PD_12 (no. alternatives: 2) | ADC3 | 9 | D60/A28 |
PD_12_ALT1 | ADC4 | 9 |
PD_12_ALT2 | ADC5 | 9 |
PD_13 (no. alternatives: 2) | ADC3 | 10 | D61/A29 |
PD_13_ALT1 | ADC4 | 10 |
PD_13_ALT2 | ADC5 | 10 |
PD_14 (no. alternatives: 2) | ADC3 | 11 | D62/A30 |
PD_14_ALT1 | ADC4 | 11 |
PD_14_ALT2 | ADC5 | 11 |
PE_7 | ADC3 | 4 | D71/A31 |
PE_8 (no. alternatives: 2) | ADC3 | 6 | D72/A32 |
PE_8_ALT1 | ADC4 | 6 |
PE_8_ALT2 | ADC5 | 6 |
PE_9 | ADC3 | 2 | D73/A33 |
PE_10 (no. alternatives: 2) | ADC3 | 14 | D74/A34 |
PE_10_ALT1 | ADC4 | 14 |
PE_10_ALT2 | ADC5 | 14 |
PE_11 (no. alternatives: 2) | ADC3 | 15 | D75/A35 |
PE_11_ALT1 | ADC4 | 15 |
PE_11_ALT2 | ADC5 | 15 |
PE_12 (no. alternatives: 2) | ADC3 | 16 | D76/A36 |
PE_12_ALT1 | ADC4 | 16 |
PE_12_ALT2 | ADC5 | 16 |
PE_13 | ADC3 | 3 | D77/A37 |
PE_14 | ADC4 | 1 | D78/A38 |
PE_15 | ADC4 | 2 | D79/A39 |
PF_0 | ADC1 | 10 | D80/A40 |
PF_1 | ADC2 | 10 | D81/A41 |
Back to Main Page