stm32 PWM各通道配置引腳
TIM1_ETR PA12 PE7
TIM1_CH1 PA8 PE9
TIM1_CH2 PA9 PE11
TIM1_CH3 PA10 PE13
TIM1_CH4 PA11 PE14
TIM1_BKIN PB12 PA6 PE15
TIM1_CH1N PB13PA7 PE8
TIM1_CH2N PB14PB0 PE10
TIM1_CH3N PB15 PB1 PE12
TIM2_CH1_ETRPA0 PA15 PA0 PA15
TIM2_CH2 PA1 PB3 PA1 PB3
TIM2_CH3 PA2 PB10
TIM2_CH4 PA3 PB11
TIM3_CH1 PA6 PB4 PC6
TIM3_CH2 PA7 PB5 PC7
TIM3_CH3 PB0 PC8
TIM3_CH4 PB1 PC9
TIM4_CH1 PB6 PD12
TIM4_CH2 PB7 PD13
TIM4_CH3 PB8 PD14
TIM4_CH4 PB9 PD15
TIM5_CH4 TIM5的通道4連至PA3 LSI內部時鐘連至TIM5_CH4的輸入作為校準使用