LibTiePie  0.4.2
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs 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 TPDATE_DAY (   x)    ( x & 0xff )

Extract day from a TpDate_t value.

Definition at line 1082 of file libtiepie.h.

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

Extract month from a TpDate_t value.

Definition at line 1081 of file libtiepie.h.

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

Extract year from a TpDate_t value.

Definition at line 1080 of file libtiepie.h.

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

Extract the build number from a TpVersion_t value.

Definition at line 1078 of file libtiepie.h.

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

Extract the major number from a TpVersion_t value.

Definition at line 1075 of file libtiepie.h.

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

Extract the minor number from a TpVersion_t value.

Definition at line 1076 of file libtiepie.h.

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

Extract the release number from a TpVersion_t value.

Definition at line 1077 of file libtiepie.h.