Firmware SDK
twr_tick

Timestamp functions. More...

Macros

#define TWR_TICK_INFINITY   UINT64_C(0xffffffffffffffff)
 Maximum timestamp value.
 

Typedefs

typedef uint64_t twr_tick_t
 Timestamp data type.
 

Functions

twr_tick_t twr_tick_get (void)
 Get absolute timestamp since start of program. More...
 
void twr_tick_wait (twr_tick_t delay)
 Delay execution for specified amount of ticks. More...
 
void twr_tick_increment_irq (twr_tick_t delta)
 

Detailed Description

Timestamp functions.

Function Documentation

◆ twr_tick_get()

◆ twr_tick_wait()

void twr_tick_wait ( twr_tick_t  delay)

Delay execution for specified amount of ticks.

Parameters
[in]delayNumber of ticks to wait

Definition at line 23 of file twr_tick.c.

Here is the call graph for this function: