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.

28335 AQCTLA生效时间问题



大家好!

我在第一张图中的A点更新了AQCTLA的值,期望在C点生效。也就是说在第二张图中(CH1: AQCTLA.bit.CAU (AQCTLA.bit.CAD 设置相反), CH2:TBCTR, CH3: PWM, CH4: CMPA),PWM在中间处置0,但是实际在半个周期内都是1.

请问下有什么办法可以在C点处先让PWM置0,然后比较值等于计数器时置1呢?

谢谢!