#include <inttypes.h>
#include <pthread.h>
#include <sys/types.h>
Go to the source code of this file.
◆ HLC_EXP
#define HLC_EXP |
( |
|
errcode, |
|
|
|
usercode |
|
) |
| ((((errcode)&0xffffffffull) << 32) | ((usercode)&0xffffffffull)) |
◆ HLC_EXP_READ_RTC
#define HLC_EXP_READ_RTC |
( |
|
x | ) |
HLC_EXP(0, (x)) |
◆ HLC_EXP_SPIN_DESTROY
#define HLC_EXP_SPIN_DESTROY |
( |
|
x | ) |
HLC_EXP(2, (x)) |
◆ HLC_EXP_SPIN_INIT
#define HLC_EXP_SPIN_INIT |
( |
|
x | ) |
HLC_EXP(1, (x)) |
◆ HLC_EXP_SPIN_LOCK
#define HLC_EXP_SPIN_LOCK |
( |
|
x | ) |
HLC_EXP(3, (x)) |
◆ HLC_EXP_SPIN_UNLOCK
#define HLC_EXP_SPIN_UNLOCK |
( |
|
x | ) |
HLC_EXP(4, (x)) |
◆ HLC_EXP_USERCODE
#define HLC_EXP_USERCODE |
( |
|
x | ) |
((uint32_t)((x)&0xffffffffull)) |
◆ read_rtc_us()