41 #ifndef __SENSOR_IO_SPI_H 42 #define __SENSOR_IO_SPI_H 46 #include "Driver_SPI.h" int32_t Sensor_SPI_Read(ARM_DRIVER_SPI *pCommDrv, registerDeviceInfo_t *devInfo, void *pReadParams, const registerreadlist_t *pReadList, uint8_t *pOutBuffer)
Read register data from a sensor.
int32_t Sensor_SPI_BlockWrite(ARM_DRIVER_SPI *pCommDrv, registerDeviceInfo_t *devInfo, void *pWriteParams, const registercommandlist_t *pCommandList, uint8_t error_mask)
Write commands to a sensor.
int32_t Sensor_SPI_Write(ARM_DRIVER_SPI *pCommDrv, registerDeviceInfo_t *devInfo, void *pWriteParams, const registerwritelist_t *pRegWriteList)
Write register data 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.
The register_io_spi.h file declares low-level interface functions for reading and writing sensor regi...