libtiepie  0.3.0
 All Files Functions Typedefs Groups
I2CHost

Functions

bool8_t I2CRead (TpDeviceHandle_t hDevice, uint16_t wAddress, void *pBuffer, uint32_t dwSize, bool8_t bStop)
bool8_t I2CReadByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t *pValue)
bool8_t I2CReadWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint16_t *pValue)
bool8_t I2CWrite (TpDeviceHandle_t hDevice, uint16_t wAddress, void *pBuffer, uint32_t dwSize, bool8_t bStop)
bool8_t I2CWriteByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue)
bool8_t I2CWriteByteByte (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint8_t byValue2)
bool8_t I2CWriteByteWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint8_t byValue1, uint16_t wValue2)
bool8_t I2CWriteWord (TpDeviceHandle_t hDevice, uint16_t wAddress, uint16_t wValue)
double I2CGetSpeed (TpDeviceHandle_t hDevice)
double I2CGetSpeedMax (TpDeviceHandle_t hDevice)
double I2CSetSpeed (TpDeviceHandle_t hDevice, double dSpeed)
double I2CVerifySpeed (TpDeviceHandle_t hDevice, double dSpeed)
bool8_t I2CIsInternalAddress (TpDeviceHandle_t hDevice, uint16_t wAddress)

Detailed Description


Function Documentation

double I2CGetSpeed ( TpDeviceHandle_t  hDevice)
double I2CGetSpeedMax ( TpDeviceHandle_t  hDevice)
bool8_t I2CIsInternalAddress ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress 
)
bool8_t I2CRead ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
void *  pBuffer,
uint32_t  dwSize,
bool8_t  bStop 
)
bool8_t I2CReadByte ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint8_t *  pValue 
)
bool8_t I2CReadWord ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint16_t *  pValue 
)
double I2CSetSpeed ( TpDeviceHandle_t  hDevice,
double  dSpeed 
)
double I2CVerifySpeed ( TpDeviceHandle_t  hDevice,
double  dSpeed 
)
bool8_t I2CWrite ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
void *  pBuffer,
uint32_t  dwSize,
bool8_t  bStop 
)
bool8_t I2CWriteByte ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint8_t  byValue 
)
bool8_t I2CWriteByteByte ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint8_t  byValue1,
uint8_t  byValue2 
)
bool8_t I2CWriteByteWord ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint8_t  byValue1,
uint16_t  wValue2 
)
bool8_t I2CWriteWord ( TpDeviceHandle_t  hDevice,
uint16_t  wAddress,
uint16_t  wValue 
)