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

Functions | |
| int32_t | lsm6dso32_tilt_sens_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enable tilt calculation.[set]. | |
| int32_t | lsm6dso32_tilt_sens_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enable tilt calculation.[get]. | |
| int32_t | lsm6dso32_tilt_flag_data_ready_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Interrupt status bit for tilt detection.[get]. | |
This section groups all the functions that manage the tilt event detection.
| int32_t lsm6dso32_tilt_flag_data_ready_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Interrupt status bit for tilt detection.[get].
| ctx | read / write interface definitions |
| val | change the values of is_tilt in reg EMB_FUNC_STATUS |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7461 of file lsm6dso32_reg.c.
References lsm6dso32_emb_func_status_t::is_tilt, LSM6DSO32_EMB_FUNC_STATUS, LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), and LSM6DSO32_USER_BANK.

| int32_t lsm6dso32_tilt_sens_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Enable tilt calculation.[get].
| ctx | read / write interface definitions |
| val | change the values of tilt_en in reg EMB_FUNC_EN_A |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7431 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::tilt_en.

| int32_t lsm6dso32_tilt_sens_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Enable tilt calculation.[set].
| ctx | read / write interface definitions |
| val | change the values of tilt_en in reg EMB_FUNC_EN_A |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 7395 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::tilt_en.
