Home
last modified time | relevance | path

Searched refs:pBus (Results 1 – 25 of 42) sorted by relevance

12

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/
Dfxlc95000_drv.c69 ARM_DRIVER_SPI *pBus, 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()
190 int32_t FXLC95000_I2C_CheckRomMode(ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress) in FXLC95000_I2C_CheckRomMode() argument
196 …Register_I2C_BlockWrite(pBus, &deviceInfo, sAddress, 0, GetDeviceInfoCmd, sizeof(GetDeviceInfoCmd)… in FXLC95000_I2C_CheckRomMode()
199 status = Register_I2C_Read(pBus, &deviceInfo, sAddress, FXLC95000_BUILD_ID_OFFSET, in FXLC95000_I2C_CheckRomMode()
211 int32_t FXLC95000_I2C_FlashCommands(ARM_DRIVER_I2C *pBus, in FXLC95000_I2C_FlashCommands() argument
220 if (pBus == NULL || pCommandList == NULL) in FXLC95000_I2C_FlashCommands()
226 …status = Sensor_I2C_BlockWrite(pBus, &deviceInfo, sAddress, pCommandList, FXLC95000_COCO_ERROR_MAS… in FXLC95000_I2C_FlashCommands()
236 ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, uint8_t *pFlashBytes, uint8_t numBytes) in FXLC95000_I2C_FlashPayload() argument
[all …]
Dfxlc95000_drv.h112 int32_t FXLC95000_I2C_CheckRomMode(ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress);
125 int32_t FXLC95000_I2C_FlashCommands(ARM_DRIVER_I2C *pBus,
144 ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, uint8_t *pFlashBytes, uint8_t numBytes);
159 ARM_DRIVER_I2C *pBus,
208 ARM_DRIVER_SPI *pBus,
Dmma8491q_drv.c23 ARM_DRIVER_I2C *pBus, in MMA8491Q_I2C_Initialize() argument
31 if ((pSensorHandle == NULL) || (pBus == NULL)) in MMA8491Q_I2C_Initialize()
42 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA8491Q_STATUS, 1, (uint8_… in MMA8491Q_I2C_Initialize()
50 pSensorHandle->pCommDrv = pBus; in MMA8491Q_I2C_Initialize()
Ddbap_drv.c22 …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()
38 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXPS7250_WHO_AM_I, 1, &reg); in DBAP_I2C_Initialize()
46 pSensorHandle->pCommDrv = pBus; in DBAP_I2C_Initialize()
Dfxos8700_drv.c68 …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()
223 …fxos8700_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXOS8700_I2C_Initialize() argument
228 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXOS8700_I2C_Initialize()
238 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXOS8700_WHO_AM_I, 1, &reg); in FXOS8700_I2C_Initialize()
246 pSensorHandle->pCommDrv = pBus; in FXOS8700_I2C_Initialize()
Dfxas21002_drv.c66 ARM_DRIVER_SPI *pBus, 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()
229 …fxas21002_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddres… in FXAS21002_I2C_Initialize() argument
235 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXAS21002_I2C_Initialize()
245 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXAS21002_WHO_AM_I, 1, &reg… in FXAS21002_I2C_Initialize()
253 pSensorHandle->pCommDrv = pBus; in FXAS21002_I2C_Initialize()
Disl29023_drv.c22 …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()
38 status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, ISL29023_TEST, 1, &reg); in ISL29023_I2C_Initialize()
46 pSensorHandle->pCommDrv = pBus; in ISL29023_I2C_Initialize()
Dnmh1000_drv.c28 …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()
44 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, NMH1000_WHO_AM_I, 1, &reg); in NMH1000_I2C_Initialize()
52 pSensorHandle->pCommDrv = pBus; in NMH1000_I2C_Initialize()
Dmma9553_drv.c158 …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()
370 ARM_DRIVER_I2C *pBus, in MMA9553_I2C_Initialize() argument
378 if ((pSensorHandle == NULL) || (pBus == NULL)) in MMA9553_I2C_Initialize()
389 …Register_I2C_BlockWrite(pBus, &pSensorHandle->deviceInfo, sAddress, 0, ReadVersionInfo, sizeof(Rea… in MMA9553_I2C_Initialize()
391 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, 0, sizeof(cmdRespHdr), cmdR… in MMA9553_I2C_Initialize()
400 …status = Sensor_I2C_BlockWrite(pBus, &pSensorHandle->deviceInfo, sAddress, MMA9553_InitializeComma… in MMA9553_I2C_Initialize()
408 pSensorHandle->pCommDrv = pBus; in MMA9553_I2C_Initialize()
Dfxls8971_drv.c68 …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()
240 …fxls8971_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXLS8971_I2C_Initialize() argument
246 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXLS8971_I2C_Initialize()
256 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXLS8971_WHO_AM_I, 1, &reg); in FXLS8971_I2C_Initialize()
271 pSensorHandle->pCommDrv = pBus; in FXLS8971_I2C_Initialize()
Dfxls8974_drv.c68 …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()
240 …fxls8974_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXLS8974_I2C_Initialize() argument
246 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXLS8974_I2C_Initialize()
256 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXLS8974_WHO_AM_I, 1, &reg); in FXLS8974_I2C_Initialize()
271 pSensorHandle->pCommDrv = pBus; in FXLS8974_I2C_Initialize()
Dfxls8962_drv.c69 …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()
241 …fxls8962_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXLS8962_I2C_Initialize() argument
247 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXLS8962_I2C_Initialize()
257 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXLS8962_WHO_AM_I, 1, &reg); in FXLS8962_I2C_Initialize()
272 pSensorHandle->pCommDrv = pBus; in FXLS8962_I2C_Initialize()
Dfxls896x_drv.c68 …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()
240 …fxls896x_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXLS896x_I2C_Initialize() argument
246 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXLS896x_I2C_Initialize()
256 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXLS896x_WHO_AM_I, 1, &reg); in FXLS896x_I2C_Initialize()
271 pSensorHandle->pCommDrv = pBus; in FXLS896x_I2C_Initialize()
Dfxls8961_drv.c68 …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()
240 …fxls8961_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress… in FXLS8961_I2C_Initialize() argument
246 if ((pSensorHandle == NULL) || (pBus == NULL)) in FXLS8961_I2C_Initialize()
256 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXLS8961_WHO_AM_I, 1, &reg); in FXLS8961_I2C_Initialize()
271 pSensorHandle->pCommDrv = pBus; in FXLS8961_I2C_Initialize()
Dfxpq3115_drv.c23 …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()
39 …status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, FXPQ3115_WHO_AM_I, 1, &reg); in FXPQ3115_I2C_Initialize()
47 pSensorHandle->pCommDrv = pBus; in FXPQ3115_I2C_Initialize()
Dmma845x_drv.c23 …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()
39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA845x_WHO_AM_I, 1, &reg); in MMA845x_I2C_Initialize()
47 pSensorHandle->pCommDrv = pBus; in MMA845x_I2C_Initialize()
Dmma865x_drv.c23 …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()
39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MMA865x_WHO_AM_I, 1, &reg); in MMA865x_I2C_Initialize()
47 pSensorHandle->pCommDrv = pBus; in MMA865x_I2C_Initialize()
Dmpl3115_drv.c23 …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()
39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MPL3115_WHO_AM_I, 1, &reg); in MPL3115_I2C_Initialize()
47 pSensorHandle->pCommDrv = pBus; in MPL3115_I2C_Initialize()
Ddiff_p_drv.c67 …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()
267 …diff_p_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, … in DIFF_P_I2C_Initialize() argument
273 if ((pSensorHandle == NULL) || (pBus == NULL)) in DIFF_P_I2C_Initialize()
283 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, DIFF_P_WHO_AM_I, 1, &reg); in DIFF_P_I2C_Initialize()
291 pSensorHandle->pCommDrv = pBus; in DIFF_P_I2C_Initialize()
Dmag3110_drv.c23 …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()
39 … status = Register_I2C_Read(pBus, &pSensorHandle->deviceInfo, sAddress, MAG3110_WHO_AM_I, 1, &reg); in MAG3110_I2C_Initialize()
47 pSensorHandle->pCommDrv = pBus; in MAG3110_I2C_Initialize()
Dfxls8471q_drv.c68 ARM_DRIVER_SPI *pBus, 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()
Dfxls8961_drv.h86 …fxls8961_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress…
150 ARM_DRIVER_SPI *pBus,
Dfxls896x_drv.h86 …fxls896x_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress…
150 ARM_DRIVER_SPI *pBus,
Dfxls8962_drv.h87 …fxls8962_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress…
151 ARM_DRIVER_SPI *pBus,
Dfxls8971_drv.h86 …fxls8971_i2c_sensorhandle_t *pSensorHandle, ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress…
150 ARM_DRIVER_SPI *pBus,

12