41 #ifndef __SENSOR_IO_I2C_H    42 #define __SENSOR_IO_I2C_H    46 #include "Driver_I2C.h"    64                               uint16_t slaveAddress,
    79                          uint16_t slaveAddress,
    95                         uint16_t slaveAddress,
 The register_io_i2c.h file declares low-level interface functions for reading and writing sensor regi...
 
int32_t Sensor_I2C_Write(ARM_DRIVER_I2C *pCommDrv, registerDeviceInfo_t *devInfo, uint16_t slaveAddress, const registerwritelist_t *pRegWriteList)
Write register data to a sensor. 
 
int32_t Sensor_I2C_Read(ARM_DRIVER_I2C *pCommDrv, registerDeviceInfo_t *devInfo, uint16_t slaveAddress, const registerreadlist_t *pReadList, uint8_t *pOutBuffer)
Read register data from a sensor. 
 
int32_t Sensor_I2C_BlockWrite(ARM_DRIVER_I2C *pCommDrv, registerDeviceInfo_t *devInfo, uint16_t slaveAddress, const registercommandlist_t *pCommandList, uint8_t error_mask)
Write commands to a sensor. 
 
This structure defines the Write command List. 
 
This structure defines the Read command List. 
 
This structure defines the device specific info required by register I/O. 
 
This structure defines the Block command List.