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.
在使用epwm模块时,当采用递增计数模式且高电平有效情况下,EPwm1Regs.AQCTLA.bit.PRD=AQ_CLEAR和EPwm1Regs.AQCTLA.bit.ZRO=AQ_CLEAR这两句命令貌似可以产生相同的pwm波形。换句话说,是不是当CTR=0时pwm输出低电平和CTR=PRD时pwm输出低电平是一个意思?两句命令能不能随意选一个用?