Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8962/
Dfxls8962_orientation_detection.c140 uint8_t orientStatus; in main() local
236 … status = FXLS8962_I2C_ReadData(&fxls8962Driver, cFxls8962OutputOrientStatus, &orientStatus); in main()
243 if (((orientStatus & FXLS8962_ORIENT_STATUS_NEW_ORIENT_MASK) == in main()
245 … ((orientStatus & FXLS8962_ORIENT_STATUS_LO_MASK) == FXLS8962_ORIENT_STATUS_LO_NOT_DETECTED)) in main()
247 … if ((orientStatus & FXLS8962_ORIENT_STATUS_LAPO_MASK) == FXLS8962_ORIENT_STATUS_LAPO_UP) in main()
251 … if ((orientStatus & FXLS8962_ORIENT_STATUS_LAPO_MASK) == FXLS8962_ORIENT_STATUS_LAPO_DOWN) in main()
255 … if ((orientStatus & FXLS8962_ORIENT_STATUS_LAPO_MASK) == FXLS8962_ORIENT_STATUS_LAPO_RIGHT) in main()
259 … if ((orientStatus & FXLS8962_ORIENT_STATUS_LAPO_MASK) == FXLS8962_ORIENT_STATUS_LAPO_LEFT) in main()
265 if (((orientStatus & FXLS8962_ORIENT_STATUS_NEW_ORIENT_MASK) == in main()
267 … ((orientStatus & FXLS8962_ORIENT_STATUS_LO_MASK) == FXLS8962_ORIENT_STATUS_LO_DETECTED)) in main()
[all …]