Hi Gerald,
Are you referring to the example as below?
i2cNumBytesToTx = 0; i2cData[i2cNumBytesToTx++] = 0x00; // MEMA page i2cStatus = I2C_DeviceWrite(i2cHandle, i2cAddr, i2cNumBytesToTx, i2cData, &i2cNumBytesTxd, 0x01); i2cStatus = I2C_DeviceRead(i2cHandle, i2cAddr, i2cNumBytesToRx, &i2cData[0], &i2cNumBytesRxd, 0x03);
Actually it is a I2C reading process of
.
Please refer to the following for details.

Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------