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输出切换



您好:

        芯片28379D,现在配置了PWM1和PWM2,shadow mode,设定二者计数器同步,锯齿波调制,计数器等于0时两路PWM都为高电平,计数器等于CMPA时两路PWM都为低电平,AQSFRC[RLDCSF]都设置为11的立即载入模式,二者的CMPA值相同。PWM1目前输出PWM,PWM2处于软件强制拉高状态,在某一时刻,TBCTR已经大于CMPA了,软件强制拉高PWM1,并disable掉PWM2的软件强制功能,那么在下一个TBCLK边沿来临时,正在输出低电平的PWM1被强制拉高,PWM2的计数器也大于CMPA,那么就会续接刚刚的PWM1,输出低电平。

以上说法是否正确?谢谢!