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.
我有一个简单的问题。 在此示例中,我知道我们通过 EPWM1、 EPWM2、 EPWM3生成6个不同的波形。
每个 PWM 生成一个中断、在这里调用 update_compare()。
我不明白为什么我们这样做:
EPwm1Regs.ETPS.bit.INTPRD = et_3rd; //在发生第三个事件时生成 INT
为什么在第3个事件上生成中断?
为什么不是第一个还是第二个?
您不想在第一个事件发生时中断的实际实现是什么?
谢谢!
标记