Home
last modified time | relevance | path

Searched refs:fxls8962Driver (Results 1 – 9 of 9) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/
Dfxls8962_demo.c176 fxls8962_i2c_sensorhandle_t fxls8962Driver; variable
268 status = FXLS8962_I2C_DeInit(&fxls8962Driver); in process_host_command()
271 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in process_host_command()
276 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigNormal2); in process_host_command()
449 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
454 … FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
457 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigNormal); in main()
466 …Host_IO_Init(pUartDriver, (void *)fxls8962Driver.pCommDrv, &fxls8962Driver.deviceInfo, NULL, FXLS8… in main()
493 … status =FXLS8962_I2C_Configure(&fxls8962Driver, cFxls896216G); /* Configure 16G mode*/ in main()
496 … status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962STXP);/* Enable Self-Test +X Axis*/ in main()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8962/
Dfxls8962_freemaster_demo.c273 int32_t apply_register_write(fxls8962_i2c_sensorhandle_t fxls8962Driver, uint8_t offset, uint8_t va…
281 int32_t apply_register_read(fxls8962_i2c_sensorhandle_t fxls8962Driver, uint8_t offset, uint8_t *va…
287 int32_t apply_register_readall(fxls8962_i2c_sensorhandle_t fxls8962Driver);
321 int32_t perform_selftest(fxls8962_i2c_sensorhandle_t fxls8962Driver, fxls896x_selftest_t *selftest);
428 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
467 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
475 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
478 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigNormal); in main()
521 status = apply_register_write(fxls8962Driver, registers.offset, registers.value); in main()
535 status = apply_register_read(fxls8962Driver, registers.read_offset, &(registers.read_value)); in main()
[all …]
Dfxls8962_normal.c67 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
102 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
127 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
130 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigNormal); in main()
141 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962DRDYEvent, &dataReady); in main()
148 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962OutputNormal, data); in main()
Dfxls8962_normal_spi.c80 fxls8962_spi_sensorhandle_t fxls8962Driver; in main() local
115 … status = FXLS8962_SPI_Initialize(&fxls8962Driver, &SPI_S_DRIVER, SPI_S_DEVICE_INDEX, &FXLS8962_CS, in main()
140 FXLS8962_SPI_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
143 status = FXLS8962_SPI_Configure(&fxls8962Driver, cFxls8962ConfigNormal); in main()
154 status = FXLS8962_SPI_ReadData(&fxls8962Driver, cFxls8962DRDYEvent, &gFxls8962DataReady); in main()
161 status = FXLS8962_SPI_ReadData(&fxls8962Driver, cFxls8962OutputNormal, data); in main()
Dfxls8962_orientation_detection.c143 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
182 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
192 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
197 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigMotionDetect); in main()
226 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigOrientDetect); in main()
236 … status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962OutputOrientStatus, &orientStatus); in main()
279 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962SDCDEvent, &orientStatus); in main()
Dfxls8962_interrupt.c96 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
138 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
163 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
166 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigNormal); in main()
189 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962OutputNormal, data); in main()
Dfxls8962_freefall.c105 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
143 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
168 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
174 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigFreeFall); in main()
196 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962FreeFallEvent, &dataReady); in main()
Dfxls8962_fifo_spi.c90 fxls8962_spi_sensorhandle_t fxls8962Driver; in main() local
131 … status = FXLS8962_SPI_Initialize(&fxls8962Driver, &SPI_S_DRIVER, SPI_S_DEVICE_INDEX, &FXLS8962_CS, in main()
141 FXLS8962_SPI_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
144 status = FXLS8962_SPI_Configure(&fxls8962Driver, cFxls8962ConfigFIFO); in main()
168 status = FXLS8962_SPI_ReadData(&fxls8962Driver, cFxls8962OutputFIF0, data); in main()
Dfxls8962_motion_detection.c102 fxls8962_i2c_sensorhandle_t fxls8962Driver; in main() local
140 …status = FXLS8962_I2C_Initialize(&fxls8962Driver, &I2C_S_DRIVER, I2C_S_DEVICE_INDEX, FXLS8962_I2C_… in main()
150 FXLS8962_I2C_SetIdleTask(&fxls8962Driver, (registeridlefunction_t)SMC_SetPowerModeVlpr, SMC); in main()
153 status = FXLS8962_I2C_Configure(&fxls8962Driver, cFxls8962ConfigMotionDetect); in main()