/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/ |
D | fxls8471_demo.c | 230 …uint8_t regdata, data[FXLS8471Q_ACCEL_DATA_SIZE], streamingPacket[STREAMING_HEADER_LEN + FXLS8471_… in main() local 365 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_int_src, ®data); in main() 369 if((regdata & 0x04) == 0x04) in main() 374 else if((regdata & 0x02) == 0x02) in main() 381 rawData.intsrc = regdata; in main() 385 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_int_src, ®data); in main() 386 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_ffmt_src, ®data); in main() 387 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_pl_status, ®data); in main()
|
D | fxls8471_demo_kl25z.c | 230 …uint8_t regdata, data[FXLS8471Q_ACCEL_DATA_SIZE], streamingPacket[STREAMING_HEADER_LEN + FXLS8471_… in main() local 365 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_int_src, ®data); in main() 369 if((regdata & 0x04) == 0x04) in main() 374 else if((regdata & 0x02) == 0x02) in main() 381 rawData.intsrc = regdata; in main() 385 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_int_src, ®data); in main() 386 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_ffmt_src, ®data); in main() 387 status = FXLS8471Q_SPI_ReadData(&fxls8471Driver, cFxls8471q_pl_status, ®data); in main()
|
D | fxos8700_demo.c | 233 …uint8_t regdata, data[RAW_ACCEL_MAG_DATA_SIZE], streamingPacket[STREAMING_HEADER_LEN + FXOS8700_ST… in main() local 372 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_int_src, ®data); in main() 376 if((regdata & 0x04) == 0x04) in main() 381 else if((regdata & 0x02) == 0x02) in main() 388 rawData.intsrc = regdata; in main() 392 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_int_src, ®data); in main() 393 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_ffmt_src, ®data); in main() 394 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_pl_status, ®data); in main()
|
D | fxos8700_poll_demo.c | 226 …uint8_t regdata, dataReady, data[RAW_ACCEL_MAG_DATA_SIZE], streamingPacket[STREAMING_HEADER_LEN + … in main() local 370 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_int_src, ®data); in main() 374 if((regdata & 0x04) == 0x04) in main() 379 else if((regdata & 0x02) == 0x02) in main() 386 rawData.intsrc = regdata; in main() 390 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_int_src, ®data); in main() 391 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_ffmt_src, ®data); in main() 392 status = FXOS8700_I2C_ReadData(&fxos8700Driver, cFXOS8700_pl_status, ®data); in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mma865x/ |
D | mma865x_freemaster_demo.c | 330 uint8_t regdata; in main() local 494 status = MMA865x_I2C_ReadData(&MMA8652drv, cMMA865x_fs_src, ®data); in main() 495 if (regdata == 1) in main() 499 else if (regdata == 2) in main() 537 status = MMA865x_I2C_ReadData(&MMA8652drv, cMMA865x_int_src, ®data); in main() 540 if((regdata & MMA865x_INT_SOURCE_SRC_FF_MT_MASK) == 0x04) in main() 549 else if((regdata & MMA865x_INT_SOURCE_SRC_PULSE_MASK) == 0x08) in main() 558 else if((regdata & MMA865x_INT_SOURCE_SRC_FF_MT_MASK) == 0x04) in main() 567 else if((regdata & MMA865x_INT_SOURCE_SRC_LNDPRT_MASK) == 0x10) in main() 586 status = MMA865x_I2C_ReadData(&MMA8652drv, cMMA865x_int_src, ®data); in main() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxos8700/ |
D | fxos8700_freemaster_demo.c | 388 uint8_t regdata; in main() local 558 status = FXOS8700_I2C_ReadData(&FXOS8700drv, cFXOS8700_fs_src, ®data); in main() 559 if (regdata == 1) in main() 563 else if (regdata == 2) in main() 612 status = FXOS8700_I2C_ReadData(&FXOS8700drv, cFXOS8700_int_src, ®data); in main() 615 if((regdata & FXOS8700_INT_SOURCE_SRC_FFMT_MASK) == 0x04) in main() 624 else if((regdata & FXOS8700_INT_SOURCE_SRC_PULSE_MASK) == 0x08) in main() 633 else if((regdata & FXOS8700_INT_SOURCE_SRC_A_VECM_MASK) == 0x02) in main() 642 else if((regdata & FXOS8700_INT_SOURCE_SRC_LNDPRT_MASK) == 0x10) in main() 661 status = FXOS8700_I2C_ReadData(&FXOS8700drv, cFXOS8700_int_src, ®data); in main() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8962/ |
D | fxls8962_freemaster_demo.c | 423 uint8_t regdata; in main() local 594 status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFXLS896x_fs_src, ®data); in main() 595 if ((regdata & FXLS8962_SENS_CONFIG1_FSR_MASK) == 2) in main() 599 else if ((regdata & FXLS8962_SENS_CONFIG1_FSR_MASK) == 4) in main() 603 else if ((regdata & FXLS8962_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls896xaf/ |
D | fxls896xaf_freemaster_demo.c | 427 uint8_t regdata; in main() local 619 status = FXLS896x_I2C_ReadData(&fxls896xDriver, cFXLS896x_fs_src, ®data); in main() 620 if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 2) in main() 624 else if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 4) in main() 628 else if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
D | fxls896xaf_freemaster_usb_demo.c | 418 uint8_t regdata; in main() local 616 status = FXLS896x_I2C_ReadData(&fxls896xDriver, cFXLS896x_fs_src, ®data); in main() 617 if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 2) in main() 621 else if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 4) in main() 625 else if ((regdata & FXLS896x_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8971cf/ |
D | fxls8971cf_freemaster_demo.c | 427 uint8_t regdata; in main() local 619 status = FXLS8971_I2C_ReadData(&fxls8971Driver, cFXLS8971_fs_src, ®data); in main() 620 if ((regdata & FXLS8971_SENS_CONFIG1_FSR_MASK) == 2) in main() 624 else if ((regdata & FXLS8971_SENS_CONFIG1_FSR_MASK) == 4) in main() 628 else if ((regdata & FXLS8971_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8961af/ |
D | fxls8961af_freemaster_demo.c | 427 uint8_t regdata; in main() local 619 status = FXLS8961_I2C_ReadData(&fxls8961Driver, cFXLS8961_fs_src, ®data); in main() 620 if ((regdata & FXLS8961_SENS_CONFIG1_FSR_MASK) == 2) in main() 624 else if ((regdata & FXLS8961_SENS_CONFIG1_FSR_MASK) == 4) in main() 628 else if ((regdata & FXLS8961_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8974cf/ |
D | fxls8974cf_freemaster_demo.c | 427 uint8_t regdata; in main() local 619 status = FXLS8974_I2C_ReadData(&fxls8974Driver, cFXLS8974_fs_src, ®data); in main() 620 if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 2) in main() 624 else if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 4) in main() 628 else if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 6) in main()
|
D | fxls8974cf_freemaster_usb_demo.c | 418 uint8_t regdata; in main() local 616 status = FXLS8974_I2C_ReadData(&fxls8974Driver, cFXLS8974_fs_src, ®data); in main() 617 if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 2) in main() 621 else if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 4) in main() 625 else if ((regdata & FXLS8974_SENS_CONFIG1_FSR_MASK) == 6) in main()
|