LibTiePie  0.4.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages
Types

Description

Typedefs

typedef void(* TpCallback_t )(void *pData)
 
typedef int32_t LibTiePieStatus_t
 LibTiePie status code. More...
 
typedef uint32_t TpDeviceHandle_t
 Device handle. More...
 
typedef uint64_t TpVersion_t
 Data type representing a version number. More...
 
typedef uint32_t TpDate_t
 Data type representing a date. More...
 
typedef uint8_t bool8_t
 Boolean value one byte wide. More...
 
typedef uint8_t LibTiePieTriState_t
 TriState value one byte wide. More...
 
typedef void ** LibTiePiePointerArray_t
 Pointer array. More...
 

Typedef Documentation

typedef void(* TpCallback_t)(void *pData)

Definition at line 753 of file libtiepie.h.

typedef int32_t LibTiePieStatus_t

LibTiePie status code.

See also
Status return codes

Definition at line 1285 of file libtiepie.h.

typedef uint32_t TpDeviceHandle_t

Device handle.

See also
OpenDev

Definition at line 1286 of file libtiepie.h.

typedef uint64_t TpVersion_t

Data type representing a version number.

The version number is a packed type containing:

  • Major number in bits 63 to 48, use macro TPVERSION_MAJOR to extract the major number.
  • Minor number in bits 47 to 32, use macro TPVERSION_MINOR to extract the minor number.
  • Release number in bits 31 to 16, use macro TPVERSION_RELEASE to extract the release number.
  • Build number in bits 15 to 0, use macro TPVERSION_BUILD to extract the build number.
See also
LibGetVersion()
LstDevGetDriverVersion()
LstDevGetRecommendedDriverVersion()
LstDevGetFirmwareVersion()
DevGetDriverVersion()
DevGetFirmwareVersion()
Example
uint16_t wMajor = TPVERSION_MAJOR( Version );
uint16_t wMinor = TPVERSION_MINOR( Version );
uint16_t wRelease = TPVERSION_RELEASE( Version );
uint16_t wBuild = TPVERSION_BUILD( Version );
printf( "LibGetVersion = %u.%u.%u.%u\n" , wMajor , wMinor , wRelease , wBuild );

Definition at line 1317 of file libtiepie.h.

typedef uint32_t TpDate_t

Data type representing a date.

The date is a packed type containing:

  • Year in bits 31 to 16, use macro TPDATE_YEAR to extract the year
  • Month in bits 15 to 8, use macro TPDATE_MONTH to extract the month
  • Day in bits 7 to 0, use macro TPDATE_DAY to extract the day
See also
LstDevGetCalibrationDate()
LstCbDevGetCalibrationDate()
DevGetCalibrationDate()
Example
TpDate_t Date = DevGetCalibrationDate( hDevice );
uint16_t wYear = TPDATE_YEAR( Date );
uint8_t byMonth = TPDATE_MONTH( Date );
uint8_t byDay = TPDATE_DAY( Date );

Definition at line 1338 of file libtiepie.h.

typedef uint8_t bool8_t

Boolean value one byte wide.

See also
bool8_t values

Definition at line 1339 of file libtiepie.h.

typedef uint8_t LibTiePieTriState_t

TriState value one byte wide.

See also
LibTiePieTriState_t values

Definition at line 1340 of file libtiepie.h.

typedef void** LibTiePiePointerArray_t

Pointer array.

See also
Pointer array

Definition at line 1341 of file libtiepie.h.