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
This section groups all the functions that manage interrupt pins. More...
Functions | |
| int32_t | iis2dlpc_pin_polarity_set (iis2dlpc_ctx_t *ctx, iis2dlpc_h_lactive_t val) |
| Interrupt active-high/low. | |
| int32_t | iis2dlpc_pin_polarity_get (iis2dlpc_ctx_t *ctx, iis2dlpc_h_lactive_t *val) |
| Interrupt active-high/low. | |
| int32_t | iis2dlpc_int_notification_set (iis2dlpc_ctx_t *ctx, iis2dlpc_lir_t val) |
| Latched/pulsed interrupt. | |
| int32_t | iis2dlpc_int_notification_get (iis2dlpc_ctx_t *ctx, iis2dlpc_lir_t *val) |
| Latched/pulsed interrupt. | |
| int32_t | iis2dlpc_pin_mode_set (iis2dlpc_ctx_t *ctx, iis2dlpc_pp_od_t val) |
| Push-pull/open drain selection on interrupt pads. | |
| int32_t | iis2dlpc_pin_mode_get (iis2dlpc_ctx_t *ctx, iis2dlpc_pp_od_t *val) |
| Push-pull/open drain selection on interrupt pads. | |
| int32_t | iis2dlpc_pin_int1_route_set (iis2dlpc_ctx_t *ctx, iis2dlpc_ctrl4_int1_pad_ctrl_t *val) |
| Select the signal that need to route on int1 pad. | |
| int32_t | iis2dlpc_pin_int1_route_get (iis2dlpc_ctx_t *ctx, iis2dlpc_ctrl4_int1_pad_ctrl_t *val) |
| Select the signal that need to route on int1 pad. | |
| int32_t | iis2dlpc_pin_int2_route_set (iis2dlpc_ctx_t *ctx, iis2dlpc_ctrl5_int2_pad_ctrl_t *val) |
| Select the signal that need to route on int2 pad. | |
| int32_t | iis2dlpc_pin_int2_route_get (iis2dlpc_ctx_t *ctx, iis2dlpc_ctrl5_int2_pad_ctrl_t *val) |
| Select the signal that need to route on int2 pad. | |
| int32_t | iis2dlpc_all_on_int1_set (iis2dlpc_ctx_t *ctx, uint8_t val) |
| All interrupt signals become available on INT1 pin. | |
| int32_t | iis2dlpc_all_on_int1_get (iis2dlpc_ctx_t *ctx, uint8_t *val) |
| All interrupt signals become available on INT1 pin. | |
Detailed Description
This section groups all the functions that manage interrupt pins.
Function Documentation
| int32_t iis2dlpc_all_on_int1_get | ( | iis2dlpc_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 CTRL_REG7
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1620 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_all_on_int1_set | ( | iis2dlpc_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 CTRL_REG7
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1599 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_int_notification_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_lir_t * | val | ||
| ) |
Latched/pulsed interrupt.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of lir in reg CTRL3
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1417 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_int_notification_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_lir_t | val | ||
| ) |
Latched/pulsed interrupt.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of lir in reg CTRL3
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1395 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_int1_route_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_ctrl4_int1_pad_ctrl_t * | val | ||
| ) |
Select the signal that need to route on int1 pad.
[get]
- Parameters:
-
ctx read / write interface definitions val register CTRL4_INT1_PAD_CTRL.
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1532 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_int1_route_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_ctrl4_int1_pad_ctrl_t * | val | ||
| ) |
Select the signal that need to route on int1 pad.
[set]
- Parameters:
-
ctx read / write interface definitions val register CTRL4_INT1_PAD_CTRL.
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1497 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_int2_route_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_ctrl5_int2_pad_ctrl_t * | val | ||
| ) |
Select the signal that need to route on int2 pad.
[get]
- Parameters:
-
ctx read / write interface definitions val register CTRL5_INT2_PAD_CTRL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1583 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_int2_route_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_ctrl5_int2_pad_ctrl_t * | val | ||
| ) |
Select the signal that need to route on int2 pad.
[set]
- Parameters:
-
ctx read / write interface definitions val register CTRL5_INT2_PAD_CTRL.
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1549 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_mode_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1468 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_mode_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1447 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_polarity_get | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1365 of file iis2dlpc_reg.c.
| int32_t iis2dlpc_pin_polarity_set | ( | iis2dlpc_ctx_t * | ctx, |
| iis2dlpc_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
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1343 of file iis2dlpc_reg.c.
Generated on Tue Jul 12 2022 14:14:49 by
1.7.2