在CLA程序中给模拟比较器的RAMPMAXREF_SHDW赋值时导致我PWM中断的标志位不能清除,进而不能再进PWM中断。
上面是PWM1 的中断标志位。
在CLA中把RAMPMAXREF_SHDW赋值注销后中断标志位就能清除。
cla是ADC触发的
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.