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
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
This section groups all the functions that manage interrupt pins. More...
Functions | |
int32_t | lps22hh_int_notification_set (lps22hh_ctx_t *ctx, lps22hh_lir_t val) |
Latch interrupt request to the INT_SOURCE (24h) register. | |
int32_t | lps22hh_int_notification_get (lps22hh_ctx_t *ctx, lps22hh_lir_t *val) |
Latch interrupt request to the INT_SOURCE (24h) register. | |
int32_t | lps22hh_pin_mode_set (lps22hh_ctx_t *ctx, lps22hh_pp_od_t val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lps22hh_pin_mode_get (lps22hh_ctx_t *ctx, lps22hh_pp_od_t *val) |
Push-pull/open drain selection on interrupt pads. | |
int32_t | lps22hh_pin_polarity_set (lps22hh_ctx_t *ctx, lps22hh_int_h_l_t val) |
Interrupt active-high/low. | |
int32_t | lps22hh_pin_polarity_get (lps22hh_ctx_t *ctx, lps22hh_int_h_l_t *val) |
Interrupt active-high/low. | |
int32_t | lps22hh_pin_int_route_set (lps22hh_ctx_t *ctx, lps22hh_ctrl_reg3_t *val) |
Select the signal that need to route on int pad. | |
int32_t | lps22hh_pin_int_route_get (lps22hh_ctx_t *ctx, lps22hh_ctrl_reg3_t *val) |
Select the signal that need to route on int pad. |
Detailed Description
This section groups all the functions that manage interrupt pins.
Function Documentation
int32_t lps22hh_int_notification_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lir_t * | val | ||
) |
Latch interrupt request to the INT_SOURCE (24h) register.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of lir in reg INTERRUPT_CFG
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1180 of file lps22hh_reg.c.
int32_t lps22hh_int_notification_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lir_t | val | ||
) |
Latch interrupt request to the INT_SOURCE (24h) register.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of lir in reg INTERRUPT_CFG
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1159 of file lps22hh_reg.c.
int32_t lps22hh_pin_int_route_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_ctrl_reg3_t * | val | ||
) |
Select the signal that need to route on int pad.
[get]
- Parameters:
-
ctx read / write interface definitions val registers CTRL_REG3
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1330 of file lps22hh_reg.c.
int32_t lps22hh_pin_int_route_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_ctrl_reg3_t * | val | ||
) |
Select the signal that need to route on int pad.
[set]
- Parameters:
-
ctx read / write interface definitions val registers CTRL_REG3
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1314 of file lps22hh_reg.c.
int32_t lps22hh_pin_mode_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_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 CTRL_REG2
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1231 of file lps22hh_reg.c.
int32_t lps22hh_pin_mode_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_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 CTRL_REG2
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1209 of file lps22hh_reg.c.
int32_t lps22hh_pin_polarity_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_int_h_l_t * | val | ||
) |
Interrupt active-high/low.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of int_h_l in reg CTRL_REG2
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1284 of file lps22hh_reg.c.
int32_t lps22hh_pin_polarity_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_int_h_l_t | val | ||
) |
Interrupt active-high/low.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of int_h_l in reg CTRL_REG2
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1262 of file lps22hh_reg.c.
Generated on Wed Jul 13 2022 04:53:54 by
