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.

[参考译文] MSP430FR2311:同时使用 COMP 和计时器来对高电平/低电平上的时间进行计数

Guru**** 2943400 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/756895/msp430fr2311-use-comp-and-timer-together-to-count-the-time-on-high-low-level

器件型号:MSP430FR2311

你(们)好

我想使用 COMP 和计时器来捕获 PWM、并计算高低电平上的时间。 我可以从哪个示例开始?

在 msp430fr231x_eCOMP_05.c 上、它只有一个中断标志、我不知道它 是由上升沿或下降沿触发的。 谢谢。