User`s guide

FUNCTIONS
SDK SECTION 11
Page 167
I2CRead
unsigned int WINAPI I2CRead(BYTE deviceID, BYTE intAddress, BYTE* pdata)
Description
This function will read a single byte from the chosen device.
Parameters
BYTE deviceID: The device to read from.
BYTE intAddress: The internal address of the device to be read from.
BYTE* pdata: The byte read from the device.
Return
unsigned int
DRV_SUCCESS
DRV_VXDNOTINSTALLED
DRV_INIERROR
DRV_COFERROR
DRV_FLEXERROR
DRV_ERROR_ACK
DRV_I2CDEVNOTFOUND
DRV_I2CTIMEOUT
DRV_UNKNOWN_FUNC
Read successful.
VxD not loaded.
Unable to load “DETECTOR.INI”.
Unable to load “*.COF”.
Unable to load “*.RBF”.
Unable to communicate with card.
Could not find the specified device.
Timed out reading from device.
Unknown function, incorrect cof file.
See also
I2CBurstWrite, I2CBurstRead, I2CWrite, I2cReset
I2CReset
unsigned int WINAPI I2CReset(void)
Description
This function will reset the I
2
C data bus.
Parameters
Return
unsigned int
DRV_SUCCESS
DRV_VXDNOTINSTALLED
DRV_INIERROR
DRV_COFERROR
DRV_FLEXERROR
DRV_ERROR_ACK
DRV_I2CTIMEOUT
DRV_UNKNOWN_FUNC
Reset successful.
VxD not loaded.
Unable to load “DETECTOR.INI”.
Unable to load “*.COF”.
Unable to load “*.RBF”.
Unable to communicate with card.
Timed out reading from device.
Unknown function, incorrect cof file.
See also
I2CBurstWrite, I2CBurstRead,I2CRead, I2CWrite