LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Macros

Macros

#define TPVERSION_MAJOR(x)   ( x >> 48 )
 Extract the major number from a TpVersion_t value.
 
#define TPVERSION_MINOR(x)   ( ( x >> 32 ) & 0xffff )
 Extract the minor number from a TpVersion_t value.
 
#define TPVERSION_RELEASE(x)   ( ( x >> 16 ) & 0xffff )
 Extract the release number from a TpVersion_t value.
 
#define TPVERSION_BUILD(x)   ( x & 0xffff )
 Extract the build number from a TpVersion_t value.
 
#define TPDATE_YEAR(x)   ( x >> 16 )
 Extract year from a TpDate_t value.
 
#define TPDATE_MONTH(x)   ( ( x >> 8 ) & 0xff )
 Extract month from a TpDate_t value.
 
#define TPDATE_DAY(x)   ( x & 0xff )
 Extract day from a TpDate_t value.
 

Detailed Description

Macro Definition Documentation

#define TPVERSION_MAJOR (   x)    ( x >> 48 )

Extract the major number from a TpVersion_t value.

Definition at line 1311 of file libtiepie.h.

#define TPVERSION_MINOR (   x)    ( ( x >> 32 ) & 0xffff )

Extract the minor number from a TpVersion_t value.

Definition at line 1312 of file libtiepie.h.

#define TPVERSION_RELEASE (   x)    ( ( x >> 16 ) & 0xffff )

Extract the release number from a TpVersion_t value.

Definition at line 1313 of file libtiepie.h.

#define TPVERSION_BUILD (   x)    ( x & 0xffff )

Extract the build number from a TpVersion_t value.

Definition at line 1314 of file libtiepie.h.

#define TPDATE_YEAR (   x)    ( x >> 16 )

Extract year from a TpDate_t value.

Definition at line 1316 of file libtiepie.h.

#define TPDATE_MONTH (   x)    ( ( x >> 8 ) & 0xff )

Extract month from a TpDate_t value.

Definition at line 1317 of file libtiepie.h.

#define TPDATE_DAY (   x)    ( x & 0xff )

Extract day from a TpDate_t value.

Definition at line 1318 of file libtiepie.h.