Other Parts Discussed in Thread: SYSBIOS
Thread 中讨论的其他器件:SYSBIOS
工具/软件:TI-RTOS
您好!
在 TI_RTOS 中、是否有任何复位纳秒的设置?
通过使用 seconds_getTime (&ts);API、我们将获得秒和纳秒。
有一个选项可设置秒。 比如、是否有复位纳秒的选项?
需要快速回复。
此致、
Prem Kumar。
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.
Other Parts Discussed in Thread: SYSBIOS
工具/软件:TI-RTOS
您好!
在 TI_RTOS 中、是否有任何复位纳秒的设置?
通过使用 seconds_getTime (&ts);API、我们将获得秒和纳秒。
有一个选项可设置秒。 比如、是否有复位纳秒的选项?
需要快速回复。
此致、
Prem Kumar。
Prem、
否,v6.45内核中不提供 seconds_setTime()函数。 我刚刚检查了这个函数、这个函数在去年10月被添加为一个新的内核 API。 您将需要使用 SYS/BIOS v6.75或更高版本来获得此 API。 您可以在6.75下载页面中看到 API 的说明: software-dl.ti.com/.../index_FDS.html,单击“API Documentation”,然后导航至 ti.sysbios.hal.seconds
很抱歉,我没有意识到这是最近才添加的,我是在之前回复您的。
此致、
Scott