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产生中断的问题



利用PWM产生中断的时候,PWM1、PWM2、PWM3的周期相同,我每个周期CTR = PRD时产生一个中断,需要对三个PWM子模块都中断使能吗?还是利用其中一个就好了?

  • 利用PWM产生中断的时候,PWM1、PWM2、PWM3的周期相同,我每个周期CTR = PRD时产生一个中断,需要对三个PWM子模块都中断使能吗?还是利用其中一个就好了?

    Eric: 如果你只需要一个周期中断,那么只用PWM1的周期中断就可以了。