40 #ifndef FXPQ3115_FI_H_ 41 #define FXPQ3115_FI_H_ 54 #define FXPQ3115_PRESSURE_CONV_FACTOR (64) 55 #define FXPQ3115_ALTITUDE_CONV_FACTOR (65536) 56 #define FXPQ3115_TEMPERATURE_CONV_FACTOR (256) 156 #endif // FXPQ3115_FI_H_ The register_io_i2c.h file declares low-level interface functions for reading and writing sensor regi...
int32_t FXPQ3115_I2C_Configure(fxpq3115_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_t *pRegWriteList)
The interface function to configure he sensor.
registerDeviceInfo_t deviceInfo
This structure defines the fxpq3115 data buffer in Pressure Mode.
void(* registeridlefunction_t)(void *userParam)
This is the register idle function type.
void FXPQ3115_I2C_SetIdleTask(fxpq3115_i2c_sensorhandle_t *pSensorHandle, registeridlefunction_t idleTask, void *userParam)
: The interface function to set the I2C Idle Task.
This defines the sensor specific information.
The fxpq3115.h contains the FXPQ3115 Pressure sensor register definitions, access macros...
int32_t FXPQ3115_I2C_ReadData(fxpq3115_i2c_sensorhandle_t *pSensorHandle, const registerreadlist_t *pReadList, uint8_t *pBuffer)
The interface function to read the sensor data.
int32_t FXPQ3115_I2C_DeInit(fxpq3115_i2c_sensorhandle_t *pSensorHandle)
The interface function to De Initialize sensor..
This structure defines the Write command List.
This structure defines the Read command List.
ARM_DRIVER_I2C * pCommDrv
This structure defines the device specific info required by register I/O.
This structure defines the fxpq3115 data buffer in Altitude Mode.
The sensor_io_i2c.h file declares low-level interface functions for reading and writing sensor regist...
int32_t FXPQ3115_I2C_Initialize(fxpq3115_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, uint8_t whoAmi)
The interface function to initialize the sensor.