请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC1352P 您好!
获取事件之间经过的时间的方法是什么?
看起来可以使用 AON RTC Get 函数来完成、对吧?
我可以将 GPIO 脉冲发送到示波器、但我更愿意在代码中执行。
谢谢
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.
您好!
获取事件之间经过的时间的方法是什么?
看起来可以使用 AON RTC Get 函数来完成、对吧?
我可以将 GPIO 脉冲发送到示波器、但我更愿意在代码中执行。
谢谢
您好、
您可以为此使用 TIRTOS 时钟模块。
https://dev.ti.com/tirex/content/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/docs/tirtos7/doxygen/m4/html/Clock_8h.html
Clock_getTicks() API 可用于获取节拍数。 知道时钟的周期后、您就可以得到两个节拍计数之间经过的时间。
此致、
SID
PS:如果您不使用 TIRTOS 7、 则 https://dev.ti.com/tirex/content/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/docs/tirtos/sysbios/docs/cdoc/index.html 是时钟模块文档的链接。
此致、
SID