Home
last modified time | relevance | path

Searched refs:mpl3115Driver (Results 1 – 11 of 11) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/
Dmpl3115_poll_demo.c180 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
245 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
249 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
253 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
263 …Host_IO_Init(pUartDriver, (void *)mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, NULL, MPL3115… in main()
288 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
297 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115GetOST, &dataReady); in main()
308 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Dmpl3115_demo.c193 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
261 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
265 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
269 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
279 …Host_IO_Init(pUartDriver, (void *)mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, NULL, MPL3115… in main()
309 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
317 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Dmpl3115_oneShot_demo.c186 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
254 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
259 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
263 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
273 …Host_IO_Init(pUartDriver, (void *)mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, NULL, MPL3115… in main()
304 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
312 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Ddata_logger_demo.c243 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
312 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
334 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
359 …Host_IO_Init(pUartDriver, (void *)mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, NULL, MPL3115… in main()
448 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115GetOST, &dataReady_3115); in main()
456 status = MPL3115_I2C_ReadData(&mpl3115Driver, mpl3115_Output_Values, in main()
478 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
Ddemo_11_axis_mult2b.c281 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
383 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
394 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
443 …Host_IO_Init(pUartDriver, (void *)mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, NULL, MPL3115… in main()
562 status = MPL3115_I2C_ReadData(&mpl3115Driver, mpl3115_Output_Values, in main()
584 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &mpl3115Driver.deviceInfo, mpl3115Driver.slaveAd… in main()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mpl3115/
Dmpl3115_oneshot.c75 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
109 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
123 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &deviceInfo, mpl3115Driver.slaveAddress, cMpl311… in main()
134 …status = Sensor_I2C_Write(mpl3115Driver.pCommDrv, &deviceInfo, mpl3115Driver.slaveAddress, cMpl311… in main()
143 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115GetOST, &dataReady); in main()
153 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Dmpl3115_altitude.c80 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
113 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
123 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
126 status = MPL3115_I2C_Configure(&mpl3115Driver, cMpl3115ConfigAltitude); in main()
137 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115Status, &dataReady); in main()
144 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Dmpl3115_normal.c79 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
112 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
122 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
125 status = MPL3115_I2C_Configure(&mpl3115Driver, cMpl3115ConfigNormal); in main()
136 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115Status, &dataReady); in main()
143 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()
Dmpl3115_fifo.c82 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
115 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
125 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
128 status = MPL3115_I2C_Configure(&mpl3115Driver, cMpl3115ConfigFIFO); in main()
139 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115Status, &dataReady); in main()
146 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputFIFO, data); in main()
Dmpl3115_fifo_interrupt.c115 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
156 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
166 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
171 status = MPL3115_I2C_Configure(&mpl3115Driver, cMpl3115ConfigFIFO); in main()
194 MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115Status, (uint8_t *)&status); in main()
198 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputFIFO, data); in main()
Dmpl3115_normal_interrupt.c108 mpl3115_i2c_sensorhandle_t mpl3115Driver; in main() local
149 …status = MPL3115_I2C_Initialize(&mpl3115Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, MPL3115_I2C_ADD… in main()
159 MPL3115_I2C_SetIdleTask(&mpl3115Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
164 status = MPL3115_I2C_Configure(&mpl3115Driver, cMpl3115ConfigNormal); in main()
187 status = MPL3115_I2C_ReadData(&mpl3115Driver, cMpl3115OutputNormal, data); in main()