Read data from the I2C bus.
I2cRead(unsigned char channel, unsigned char slaveAddress, unsigned char eofConfig, unsigned char numBytes, unsigned int timeout, unsigned char* recBuffer);
channel The I2C master channel to read from.
slaveAddress The slave address of the I2C device to read from.
eofConfig End of frame configuration:
numBytes The number of bytes to read from the I2C device.
timeout The maximum amount of time in mS to wait for all data bytes.
recBuffer A pointer to an unsigned byte array to store the incoming data from the I2C device. This array must be at least numBytes in size.
int status
I2cOpenMaster()
I2cSetSpeed()
I2cWrite()
I2cRead()
I2cClose()
Firmware Reference
There was an error while loading. Please reload this page.
Home
Getting Started
Tutorials
FAQ
Pinouts
VI Reference
Specification Reference