LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros 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.
 

Detailed Description

Function Documentation

double I2CGetSpeed ( TpDeviceHandle_t  hDevice)

Get the current I2C bus frequency.

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

Get the maximum I2C bus frequency.

Parameters
hDeviceA device handle.
Returns
Maximum bus frequency in Hz.
Since
0.4.0
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.
Since
0.4.0