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_Wake_Up_event
This section groups all the functions that manage the Wake Up event generation. More...
Functions | |
int32_t | lsm6dsox_wkup_ths_weight_set (lsm6dsox_ctx_t *ctx, lsm6dsox_wake_ths_w_t val) |
Weight of 1 LSB of wakeup threshold. | |
int32_t | lsm6dsox_wkup_ths_weight_get (lsm6dsox_ctx_t *ctx, lsm6dsox_wake_ths_w_t *val) |
Weight of 1 LSB of wakeup threshold. | |
int32_t | lsm6dsox_wkup_threshold_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR. | |
int32_t | lsm6dsox_wkup_threshold_get (lsm6dsox_ctx_t *ctx, uint8_t *val) |
Threshold for wakeup: 1 LSB weight depends on WAKE_THS_W in WAKE_UP_DUR. | |
int32_t | lsm6dsox_xl_usr_offset_on_wkup_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
Wake up duration event. | |
int32_t | lsm6dsox_xl_usr_offset_on_wkup_get (lsm6dsox_ctx_t *ctx, uint8_t *val) |
Wake up duration event. | |
int32_t | lsm6dsox_wkup_dur_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
Wake up duration event. | |
int32_t | lsm6dsox_wkup_dur_get (lsm6dsox_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 lsm6dsox_wkup_dur_get | ( | lsm6dsox_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 4298 of file lsm6dsox_reg.c.
int32_t lsm6dsox_wkup_dur_set | ( | lsm6dsox_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 4277 of file lsm6dsox_reg.c.
int32_t lsm6dsox_wkup_threshold_get | ( | lsm6dsox_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 4218 of file lsm6dsox_reg.c.
int32_t lsm6dsox_wkup_threshold_set | ( | lsm6dsox_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 4197 of file lsm6dsox_reg.c.
int32_t lsm6dsox_wkup_ths_weight_get | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 4167 of file lsm6dsox_reg.c.
int32_t lsm6dsox_wkup_ths_weight_set | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 4143 of file lsm6dsox_reg.c.
int32_t lsm6dsox_xl_usr_offset_on_wkup_get | ( | lsm6dsox_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 4258 of file lsm6dsox_reg.c.
int32_t lsm6dsox_xl_usr_offset_on_wkup_set | ( | lsm6dsox_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 4237 of file lsm6dsox_reg.c.
Generated on Tue Jul 12 2022 20:15:23 by
