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_Wake_Up_event
This section groups all the functions that manage the Wake Up event generation. More...
Functions | |
| int32_t | lsm6dso_wkup_ths_weight_set (lsm6dso_ctx_t *ctx, lsm6dso_wake_ths_w_t val) |
| Weight of 1 LSB of wakeup threshold. | |
| int32_t | lsm6dso_wkup_ths_weight_get (lsm6dso_ctx_t *ctx, lsm6dso_wake_ths_w_t *val) |
| Weight of 1 LSB of wakeup threshold. | |
| int32_t | lsm6dso_wkup_threshold_set (lsm6dso_ctx_t *ctx, uint8_t val) |
| Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR. | |
| int32_t | lsm6dso_wkup_threshold_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
| Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR. | |
| int32_t | lsm6dso_xl_usr_offset_on_wkup_set (lsm6dso_ctx_t *ctx, uint8_t val) |
| Wake up duration event. | |
| int32_t | lsm6dso_xl_usr_offset_on_wkup_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
| Wake up duration event. | |
| int32_t | lsm6dso_wkup_dur_set (lsm6dso_ctx_t *ctx, uint8_t val) |
| Wake up duration event. | |
| int32_t | lsm6dso_wkup_dur_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
| Wake up duration event. | |
Detailed Description
This section groups all the functions that manage the Wake Up event generation.
Function Documentation
| int32_t lsm6dso_wkup_dur_get | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Wake up duration event.
[get] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of wake_dur in reg WAKE_UP_DUR
Definition at line 4200 of file lsm6dso_reg.c.
| int32_t lsm6dso_wkup_dur_set | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Wake up duration event.
[set] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of wake_dur in reg WAKE_UP_DUR
Definition at line 4179 of file lsm6dso_reg.c.
| int32_t lsm6dso_wkup_threshold_get | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of wk_ths in reg WAKE_UP_THS
Definition at line 4120 of file lsm6dso_reg.c.
| int32_t lsm6dso_wkup_threshold_set | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of wk_ths in reg WAKE_UP_THS
Definition at line 4099 of file lsm6dso_reg.c.
| int32_t lsm6dso_wkup_ths_weight_get | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_wake_ths_w_t * | val | ||
| ) |
Weight of 1 LSB of wakeup threshold.
[get] 0: 1 LSB =FS_XL / 64 1: 1 LSB = FS_XL / 256
- Parameters:
-
ctx read / write interface definitions val Get the values of wake_ths_w in reg WAKE_UP_DUR
Definition at line 4069 of file lsm6dso_reg.c.
| int32_t lsm6dso_wkup_ths_weight_set | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_wake_ths_w_t | val | ||
| ) |
Weight of 1 LSB of wakeup threshold.
[set] 0: 1 LSB =FS_XL / 64 1: 1 LSB = FS_XL / 256
- Parameters:
-
ctx read / write interface definitions val change the values of wake_ths_w in reg WAKE_UP_DUR
Definition at line 4045 of file lsm6dso_reg.c.
| int32_t lsm6dso_xl_usr_offset_on_wkup_get | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Wake up duration event.
[get] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of usr_off_on_wu in reg WAKE_UP_THS
Definition at line 4160 of file lsm6dso_reg.c.
| int32_t lsm6dso_xl_usr_offset_on_wkup_set | ( | lsm6dso_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Wake up duration event.
[set] 1LSb = 1 / ODR
- Parameters:
-
ctx read / write interface definitions val change the values of usr_off_on_wu in reg WAKE_UP_THS
Definition at line 4139 of file lsm6dso_reg.c.
Generated on Sat Jul 16 2022 04:44:06 by
1.7.2