#include <stdint.h>
#include <sys/types.h>
#include <pthread.h>
#include <time.h>
Go to the source code of this file.
◆ BCD_TIME_TO_SECONDS
#define BCD_TIME_TO_SECONDS |
( |
|
x | ) |
|
Value: ((3600 * ((10*((x##_h & 0xF0)>>4)) + (x##_h & 0xF))) + \
(60 * ((10*((x##_m & 0xF0)>>4)) + (x##_m & 0xF))) + \
((10*((x##_s & 0xF0)>>4)) + (x##_s & 0xF)))
Definition at line 23 of file util.h.
◆ HILO
#define HILO |
( |
|
x | ) |
(x##_hi << 8 | x##_lo) |
◆ HILOHILO
#define HILOHILO |
( |
|
x | ) |
(x##_hi_hi << 24 | x##_hi_lo << 16 | x##_lo_hi << 8 | x##_lo_lo) |