iNEMO inertial module: 3D accelerometer and 3D gyroscope.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
This section group all the functions concerning the free fall detection. More...
Functions | |
int32_t | lsm6dso_ff_threshold_set (lsm6dso_ctx_t *ctx, lsm6dso_ff_ths_t val) |
Free fall threshold setting. | |
int32_t | lsm6dso_ff_threshold_get (lsm6dso_ctx_t *ctx, lsm6dso_ff_ths_t *val) |
Free fall threshold setting. | |
int32_t | lsm6dso_ff_dur_set (lsm6dso_ctx_t *ctx, uint8_t val) |
Free-fall duration event. | |
int32_t | lsm6dso_ff_dur_get (lsm6dso_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 lsm6dso_ff_dur_get | ( | lsm6dso_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 4973 of file lsm6dso_reg.c.
int32_t lsm6dso_ff_dur_set | ( | lsm6dso_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 4943 of file lsm6dso_reg.c.
int32_t lsm6dso_ff_threshold_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_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 4897 of file lsm6dso_reg.c.
int32_t lsm6dso_ff_threshold_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_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 4877 of file lsm6dso_reg.c.
Generated on Wed Jul 13 2022 04:15:41 by 1.7.2