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_interrupt_pins
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_int1_route_set (lsm6dso_ctx_t *ctx, lsm6dso_pin_int1_route_t *val) |
| Select the signal that need to route on int1 pad. | |
| int32_t | lsm6dso_pin_int1_route_get (lsm6dso_ctx_t *ctx, lsm6dso_pin_int1_route_t *val) |
| Select the signal that need to route on int1 pad. | |
| int32_t | lsm6dso_pin_int2_route_set (lsm6dso_ctx_t *ctx, lsm6dso_pin_int2_route_t *val) |
| Select the signal that need to route on int2 pad. | |
| int32_t | lsm6dso_pin_int2_route_get (lsm6dso_ctx_t *ctx, lsm6dso_pin_int2_route_t *val) |
| Select the signal that need to route on int2 pad. | |
| 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 3919 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 3898 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 3477 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 3457 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 3974 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 3937 of file lsm6dso_reg.c.
| int32_t lsm6dso_pin_int1_route_get | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_pin_int1_route_t * | val | ||
| ) |
Select the signal that need to route on int1 pad.
[get]
- Parameters:
-
ctx read / write interface definitions val struct of registers: INT1_CTRL, MD1_CFG, EMB_FUNC_INT1, FSM_INT1_A, FSM_INT1_B
Definition at line 3613 of file lsm6dso_reg.c.
| int32_t lsm6dso_pin_int1_route_set | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_pin_int1_route_t * | val | ||
| ) |
Select the signal that need to route on int1 pad.
[set]
- Parameters:
-
ctx read / write interface definitions val struct of registers: INT1_CTRL, MD1_CFG, EMB_FUNC_INT1, FSM_INT1_A, FSM_INT1_B
Definition at line 3506 of file lsm6dso_reg.c.
| int32_t lsm6dso_pin_int2_route_get | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_pin_int2_route_t * | val | ||
| ) |
Select the signal that need to route on int2 pad.
[get]
- Parameters:
-
ctx read / write interface definitions val union of registers INT2_CTRL, MD2_CFG, EMB_FUNC_INT2, FSM_INT2_A, FSM_INT2_B
Definition at line 3762 of file lsm6dso_reg.c.
| int32_t lsm6dso_pin_int2_route_set | ( | lsm6dso_ctx_t * | ctx, |
| lsm6dso_pin_int2_route_t * | val | ||
| ) |
Select the signal that need to route on int2 pad.
[set]
- Parameters:
-
ctx read / write interface definitions val union of registers INT2_CTRL, MD2_CFG, EMB_FUNC_INT2, FSM_INT2_A, FSM_INT2_B
Definition at line 3654 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 3821 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 3801 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 3870 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 3849 of file lsm6dso_reg.c.
Generated on Sat Jul 16 2022 04:44:06 by
1.7.2