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: how to obtain the system time use SYSBIOS ?

Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

hi,

Does the SYSBIOS system have OSTimeGet function similar to ucos to obtain the system time?

thank you。

  • Hi,

    There is Clock_getTicks which returns the number of ticks. By default, the Clock tick period is 1ms, but should use the Clock_tickPeriod define in conjunction with Clock_getTicks to get the time since calling BIOS_start().

    The Clock module is described in the SYS/BIOS API Reference in the product.

    Todd