Function in stdx_time.h

x_timer_elapsed

Get the elapsed time since a timer was started.

XTime x_timer_elapsed(const XTimer *t);

Parameters

const XTimer *t
Pointer to an initialized timer.

Returns

Elapsed time as an XTime value.