LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Speed

Functions

double I2CGetSpeed (TpDeviceHandle_t hDevice)
 Get the current I2C bus frequency.
 
double I2CGetSpeedMax (TpDeviceHandle_t hDevice)
 Get the maximum I2C bus frequency.
 
double I2CSetSpeed (TpDeviceHandle_t hDevice, double dSpeed)
 Set the I2C bus frequency.
 
double I2CVerifySpeed (TpDeviceHandle_t hDevice, double dSpeed)
 Verify the I2C bus frequency.
 

Detailed Description

Function Documentation

double I2CGetSpeed ( TpDeviceHandle_t  hDevice)

Get the current I2C bus frequency.

Parameters
hDeviceA device handle.
Returns
Bus frequency in Hz.
double I2CGetSpeedMax ( TpDeviceHandle_t  hDevice)

Get the maximum I2C bus frequency.

Parameters
hDeviceA device handle.
Returns
Maximum bus frequency in Hz.
double I2CSetSpeed ( TpDeviceHandle_t  hDevice,
double  dSpeed 
)

Set the I2C bus frequency.

Parameters
hDeviceA device handle.
dSpeedThe requested bus frequency in Hz.
Returns
Bus frequency that was actually set, in Hz.
double I2CVerifySpeed ( TpDeviceHandle_t  hDevice,
double  dSpeed 
)

Verify the I2C bus frequency.

Parameters
hDeviceA device handle.
dSpeedThe requested bus frequency in Hz.
Returns
Bus frequency that would be set, in Hz.