/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/ |
D | diff_p_drv.c | 67 …diff_p_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelect,… in DIFF_P_SPI_Initialize() argument 74 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in DIFF_P_SPI_Initialize() 80 pSensorHandle->pCommDrv = pBus; in DIFF_P_SPI_Initialize() 81 pSensorHandle->slaveParams.pReadPreprocessFN = DIFF_P_SPI_ReadPreprocess; in DIFF_P_SPI_Initialize() 82 pSensorHandle->slaveParams.pWritePreprocessFN = DIFF_P_SPI_WritePreprocess; in DIFF_P_SPI_Initialize() 83 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in DIFF_P_SPI_Initialize() 84 pSensorHandle->slaveParams.spiCmdLen = DIFF_P_SPI_CMD_LEN; in DIFF_P_SPI_Initialize() 85 pSensorHandle->slaveParams.ssActiveValue = DIFF_P_SS_ACTIVE_VALUE; in DIFF_P_SPI_Initialize() 87 pSensorHandle->deviceInfo.deviceInstance = index; in DIFF_P_SPI_Initialize() 88 pSensorHandle->deviceInfo.functionParam = NULL; in DIFF_P_SPI_Initialize() [all …]
|
D | fxos8700_drv.c | 68 …fxos8700_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXOS8700_SPI_Initialize() argument 75 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXOS8700_SPI_Initialize() 81 pSensorHandle->pCommDrv = pBus; in FXOS8700_SPI_Initialize() 82 pSensorHandle->slaveParams.pReadPreprocessFN = FXOS8700_SPI_ReadPreprocess; in FXOS8700_SPI_Initialize() 83 pSensorHandle->slaveParams.pWritePreprocessFN = FXOS8700_SPI_WritePreprocess; in FXOS8700_SPI_Initialize() 84 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXOS8700_SPI_Initialize() 85 pSensorHandle->slaveParams.spiCmdLen = FXOS8700_SPI_CMD_LEN; in FXOS8700_SPI_Initialize() 86 pSensorHandle->slaveParams.ssActiveValue = FXOS8700_SS_ACTIVE_VALUE; in FXOS8700_SPI_Initialize() 88 pSensorHandle->deviceInfo.deviceInstance = index; in FXOS8700_SPI_Initialize() 89 pSensorHandle->deviceInfo.functionParam = NULL; in FXOS8700_SPI_Initialize() [all …]
|
D | fxas21002_drv.c | 65 int32_t FXAS21002_SPI_Initialize(fxas21002_spi_sensorhandle_t *pSensorHandle, in FXAS21002_SPI_Initialize() argument 76 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXAS21002_SPI_Initialize() 82 pSensorHandle->pCommDrv = pBus; in FXAS21002_SPI_Initialize() 83 pSensorHandle->slaveParams.pReadPreprocessFN = FXAS21002_SPI_ReadPreprocess; in FXAS21002_SPI_Initialize() 84 pSensorHandle->slaveParams.pWritePreprocessFN = FXAS21002_SPI_WritePreprocess; in FXAS21002_SPI_Initialize() 85 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXAS21002_SPI_Initialize() 86 pSensorHandle->slaveParams.spiCmdLen = FXAS21002_SPI_CMD_LEN; in FXAS21002_SPI_Initialize() 87 pSensorHandle->slaveParams.ssActiveValue = FXAS21002_SS_ACTIVE_VALUE; in FXAS21002_SPI_Initialize() 89 pSensorHandle->deviceInfo.deviceInstance = index; in FXAS21002_SPI_Initialize() 90 pSensorHandle->deviceInfo.functionParam = NULL; in FXAS21002_SPI_Initialize() [all …]
|
D | mma9553_drv.c | 158 …mma9553_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelect… in MMA9553_SPI_Initialize() argument 165 if (pSensorHandle == NULL || pBus == NULL || pSlaveSelect == NULL || pReset == NULL) in MMA9553_SPI_Initialize() 171 pSensorHandle->pCommDrv = pBus; in MMA9553_SPI_Initialize() 172 pSensorHandle->slaveParams.pReadPreprocessFN = MMA9553_SPI_ReadPreprocess; in MMA9553_SPI_Initialize() 173 pSensorHandle->slaveParams.pWritePreprocessFN = MMA9553_SPI_WritePreprocess; in MMA9553_SPI_Initialize() 174 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in MMA9553_SPI_Initialize() 175 pSensorHandle->slaveParams.spiCmdLen = MMA9553_SPI_CMD_LEN; in MMA9553_SPI_Initialize() 176 pSensorHandle->slaveParams.ssActiveValue = MMA9553_SS_ACTIVE_VALUE; in MMA9553_SPI_Initialize() 178 pSensorHandle->deviceInfo.deviceInstance = index; in MMA9553_SPI_Initialize() 179 pSensorHandle->deviceInfo.functionParam = NULL; in MMA9553_SPI_Initialize() [all …]
|
D | fxls8971_drv.c | 68 …fxls8971_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXLS8971_SPI_Initialize() argument 75 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS8971_SPI_Initialize() 81 pSensorHandle->pCommDrv = pBus; in FXLS8971_SPI_Initialize() 82 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS8971_SPI_ReadPreprocess; in FXLS8971_SPI_Initialize() 83 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS8971_SPI_WritePreprocess; in FXLS8971_SPI_Initialize() 84 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS8971_SPI_Initialize() 85 pSensorHandle->slaveParams.spiCmdLen = FXLS8971_SPI_CMD_LEN; in FXLS8971_SPI_Initialize() 86 pSensorHandle->slaveParams.ssActiveValue = FXLS8971_SS_ACTIVE_VALUE; in FXLS8971_SPI_Initialize() 88 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS8971_SPI_Initialize() 89 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS8971_SPI_Initialize() [all …]
|
D | fxls8974_drv.c | 68 …fxls8974_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXLS8974_SPI_Initialize() argument 75 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS8974_SPI_Initialize() 81 pSensorHandle->pCommDrv = pBus; in FXLS8974_SPI_Initialize() 82 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS8974_SPI_ReadPreprocess; in FXLS8974_SPI_Initialize() 83 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS8974_SPI_WritePreprocess; in FXLS8974_SPI_Initialize() 84 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS8974_SPI_Initialize() 85 pSensorHandle->slaveParams.spiCmdLen = FXLS8974_SPI_CMD_LEN; in FXLS8974_SPI_Initialize() 86 pSensorHandle->slaveParams.ssActiveValue = FXLS8974_SS_ACTIVE_VALUE; in FXLS8974_SPI_Initialize() 88 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS8974_SPI_Initialize() 89 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS8974_SPI_Initialize() [all …]
|
D | fxls8962_drv.c | 69 …fxls8962_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXLS8962_SPI_Initialize() argument 76 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS8962_SPI_Initialize() 82 pSensorHandle->pCommDrv = pBus; in FXLS8962_SPI_Initialize() 83 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS8962_SPI_ReadPreprocess; in FXLS8962_SPI_Initialize() 84 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS8962_SPI_WritePreprocess; in FXLS8962_SPI_Initialize() 85 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS8962_SPI_Initialize() 86 pSensorHandle->slaveParams.spiCmdLen = FXLS8962_SPI_CMD_LEN; in FXLS8962_SPI_Initialize() 87 pSensorHandle->slaveParams.ssActiveValue = FXLS8962_SS_ACTIVE_VALUE; in FXLS8962_SPI_Initialize() 89 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS8962_SPI_Initialize() 90 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS8962_SPI_Initialize() [all …]
|
D | fxls896x_drv.c | 68 …fxls896x_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXLS896x_SPI_Initialize() argument 75 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS896x_SPI_Initialize() 81 pSensorHandle->pCommDrv = pBus; in FXLS896x_SPI_Initialize() 82 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS896x_SPI_ReadPreprocess; in FXLS896x_SPI_Initialize() 83 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS896x_SPI_WritePreprocess; in FXLS896x_SPI_Initialize() 84 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS896x_SPI_Initialize() 85 pSensorHandle->slaveParams.spiCmdLen = FXLS896x_SPI_CMD_LEN; in FXLS896x_SPI_Initialize() 86 pSensorHandle->slaveParams.ssActiveValue = FXLS896x_SS_ACTIVE_VALUE; in FXLS896x_SPI_Initialize() 88 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS896x_SPI_Initialize() 89 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS896x_SPI_Initialize() [all …]
|
D | fxls8961_drv.c | 68 …fxls8961_spi_sensorhandle_t *pSensorHandle, ARM_DRIVER_SPI *pBus, uint8_t index, void *pSlaveSelec… in FXLS8961_SPI_Initialize() argument 75 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS8961_SPI_Initialize() 81 pSensorHandle->pCommDrv = pBus; in FXLS8961_SPI_Initialize() 82 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS8961_SPI_ReadPreprocess; in FXLS8961_SPI_Initialize() 83 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS8961_SPI_WritePreprocess; in FXLS8961_SPI_Initialize() 84 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS8961_SPI_Initialize() 85 pSensorHandle->slaveParams.spiCmdLen = FXLS8961_SPI_CMD_LEN; in FXLS8961_SPI_Initialize() 86 pSensorHandle->slaveParams.ssActiveValue = FXLS8961_SS_ACTIVE_VALUE; in FXLS8961_SPI_Initialize() 88 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS8961_SPI_Initialize() 89 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS8961_SPI_Initialize() [all …]
|
D | fxpq3115_drv.c | 23 …fxpq3115_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXPQ3115_I2C_Initialize() argument 29 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXPQ3115_I2C_Initialize() 34 pSensorHandle->deviceInfo.deviceInstance = index; in FXPQ3115_I2C_Initialize() 35 pSensorHandle->deviceInfo.functionParam = NULL; in FXPQ3115_I2C_Initialize() 36 pSensorHandle->deviceInfo.idleFunction = NULL; in FXPQ3115_I2C_Initialize() 39 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXPQ3115_WHO_AM_I, 1, ®); in FXPQ3115_I2C_Initialize() 42 pSensorHandle->isInitialized = false; in FXPQ3115_I2C_Initialize() 47 pSensorHandle->pCommDrv = pBus; in FXPQ3115_I2C_Initialize() 48 pSensorHandle->slaveAddress = sAddress; in FXPQ3115_I2C_Initialize() 49 pSensorHandle->isInitialized = true; in FXPQ3115_I2C_Initialize() [all …]
|
D | mma845x_drv.c | 23 …mma845x_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress,… in MMA845x_I2C_Initialize() argument 29 if ((pSensorHandle == NULL) || (pBus == NULL)) in MMA845x_I2C_Initialize() 34 pSensorHandle->deviceInfo.deviceInstance = index; in MMA845x_I2C_Initialize() 35 pSensorHandle->deviceInfo.functionParam = NULL; in MMA845x_I2C_Initialize() 36 pSensorHandle->deviceInfo.idleFunction = NULL; in MMA845x_I2C_Initialize() 39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA845x_WHO_AM_I, 1, ®); in MMA845x_I2C_Initialize() 42 pSensorHandle->isInitialized = false; in MMA845x_I2C_Initialize() 47 pSensorHandle->pCommDrv = pBus; in MMA845x_I2C_Initialize() 48 pSensorHandle->slaveAddress = sAddress; in MMA845x_I2C_Initialize() 49 pSensorHandle->isInitialized = true; in MMA845x_I2C_Initialize() [all …]
|
D | mma865x_drv.c | 23 …mma865x_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress,… in MMA865x_I2C_Initialize() argument 29 if ((pSensorHandle == NULL) || (pBus == NULL)) in MMA865x_I2C_Initialize() 34 pSensorHandle->deviceInfo.deviceInstance = index; in MMA865x_I2C_Initialize() 35 pSensorHandle->deviceInfo.functionParam = NULL; in MMA865x_I2C_Initialize() 36 pSensorHandle->deviceInfo.idleFunction = NULL; in MMA865x_I2C_Initialize() 39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA865x_WHO_AM_I, 1, ®); in MMA865x_I2C_Initialize() 42 pSensorHandle->isInitialized = false; in MMA865x_I2C_Initialize() 47 pSensorHandle->pCommDrv = pBus; in MMA865x_I2C_Initialize() 48 pSensorHandle->slaveAddress = sAddress; in MMA865x_I2C_Initialize() 49 pSensorHandle->isInitialized = true; in MMA865x_I2C_Initialize() [all …]
|
D | mpl3115_drv.c | 23 …mpl3115_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress,… in MPL3115_I2C_Initialize() argument 29 if ((pSensorHandle == NULL) || (pBus == NULL)) in MPL3115_I2C_Initialize() 34 pSensorHandle->deviceInfo.deviceInstance = index; in MPL3115_I2C_Initialize() 35 pSensorHandle->deviceInfo.functionParam = NULL; in MPL3115_I2C_Initialize() 36 pSensorHandle->deviceInfo.idleFunction = NULL; in MPL3115_I2C_Initialize() 39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MPL3115_WHO_AM_I, 1, ®); in MPL3115_I2C_Initialize() 42 pSensorHandle->isInitialized = false; in MPL3115_I2C_Initialize() 47 pSensorHandle->pCommDrv = pBus; in MPL3115_I2C_Initialize() 48 pSensorHandle->slaveAddress = sAddress; in MPL3115_I2C_Initialize() 49 pSensorHandle->isInitialized = true; in MPL3115_I2C_Initialize() [all …]
|
D | fxls8471q_drv.c | 67 int32_t FXLS8471Q_SPI_Initialize(fxls8471q_spi_sensorhandle_t *pSensorHandle, in FXLS8471Q_SPI_Initialize() argument 78 if ((pSensorHandle == NULL) || (pBus == NULL) || (pSlaveSelect == NULL)) in FXLS8471Q_SPI_Initialize() 84 pSensorHandle->pCommDrv = pBus; in FXLS8471Q_SPI_Initialize() 85 pSensorHandle->slaveParams.pReadPreprocessFN = FXLS8471Q_SPI_ReadPreprocess; in FXLS8471Q_SPI_Initialize() 86 pSensorHandle->slaveParams.pWritePreprocessFN = FXLS8471Q_SPI_WritePreprocess; in FXLS8471Q_SPI_Initialize() 87 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLS8471Q_SPI_Initialize() 88 pSensorHandle->slaveParams.spiCmdLen = FXLS8471Q_SPI_CMD_LEN; in FXLS8471Q_SPI_Initialize() 89 pSensorHandle->slaveParams.ssActiveValue = FXLS8471Q_SS_ACTIVE_VALUE; in FXLS8471Q_SPI_Initialize() 91 pSensorHandle->deviceInfo.deviceInstance = index; in FXLS8471Q_SPI_Initialize() 92 pSensorHandle->deviceInfo.functionParam = NULL; in FXLS8471Q_SPI_Initialize() [all …]
|
D | mag3110_drv.c | 23 …mag3110_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress,… in MAG3110_I2C_Initialize() argument 29 if ((pSensorHandle == NULL) || (pBus == NULL)) in MAG3110_I2C_Initialize() 34 pSensorHandle->deviceInfo.deviceInstance = index; in MAG3110_I2C_Initialize() 35 pSensorHandle->deviceInfo.functionParam = NULL; in MAG3110_I2C_Initialize() 36 pSensorHandle->deviceInfo.idleFunction = NULL; in MAG3110_I2C_Initialize() 39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MAG3110_WHO_AM_I, 1, ®); in MAG3110_I2C_Initialize() 42 pSensorHandle->isInitialized = false; in MAG3110_I2C_Initialize() 47 pSensorHandle->pCommDrv = pBus; in MAG3110_I2C_Initialize() 48 pSensorHandle->slaveAddress = sAddress; in MAG3110_I2C_Initialize() 49 pSensorHandle->isInitialized = true; in MAG3110_I2C_Initialize() [all …]
|
D | isl29023_drv.c | 22 …isl29023_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in ISL29023_I2C_Initialize() argument 28 if ((pSensorHandle == NULL) || (pBus == NULL)) in ISL29023_I2C_Initialize() 33 pSensorHandle->deviceInfo.deviceInstance = index; in ISL29023_I2C_Initialize() 34 pSensorHandle->deviceInfo.functionParam = NULL; in ISL29023_I2C_Initialize() 35 pSensorHandle->deviceInfo.idleFunction = NULL; in ISL29023_I2C_Initialize() 38 status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, ISL29023_TEST, 1, ®); in ISL29023_I2C_Initialize() 41 pSensorHandle->isInitialized = false; in ISL29023_I2C_Initialize() 46 pSensorHandle->pCommDrv = pBus; in ISL29023_I2C_Initialize() 47 pSensorHandle->slaveAddress = sAddress; in ISL29023_I2C_Initialize() 48 pSensorHandle->isInitialized = true; in ISL29023_I2C_Initialize() [all …]
|
D | nmh1000_drv.c | 28 …nmh1000_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress,… in NMH1000_I2C_Initialize() argument 34 if ((pSensorHandle == NULL) || (pBus == NULL)) in NMH1000_I2C_Initialize() 39 pSensorHandle->deviceInfo.deviceInstance = index; in NMH1000_I2C_Initialize() 40 pSensorHandle->deviceInfo.functionParam = NULL; in NMH1000_I2C_Initialize() 41 pSensorHandle->deviceInfo.idleFunction = NULL; in NMH1000_I2C_Initialize() 44 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, NMH1000_WHO_AM_I, 1, ®); in NMH1000_I2C_Initialize() 47 pSensorHandle->isInitialized = false; in NMH1000_I2C_Initialize() 52 pSensorHandle->pCommDrv = pBus; in NMH1000_I2C_Initialize() 53 pSensorHandle->slaveAddress = sAddress; in NMH1000_I2C_Initialize() 54 pSensorHandle->isInitialized = true; in NMH1000_I2C_Initialize() [all …]
|
D | fxlc95000_drv.c | 68 int32_t FXLC95000_SPI_Initialize(fxlc95000_spi_sensorhandle_t *pSensorHandle, in FXLC95000_SPI_Initialize() argument 81 …if (pSensorHandle == NULL || pBus == NULL || pSpiSelect == NULL || pSlaveSelect == NULL || pReset … in FXLC95000_SPI_Initialize() 87 pSensorHandle->pCommDrv = pBus; in FXLC95000_SPI_Initialize() 88 pSensorHandle->slaveParams.pReadPreprocessFN = FXLC95000_SPI_ReadPreprocess; in FXLC95000_SPI_Initialize() 89 pSensorHandle->slaveParams.pWritePreprocessFN = FXLC95000_SPI_WritePreprocess; in FXLC95000_SPI_Initialize() 90 pSensorHandle->slaveParams.pTargetSlavePinID = pSlaveSelect; in FXLC95000_SPI_Initialize() 91 pSensorHandle->slaveParams.spiCmdLen = FXLC95000_SPI_CMD_LEN; in FXLC95000_SPI_Initialize() 92 pSensorHandle->slaveParams.ssActiveValue = FXLC95000_SS_ACTIVE_VALUE; in FXLC95000_SPI_Initialize() 94 pSensorHandle->deviceInfo.deviceInstance = index; in FXLC95000_SPI_Initialize() 95 pSensorHandle->deviceInfo.functionParam = NULL; in FXLC95000_SPI_Initialize() [all …]
|
D | dbap_drv.c | 22 …dbap_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, ui… in DBAP_I2C_Initialize() argument 28 if ((pSensorHandle == NULL) || (pBus == NULL)) in DBAP_I2C_Initialize() 33 pSensorHandle->deviceInfo.deviceInstance = index; in DBAP_I2C_Initialize() 34 pSensorHandle->deviceInfo.functionParam = NULL; in DBAP_I2C_Initialize() 35 pSensorHandle->deviceInfo.idleFunction = NULL; in DBAP_I2C_Initialize() 38 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXPS7250_WHO_AM_I, 1, ®); in DBAP_I2C_Initialize() 41 pSensorHandle->isInitialized = false; in DBAP_I2C_Initialize() 46 pSensorHandle->pCommDrv = pBus; in DBAP_I2C_Initialize() 47 pSensorHandle->slaveAddress = sAddress; in DBAP_I2C_Initialize() 48 pSensorHandle->isInitialized = true; in DBAP_I2C_Initialize() [all …]
|
D | mma8491q_drv.c | 22 int32_t MMA8491Q_I2C_Initialize(mma8491q_i2c_sensorhandle_t *pSensorHandle, in MMA8491Q_I2C_Initialize() argument 31 if ((pSensorHandle == NULL) || (pBus == NULL)) in MMA8491Q_I2C_Initialize() 36 pSensorHandle->deviceInfo.deviceInstance = index; in MMA8491Q_I2C_Initialize() 37 pSensorHandle->deviceInfo.functionParam = NULL; in MMA8491Q_I2C_Initialize() 38 pSensorHandle->deviceInfo.idleFunction = NULL; in MMA8491Q_I2C_Initialize() 42 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA8491Q_STATUS, 1, (uint8_… in MMA8491Q_I2C_Initialize() 45 pSensorHandle->isInitialized = false; in MMA8491Q_I2C_Initialize() 50 pSensorHandle->pCommDrv = pBus; in MMA8491Q_I2C_Initialize() 51 pSensorHandle->slaveAddress = sAddress; in MMA8491Q_I2C_Initialize() 52 pSensorHandle->isInitialized = true; in MMA8491Q_I2C_Initialize() [all …]
|
D | fxls8961_drv.h | 86 …fxls8961_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… 97 void FXLS8961_I2C_SetIdleTask(fxls8961_i2c_sensorhandle_t *pSensorHandle, 110 int32_t FXLS8961_I2C_Configure(fxls8961_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_… 123 int32_t FXLS8961_I2C_ReadData(fxls8961_i2c_sensorhandle_t *pSensorHandle, 135 int32_t FXLS8961_I2C_DeInit(fxls8961_i2c_sensorhandle_t *pSensorHandle); 149 int32_t FXLS8961_SPI_Initialize(fxls8961_spi_sensorhandle_t *pSensorHandle, 164 void FXLS8961_SPI_SetIdleTask(fxls8961_spi_sensorhandle_t *pSensorHandle, 177 int32_t FXLS8961_SPI_Configure(fxls8961_spi_sensorhandle_t *pSensorHandle, const registerwritelist_… 190 int32_t FXLS8961_SPI_ReadData(fxls8961_spi_sensorhandle_t *pSensorHandle, 202 int32_t FXLS8961_SPI_Deinit(fxls8961_spi_sensorhandle_t *pSensorHandle);
|
D | fxls896x_drv.h | 86 …fxls896x_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… 97 void FXLS896x_I2C_SetIdleTask(fxls896x_i2c_sensorhandle_t *pSensorHandle, 110 int32_t FXLS896x_I2C_Configure(fxls896x_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_… 123 int32_t FXLS896x_I2C_ReadData(fxls896x_i2c_sensorhandle_t *pSensorHandle, 135 int32_t FXLS896x_I2C_DeInit(fxls896x_i2c_sensorhandle_t *pSensorHandle); 149 int32_t FXLS896x_SPI_Initialize(fxls896x_spi_sensorhandle_t *pSensorHandle, 164 void FXLS896x_SPI_SetIdleTask(fxls896x_spi_sensorhandle_t *pSensorHandle, 177 int32_t FXLS896x_SPI_Configure(fxls896x_spi_sensorhandle_t *pSensorHandle, const registerwritelist_… 190 int32_t FXLS896x_SPI_ReadData(fxls896x_spi_sensorhandle_t *pSensorHandle, 202 int32_t FXLS896x_SPI_Deinit(fxls896x_spi_sensorhandle_t *pSensorHandle);
|
D | fxls8962_drv.h | 87 …fxls8962_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… 98 void FXLS8962_I2C_SetIdleTask(fxls8962_i2c_sensorhandle_t *pSensorHandle, 111 int32_t FXLS8962_I2C_Configure(fxls8962_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_… 124 int32_t FXLS8962_I2C_ReadData(fxls8962_i2c_sensorhandle_t *pSensorHandle, 136 int32_t FXLS8962_I2C_DeInit(fxls8962_i2c_sensorhandle_t *pSensorHandle); 150 int32_t FXLS8962_SPI_Initialize(fxls8962_spi_sensorhandle_t *pSensorHandle, 165 void FXLS8962_SPI_SetIdleTask(fxls8962_spi_sensorhandle_t *pSensorHandle, 178 int32_t FXLS8962_SPI_Configure(fxls8962_spi_sensorhandle_t *pSensorHandle, const registerwritelist_… 191 int32_t FXLS8962_SPI_ReadData(fxls8962_spi_sensorhandle_t *pSensorHandle, 203 int32_t FXLS8962_SPI_Deinit(fxls8962_spi_sensorhandle_t *pSensorHandle);
|
D | fxls8971_drv.h | 86 …fxls8971_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… 97 void FXLS8971_I2C_SetIdleTask(fxls8971_i2c_sensorhandle_t *pSensorHandle, 110 int32_t FXLS8971_I2C_Configure(fxls8971_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_… 123 int32_t FXLS8971_I2C_ReadData(fxls8971_i2c_sensorhandle_t *pSensorHandle, 135 int32_t FXLS8971_I2C_DeInit(fxls8971_i2c_sensorhandle_t *pSensorHandle); 149 int32_t FXLS8971_SPI_Initialize(fxls8971_spi_sensorhandle_t *pSensorHandle, 164 void FXLS8971_SPI_SetIdleTask(fxls8971_spi_sensorhandle_t *pSensorHandle, 177 int32_t FXLS8971_SPI_Configure(fxls8971_spi_sensorhandle_t *pSensorHandle, const registerwritelist_… 190 int32_t FXLS8971_SPI_ReadData(fxls8971_spi_sensorhandle_t *pSensorHandle, 202 int32_t FXLS8971_SPI_Deinit(fxls8971_spi_sensorhandle_t *pSensorHandle);
|
D | fxls8974_drv.h | 86 …fxls8974_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… 97 void FXLS8974_I2C_SetIdleTask(fxls8974_i2c_sensorhandle_t *pSensorHandle, 110 int32_t FXLS8974_I2C_Configure(fxls8974_i2c_sensorhandle_t *pSensorHandle, const registerwritelist_… 123 int32_t FXLS8974_I2C_ReadData(fxls8974_i2c_sensorhandle_t *pSensorHandle, 135 int32_t FXLS8974_I2C_DeInit(fxls8974_i2c_sensorhandle_t *pSensorHandle); 149 int32_t FXLS8974_SPI_Initialize(fxls8974_spi_sensorhandle_t *pSensorHandle, 164 void FXLS8974_SPI_SetIdleTask(fxls8974_spi_sensorhandle_t *pSensorHandle, 177 int32_t FXLS8974_SPI_Configure(fxls8974_spi_sensorhandle_t *pSensorHandle, const registerwritelist_… 190 int32_t FXLS8974_SPI_ReadData(fxls8974_spi_sensorhandle_t *pSensorHandle, 202 int32_t FXLS8974_SPI_Deinit(fxls8974_spi_sensorhandle_t *pSensorHandle);
|