| 
    LibTiePie
    0.9.8
    
   Library for interfacing TiePie engineering instruments 
   | 
 
Functions to write and read data to/from an I2C device.
Functions | |
| bool8_t | I2CWriteRead (LibTiePieHandle_t hDevice, uint16_t wAddress, const void *pWriteBuffer, uint32_t dwWriteSize, void *pReadBuffer, uint32_t dwReadSize) | 
| Write and read data to/from to a specified address on the I2C bus, using a specified I2C host.  More... | |
| bool8_t I2CWriteRead | ( | LibTiePieHandle_t | hDevice, | 
| uint16_t | wAddress, | ||
| const void * | pWriteBuffer, | ||
| uint32_t | dwWriteSize, | ||
| void * | pReadBuffer, | ||
| uint32_t | dwReadSize | ||
| ) | 
Write and read data to/from to a specified address on the I2C bus, using a specified I2C host.
Equivalent:
| [in] | hDevice | A device handle identifying the I2C host. | 
| [in] | wAddress | The I2C address to write to. | 
| [in] | pWriteBuffer | A pointer to the write buffer. | 
| [in] | dwWriteSize | The number of bytes to write. | 
| [out] | pReadBuffer | A pointer to the read buffer. | 
| [in] | dwReadSize | The number of bytes to read. | 
| INTERNAL_ADDRESS | The requested I2C address is an internally used address in the device. | 
| BIT_ERROR | The requested I2C operation generated a bit error. | 
| NO_ACKNOWLEDGE | The requested I2C operation generated "No acknowledge". | 
| INVALID_HANDLE | The handle is not a valid I2C host handle. | 
| OBJECT_GONE | The object indicated by the handle is no longer available. | 
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). | 
| SUCCESS | The function executed successfully. |