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.

DSP28027的EPWM模块时基计数器是否可改写的问题



我构想的代码是这样的,EPWM1模块用增计数的方法输出PWM波。另外用ECAP模块捕获外部信号上升沿后进入ECAP中断,在ECAP的中断函数中我改变了EPWM1模块的时基计数器的值,那么退出中断函数后,我的EPWM1模块工作是否可以从新设定的时基计数器的值开始,继续正常增计数工作呢?