iNEMO inertial module: 3D accelerometer and 3D gyroscope.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
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 4039 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 4018 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 3959 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 3938 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 3908 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 3884 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 3999 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 3978 of file lsm6dso_reg.c.
Generated on Wed Jul 13 2022 04:15:41 by 1.7.2