Ciao Richard
阅读参考手册我看到可以在TRGI上启用中断(TIM1_IER位TIE),因此如果在TIM1_SMCR中设置输入触发(TRGI = ERTF),那么当ETR作用于PWM时可以产生中断信号。
如果有效,请告诉我
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Richard
Reading the reference manual I see that is possible to enable the interrupt on TRGI (TIM1_IER bit TIE), so if you set the input trigger (TRGI = ERTF) in the TIM1_SMCR, then you can have an interrupt when the ETR acts on the PWM signals.
Let me know if it works
Ciao
Gigi
Ciao Richard
阅读参考手册我看到可以在TRGI上启用中断(TIM1_IER位TIE),因此如果在TIM1_SMCR中设置输入触发(TRGI = ERTF),那么当ETR作用于PWM时可以产生中断信号。
如果有效,请告诉我
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Richard
Reading the reference manual I see that is possible to enable the interrupt on TRGI (TIM1_IER bit TIE), so if you set the input trigger (TRGI = ERTF) in the TIM1_SMCR, then you can have an interrupt when the ETR acts on the PWM signals.
Let me know if it works
Ciao
Gigi
举报