5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches

Functions

uint32_t ltrx_elapsed_time_current_ms (uint32_t time_mark)
 Measure time since time mark.
 
uint32_t ltrx_get_uptime_ms (void)
 Get device uptime.
 
uint32_t ltrx_timemark (void)
 Get time mark.
 

Detailed Description

Function Documentation

◆ ltrx_elapsed_time_current_ms()

uint32_t ltrx_elapsed_time_current_ms ( uint32_t time_mark)

Measure time since time mark.

Computes the time duration since the designated time mark was obtained.

Returns
Elapsed time in milliseconds.
Parameters
[in]time_markTime mark from earlier call to ltrx_timemark().

◆ ltrx_get_uptime_ms()

uint32_t ltrx_get_uptime_ms ( void )

Get device uptime.

Returns
Time since bootup in milliseconds.

◆ ltrx_timemark()

uint32_t ltrx_timemark ( void )

Get time mark.

Gets a time mark that can later be input to ltrx_elapsed_time_current_ms() to measure the elapsed time.

Returns
Time mark with resolution in milliseconds.