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.

[参考译文] RTOS:如何使用 SYSBIOS?获取系统时间

Guru**** 2595905 points
Other Parts Discussed in Thread: SYSBIOS

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/676264/rtos-how-to-obtain-the-system-time-use-sysbios

Thread 中讨论的其他器件:SYSBIOS

工具/软件:TI-RTOS

您好,

SysBIOS 系统是否具有类似于 uCOS 的 OSTimeGet 函数来获取系统时间?

谢谢。

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

    有一个 Clock_getTicks 可返回节拍数。 默认情况下,时钟节拍周期为1ms,但应结合 Clock_tickPeriod 和 Clock_getTicks 使用 Clock 定义,以获取调用 BIOS_start()后的时间。

    时钟模块在产品的 SYS/BIOS API 参考中进行了说明。

    Todd