LibTiePie
0.8.0
Library for interfacing TiePie engineering instruments
|
Macros | |
#define | TPVERSION_MAJOR(x) ( x >> 48 ) |
Extract the major number from a TpVersion_t value. More... | |
#define | TPVERSION_MINOR(x) ( ( x >> 32 ) & 0xffff ) |
Extract the minor number from a TpVersion_t value. More... | |
#define | TPVERSION_RELEASE(x) ( ( x >> 16 ) & 0xffff ) |
Extract the release number from a TpVersion_t value. More... | |
#define | TPVERSION_BUILD(x) ( x & 0xffff ) |
Extract the build number from a TpVersion_t value. More... | |
#define | TPDATE_YEAR(x) ( x >> 16 ) |
Extract year from a TpDate_t value. More... | |
#define | TPDATE_MONTH(x) ( ( x >> 8 ) & 0xff ) |
Extract month from a TpDate_t value. More... | |
#define | TPDATE_DAY(x) ( x & 0xff ) |
Extract day from a TpDate_t value. More... | |
#define | TRIGGER_IO_ID(pgid, sgid, fid) ( ( DN_MAIN << TIOID_SHIFT_DN ) | ( ( pgid ) << TIOID_SHIFT_PGID ) | ( ( sgid ) << TIOID_SHIFT_SGID ) | ( ( fid ) << TIOID_SHIFT_FID ) ) |
#define | COMBI_TRIGGER_IO_ID(dn, tiid) ( ( ( dn ) << TIOID_SHIFT_DN ) | ( ( tiid ) & ( ( 1 << TIOID_SHIFT_DN ) - 1 ) ) ) |
#define TPVERSION_MAJOR | ( | x | ) | ( x >> 48 ) |
Extract the major number from a TpVersion_t value.
Definition at line 1448 of file libtiepie.h.
#define TPVERSION_MINOR | ( | x | ) | ( ( x >> 32 ) & 0xffff ) |
Extract the minor number from a TpVersion_t value.
Definition at line 1449 of file libtiepie.h.
#define TPVERSION_RELEASE | ( | x | ) | ( ( x >> 16 ) & 0xffff ) |
Extract the release number from a TpVersion_t value.
Definition at line 1450 of file libtiepie.h.
#define TPVERSION_BUILD | ( | x | ) | ( x & 0xffff ) |
Extract the build number from a TpVersion_t value.
Definition at line 1451 of file libtiepie.h.
#define TPDATE_YEAR | ( | x | ) | ( x >> 16 ) |
Extract year from a TpDate_t value.
Definition at line 1453 of file libtiepie.h.
#define TPDATE_MONTH | ( | x | ) | ( ( x >> 8 ) & 0xff ) |
Extract month from a TpDate_t value.
Definition at line 1454 of file libtiepie.h.
#define TPDATE_DAY | ( | x | ) | ( x & 0xff ) |
Extract day from a TpDate_t value.
Definition at line 1455 of file libtiepie.h.
#define TRIGGER_IO_ID | ( | pgid, | |
sgid, | |||
fid | |||
) | ( ( DN_MAIN << TIOID_SHIFT_DN ) | ( ( pgid ) << TIOID_SHIFT_PGID ) | ( ( sgid ) << TIOID_SHIFT_SGID ) | ( ( fid ) << TIOID_SHIFT_FID ) ) |
Definition at line 1457 of file libtiepie.h.
#define COMBI_TRIGGER_IO_ID | ( | dn, | |
tiid | |||
) | ( ( ( dn ) << TIOID_SHIFT_DN ) | ( ( tiid ) & ( ( 1 << TIOID_SHIFT_DN ) - 1 ) ) ) |
Definition at line 1459 of file libtiepie.h.