4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules

Functions

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

Detailed Description

Function Documentation

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().
uint32_t ltrx_get_uptime_ms ( void  )

Get device uptime.

Returns
Time since bootup in milliseconds.
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.