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
LSM6DSOX_free_fall
This section group all the functions concerning the free fall detection. More...
Functions | |
int32_t | lsm6dsox_ff_threshold_set (lsm6dsox_ctx_t *ctx, lsm6dsox_ff_ths_t val) |
Free fall threshold setting. | |
int32_t | lsm6dsox_ff_threshold_get (lsm6dsox_ctx_t *ctx, lsm6dsox_ff_ths_t *val) |
Free fall threshold setting. | |
int32_t | lsm6dsox_ff_dur_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
Free-fall duration event. | |
int32_t | lsm6dsox_ff_dur_get (lsm6dsox_ctx_t *ctx, uint8_t *val) |
Free-fall duration event. |
Detailed Description
This section group all the functions concerning the free fall detection.
Function Documentation
int32_t lsm6dsox_ff_dur_get | ( | lsm6dsox_ctx_t * | ctx, |
uint8_t * | val | ||
) |
Free-fall duration event.
[get] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of ff_dur in reg FREE_FALL
Definition at line 5232 of file lsm6dsox_reg.c.
int32_t lsm6dsox_ff_dur_set | ( | lsm6dsox_ctx_t * | ctx, |
uint8_t | val | ||
) |
Free-fall duration event.
[set] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of ff_dur in reg FREE_FALL
Definition at line 5202 of file lsm6dsox_reg.c.
int32_t lsm6dsox_ff_threshold_get | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_ff_ths_t * | val | ||
) |
Free fall threshold setting.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of ff_ths in reg FREE_FALL
Definition at line 5156 of file lsm6dsox_reg.c.
int32_t lsm6dsox_ff_threshold_set | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_ff_ths_t | val | ||
) |
Free fall threshold setting.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of ff_ths in reg FREE_FALL
Definition at line 5136 of file lsm6dsox_reg.c.
Generated on Tue Jul 12 2022 20:15:23 by
