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_interrupt_pins
This section groups all the functions that manage interrup pins. More...
Functions | |
int32_t | lsm6dsox_pin_mode_set (lsm6dsox_ctx_t *ctx, lsm6dsox_pp_od_t val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lsm6dsox_pin_mode_get (lsm6dsox_ctx_t *ctx, lsm6dsox_pp_od_t *val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lsm6dsox_pin_polarity_set (lsm6dsox_ctx_t *ctx, lsm6dsox_h_lactive_t val) |
Interrupt active-high/low. | |
int32_t | lsm6dsox_pin_polarity_get (lsm6dsox_ctx_t *ctx, lsm6dsox_h_lactive_t *val) |
Interrupt active-high/low. | |
int32_t | lsm6dsox_all_on_int1_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
All interrupt signals become available on INT1 pin. | |
int32_t | lsm6dsox_all_on_int1_get (lsm6dsox_ctx_t *ctx, uint8_t *val) |
All interrupt signals become available on INT1 pin. | |
int32_t | lsm6dsox_int_notification_set (lsm6dsox_ctx_t *ctx, lsm6dsox_lir_t val) |
Interrupt notification mode. | |
int32_t | lsm6dsox_int_notification_get (lsm6dsox_ctx_t *ctx, lsm6dsox_lir_t *val) |
Interrupt notification mode. |
Detailed Description
This section groups all the functions that manage interrup pins.
Function Documentation
int32_t lsm6dsox_all_on_int1_get | ( | lsm6dsox_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 4017 of file lsm6dsox_reg.c.
int32_t lsm6dsox_all_on_int1_set | ( | lsm6dsox_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 3996 of file lsm6dsox_reg.c.
int32_t lsm6dsox_int_notification_get | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 4072 of file lsm6dsox_reg.c.
int32_t lsm6dsox_int_notification_set | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 4035 of file lsm6dsox_reg.c.
int32_t lsm6dsox_pin_mode_get | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 3908 of file lsm6dsox_reg.c.
int32_t lsm6dsox_pin_mode_set | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 3878 of file lsm6dsox_reg.c.
int32_t lsm6dsox_pin_polarity_get | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 3968 of file lsm6dsox_reg.c.
int32_t lsm6dsox_pin_polarity_set | ( | lsm6dsox_ctx_t * | ctx, |
lsm6dsox_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 3947 of file lsm6dsox_reg.c.
Generated on Tue Jul 12 2022 20:15:23 by
