Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_tick.h
1 #ifndef _BC_TICK_H
2 #define _BC_TICK_H
3 
4 #include <bc_common.h>
5 
9 
11 
12 #define BC_TICK_INFINITY UINT64_C(0xffffffffffffffff)
13 
15 
16 typedef uint64_t bc_tick_t;
17 
20 
22 
25 
26 void bc_tick_wait(bc_tick_t delay);
27 
28 void bc_tick_inrement_irq(bc_tick_t delta);
29 
31 
32 #endif // _BC_TICK_H
void bc_tick_wait(bc_tick_t delay)
Delay execution for specified amount of ticks.
Definition: bc_tick.c:23
uint64_t bc_tick_t
Timestamp data type.
Definition: bc_tick.h:16
bc_tick_t bc_tick_get(void)
Get absolute timestamp since start of program.
Definition: bc_tick.c:7