请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F28386S Thread:SYSBIOS 中讨论的其他器件
是否有任何方便的时间函数可以返回微秒或周期?
谢谢。
John
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.
是否有任何方便的时间函数可以返回微秒或周期?
谢谢。
John
John:
由于没有 RTC、因此没有用于 tickount 的 API。 你可以使用一些软的 RTOS (FreeRTOS)来得到 tic 计数。
也可以使用 CPUTimer 和读取计数器。
您可以访问以下链接、通过 TI SysBIOS 获取 tickcount: