14#ifndef DRIVER_FXOS8700_H_
15#define DRIVER_FXOS8700_H_
57#define FXOS8700_SPI_MAX_MSG_SIZE (64)
61#define FXOS8700_SPI_CMD_LEN (2)
65#define FXOS8700_SS_ACTIVE_VALUE SPI_SS_ACTIVE_LOW
int32_t FXOS8700_I2C_Deinit(fxos8700_i2c_sensorhandle_t *pSensorHandle)
The interface function to De Initialize sensor..
int32_t FXOS8700_I2C_ReadData(fxos8700_i2c_sensorhandle_t *pSensorHandle, const registerReadlist_t *pReadList, uint8_t *pBuffer)
The interface function to read the sensor data.
int32_t FXOS8700_I2C_Initialize(fxos8700_i2c_sensorhandle_t *pSensorHandle, uint8_t index, uint16_t sAddress, uint8_t whoAmi)
The interface function to initialize the sensor.
int32_t FXOS8700_I2C_Configure(fxos8700_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_t *pRegWriteList)
The interface function to configure the sensor.
void FXOS8700_I2C_SetIdleTask(fxos8700_i2c_sensorhandle_t *pSensorHandle, registeridlefunction_t idleTask, void *userParam)
: The interface function to set the I2C Idle Task.
The driver_sensors_types.h file contains sensor state structs and error definitions.
void(* registeridlefunction_t)(void *userParam)
This is the register idle function type.
This structure defines the fxos8700 raw accel data buffer.
This structure defines the fxos8700 raw data buffer.
This defines the sensor specific information for I2C.
registerDeviceInfo_t deviceInfo
This structure defines the device specific info required by register I/O.
This structure defines the Read command List.
This structure defines the Write command List.