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.
您好、Sahan、
对于通用定时器操作、请参阅 TI 驱动程序运行时 API 中的 GPTimerCC26XX.h。 有关时钟模块、请参阅 TI-RTOS 内核运行时 API 的 ti.sysbios.KNL.Clock 信息(Clock_getTicks 返回时钟节拍的时间)。 还 提供了 TI-RTOS 内核时钟示例。
此致、
Ryan
您好、Ryan、
您能否解释一下以时钟节拍为单位的实际时间。 它以毫秒为单位提供时间。
此致、
Sahan
您好!
在我的代码中、我使用了2个时钟。
Clock_start (Clock_handle (&samplpleClock);
clock_start (Clock_handle (&testClock);
时间= Clock_getTicks();
我想分别获取 samplpleClock 和 testClock 中的时间。
谢谢你
CC13xx/CC26xx 器件的系统时长为10微秒、例如、将超时值设置为5000将持续5000个周期或50ms。 您可以使用 Clock_getTimeout 返回活动时钟实例的剩余时间(否则为零)。 您可以使用 Clock_getTicks 了解系统时间。
此致、
Ryan