Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
LSM6DSO_tilt_detection
This section groups all the functions that manage the tilt event detection. More...
Functions | |
| int32_t | lsm6dso_tilt_sens_set (lsm6dso_ctx_t *ctx, uint8_t val) |
| Enable tilt calculation. | |
| int32_t | lsm6dso_tilt_sens_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
| Enable tilt calculation. | |
| int32_t | lsm6dso_tilt_flag_data_ready_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
| Interrupt status bit for tilt detection. | |
Detailed Description
This section groups all the functions that manage the tilt event detection.
Function Documentation
| int32_t lsm6dso_tilt_flag_data_ready_get | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Interrupt status bit for tilt detection.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of is_tilt in reg EMB_FUNC_STATUS
Definition at line 7098 of file lsm6dso_reg.c.
| int32_t lsm6dso_tilt_sens_get | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Enable tilt calculation.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of tilt_en in reg EMB_FUNC_EN_A
Definition at line 7074 of file lsm6dso_reg.c.
| int32_t lsm6dso_tilt_sens_set | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Enable tilt calculation.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of tilt_en in reg EMB_FUNC_EN_A
Definition at line 7048 of file lsm6dso_reg.c.
Generated on Sat Jul 16 2022 04:44:07 by
1.7.2