This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用定时器输出pwm,为什么A,B通道不能同时输出,并且如果配置了A通道TimerConfigure(TIMER3_BASE, TIMER_CFG_SPLIT_PAIR | TIMER_CFG_A_PWM); 就会使得B通道输出不了PWM,TimerConfigure(TIMER3_BASE, TIMER_CFG_SPLIT_PAIR | TIMER_CFG_B_PWM);,只有将A通道的这个配置注释掉,B通道才能输出,可是我想用一个定时器输出两路pwm,来控制电机正反转,没那么多定时器给我用了,想知道如何能使一个定时器的AB通道都输出pwm,或者如果只能输出一路的话,前面配置了A通道后TimerConfigure(TIMER3_BASE, TIMER_CFG_SPLIT_PAIR | TIMER_CFG_A_PWM); ,后面应该怎样取消这个配置,转而配置B通道