This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong.
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:
I2cRead(unsigned char channel, unsigned char slaveAddress, unsigned char eofConfig, unsigned char numBytes, unsigned int timeout, unsigned char* recBuffer);
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
~ ~ NOTOC~ ~