方向相关。STM32_TIM输出PWM配置详细过程:http://blog.csdn.net/ybhuangfugui/article/details/51581689http://blog.csdn.net/ybhuangfugui/article/details/51867044