Myriota UltraLite SDK 2.4.0
Loading...
Searching...
No Matches
System tick

High-resolution system timer access. More...

Functions

MYRIOTA_USER_API uint32_t TickGet (void)
 Get the current system tick.
 

Detailed Description

High-resolution system timer access.

Function Documentation

◆ TickGet()

MYRIOTA_USER_API uint32_t TickGet ( void  )

Get the current system tick.

The system tick increments at a rate of 1000 ticks per second (1 tick = 1 millisecond). It can be used for measuring elapsed time, implementing timeouts, or scheduling tasks with millisecond precision.

Returns
The current system tick in milliseconds.