![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
This section groups all the functions that manage the significant motion detection. More...

Functions | |
| int32_t | lsm6dso32_motion_sens_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enable significant motion detection function.[set]. | |
| int32_t | lsm6dso32_motion_sens_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enable significant motion detection function.[get]. | |
| int32_t | lsm6dso32_motion_flag_data_ready_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Interrupt status bit for significant motion detection.[get]. | |
This section groups all the functions that manage the significant motion detection.
| int32_t lsm6dso32_motion_flag_data_ready_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Interrupt status bit for significant motion detection.[get].
| ctx | read / write interface definitions |
| val | change the values of is_sigmot in reg EMB_FUNC_STATUS |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7350 of file lsm6dso32_reg.c.
References lsm6dso32_emb_func_status_t::is_sigmot, LSM6DSO32_EMB_FUNC_STATUS, LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), and LSM6DSO32_USER_BANK.

| int32_t lsm6dso32_motion_sens_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Enable significant motion detection function.[get].
| ctx | read / write interface definitions |
| val | change the values of sign_motion_en in reg EMB_FUNC_EN_A |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7320 of file lsm6dso32_reg.c.
References LSM6DSO32_EMB_FUNC_EN_A, LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), LSM6DSO32_USER_BANK, and lsm6dso32_emb_func_en_a_t::sign_motion_en.

| int32_t lsm6dso32_motion_sens_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Enable significant motion detection function.[set].
| ctx | read / write interface definitions |
| val | change the values of sign_motion_en in reg EMB_FUNC_EN_A |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7284 of file lsm6dso32_reg.c.
References LSM6DSO32_EMB_FUNC_EN_A, LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), LSM6DSO32_USER_BANK, lsm6dso32_write_reg(), and lsm6dso32_emb_func_en_a_t::sign_motion_en.
