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
This section group all the functions concerning the free fall detection. More...
Functions | |
| int32_t | iis2dlpc_ff_dur_set (iis2dlpc_ctx_t *ctx, uint8_t val) |
| Wake up duration event(1LSb = 1 / ODR). | |
| int32_t | iis2dlpc_ff_dur_get (iis2dlpc_ctx_t *ctx, uint8_t *val) |
| Wake up duration event(1LSb = 1 / ODR). | |
| int32_t | iis2dlpc_ff_threshold_set (iis2dlpc_ctx_t *ctx, iis2dlpc_ff_ths_t val) |
| Free fall threshold setting. | |
| int32_t | iis2dlpc_ff_threshold_get (iis2dlpc_ctx_t *ctx, iis2dlpc_ff_ths_t *val) |
| Free fall threshold setting. | |
Detailed Description
This section group all the functions concerning the free fall detection.
Function Documentation
| int32_t iis2dlpc_ff_dur_get | ( | iis2dlpc_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Wake up duration event(1LSb = 1 / ODR).
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of ff_dur in reg WAKE_UP_DUR /F REE_FALL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2643 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_ff_dur_set | ( | iis2dlpc_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Wake up duration event(1LSb = 1 / ODR).
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of ff_dur in reg WAKE_UP_DUR /F REE_FALL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2612 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_ff_threshold_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2687 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_ff_threshold_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2665 of file iis2dlpc_reg.c.
Generated on Tue Jul 12 2022 14:14:49 by
1.7.2