![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
This section group all the functions concerning the free fall detection. More...

Functions | |
| int32_t | lsm6dso32_ff_threshold_set (stmdev_ctx_t *ctx, lsm6dso32_ff_ths_t val) |
| Free fall threshold setting.[set]. | |
| int32_t | lsm6dso32_ff_threshold_get (stmdev_ctx_t *ctx, lsm6dso32_ff_ths_t *val) |
| Free fall threshold setting.[get]. | |
| int32_t | lsm6dso32_ff_dur_set (stmdev_ctx_t *ctx, uint8_t val) |
| Free-fall duration event.[set] 1LSb = 1 / ODR. | |
| int32_t | lsm6dso32_ff_dur_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Free-fall duration event.[get] 1LSb = 1 / ODR. | |
This section group all the functions concerning the free fall detection.
| int32_t lsm6dso32_ff_dur_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Free-fall duration event.[get] 1LSb = 1 / ODR.
| ctx | read / write interface definitions |
| val | change the values of ff_dur in reg FREE_FALL |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 5043 of file lsm6dso32_reg.c.
References lsm6dso32_wake_up_dur_t::ff_dur, LSM6DSO32_FREE_FALL, lsm6dso32_read_reg(), and LSM6DSO32_WAKE_UP_DUR.

| int32_t lsm6dso32_ff_dur_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Free-fall duration event.[set] 1LSb = 1 / ODR.
| ctx | read / write interface definitions |
| val | change the values of ff_dur in reg FREE_FALL |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 5002 of file lsm6dso32_reg.c.
References lsm6dso32_wake_up_dur_t::ff_dur, lsm6dso32_free_fall_t::ff_dur, LSM6DSO32_FREE_FALL, lsm6dso32_read_reg(), LSM6DSO32_WAKE_UP_DUR, and lsm6dso32_write_reg().

| int32_t lsm6dso32_ff_threshold_get | ( | stmdev_ctx_t * | ctx, |
| lsm6dso32_ff_ths_t * | val | ||
| ) |
Free fall threshold setting.[get].
| ctx | read / write interface definitions |
| val | Get the values of ff_ths in reg FREE_FALL |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 4963 of file lsm6dso32_reg.c.
References lsm6dso32_free_fall_t::ff_ths, LSM6DSO32_FF_TSH_312mg, LSM6DSO32_FF_TSH_438mg, LSM6DSO32_FF_TSH_500mg, LSM6DSO32_FREE_FALL, and lsm6dso32_read_reg().

| int32_t lsm6dso32_ff_threshold_set | ( | stmdev_ctx_t * | ctx, |
| lsm6dso32_ff_ths_t | val | ||
| ) |
Free fall threshold setting.[set].
| ctx | read / write interface definitions |
| val | change the values of ff_ths in reg FREE_FALL |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 4938 of file lsm6dso32_reg.c.
References lsm6dso32_free_fall_t::ff_ths, LSM6DSO32_FREE_FALL, lsm6dso32_read_reg(), and lsm6dso32_write_reg().
