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 interrup pins. More...
Functions | |
int32_t | lsm6dso_int1_mode_set (lsm6dso_ctx_t *ctx, lsm6dso_int1_pd_en_t val) |
Connect/Disconnect INT1 internal pull-down. | |
int32_t | lsm6dso_int1_mode_get (lsm6dso_ctx_t *ctx, lsm6dso_int1_pd_en_t *val) |
Connect/Disconnect INT1 internal pull-down. | |
int32_t | lsm6dso_pin_mode_set (lsm6dso_ctx_t *ctx, lsm6dso_pp_od_t val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lsm6dso_pin_mode_get (lsm6dso_ctx_t *ctx, lsm6dso_pp_od_t *val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lsm6dso_pin_polarity_set (lsm6dso_ctx_t *ctx, lsm6dso_h_lactive_t val) |
Interrupt active-high/low. | |
int32_t | lsm6dso_pin_polarity_get (lsm6dso_ctx_t *ctx, lsm6dso_h_lactive_t *val) |
Interrupt active-high/low. | |
int32_t | lsm6dso_all_on_int1_set (lsm6dso_ctx_t *ctx, uint8_t val) |
All interrupt signals become available on INT1 pin. | |
int32_t | lsm6dso_all_on_int1_get (lsm6dso_ctx_t *ctx, uint8_t *val) |
All interrupt signals become available on INT1 pin. | |
int32_t | lsm6dso_int_notification_set (lsm6dso_ctx_t *ctx, lsm6dso_lir_t val) |
Interrupt notification mode. | |
int32_t | lsm6dso_int_notification_get (lsm6dso_ctx_t *ctx, lsm6dso_lir_t *val) |
Interrupt notification mode. |
Detailed Description
This section groups all the functions that manage interrup pins.
Function Documentation
int32_t lsm6dso_all_on_int1_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | val | ||
) |
All interrupt signals become available on INT1 pin.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of int2_on_int1 in reg CTRL4_C
Definition at line 3758 of file lsm6dso_reg.c.
int32_t lsm6dso_all_on_int1_set | ( | lsm6dso_ctx_t * | ctx, |
uint8_t | val | ||
) |
All interrupt signals become available on INT1 pin.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of int2_on_int1 in reg CTRL4_C
Definition at line 3737 of file lsm6dso_reg.c.
int32_t lsm6dso_int1_mode_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_int1_pd_en_t * | val | ||
) |
Connect/Disconnect INT1 internal pull-down.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of pd_dis_int1 in reg I3C_BUS_AVB
Definition at line 3613 of file lsm6dso_reg.c.
int32_t lsm6dso_int1_mode_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_int1_pd_en_t | val | ||
) |
Connect/Disconnect INT1 internal pull-down.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of pd_dis_int1 in reg I3C_BUS_AVB
Definition at line 3593 of file lsm6dso_reg.c.
int32_t lsm6dso_int_notification_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_lir_t * | val | ||
) |
Interrupt notification mode.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of lir in reg TAP_CFG0
Definition at line 3813 of file lsm6dso_reg.c.
int32_t lsm6dso_int_notification_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_lir_t | val | ||
) |
Interrupt notification mode.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of lir in reg TAP_CFG0
Definition at line 3776 of file lsm6dso_reg.c.
int32_t lsm6dso_pin_mode_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_pp_od_t * | val | ||
) |
Push-pull/open drain selection on interrupt pads.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of pp_od in reg CTRL3_C
Definition at line 3660 of file lsm6dso_reg.c.
int32_t lsm6dso_pin_mode_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_pp_od_t | val | ||
) |
Push-pull/open drain selection on interrupt pads.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of pp_od in reg CTRL3_C
Definition at line 3640 of file lsm6dso_reg.c.
int32_t lsm6dso_pin_polarity_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_h_lactive_t * | val | ||
) |
Interrupt active-high/low.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of h_lactive in reg CTRL3_C
Definition at line 3709 of file lsm6dso_reg.c.
int32_t lsm6dso_pin_polarity_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_h_lactive_t | val | ||
) |
Interrupt active-high/low.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of h_lactive in reg CTRL3_C
Definition at line 3688 of file lsm6dso_reg.c.
Generated on Wed Jul 13 2022 04:15:41 by 1.7.2