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 the interrupt on threshold event generation. More...
Functions | |
int32_t | lps22hh_int_on_threshold_set (lps22hh_ctx_t *ctx, lps22hh_pe_t val) |
Enable interrupt generation on pressure low/high event. | |
int32_t | lps22hh_int_on_threshold_get (lps22hh_ctx_t *ctx, lps22hh_pe_t *val) |
Enable interrupt generation on pressure low/high event. | |
int32_t | lps22hh_int_treshold_set (lps22hh_ctx_t *ctx, uint16_t buff) |
User-defined threshold value for pressure interrupt event. | |
int32_t | lps22hh_int_treshold_get (lps22hh_ctx_t *ctx, uint16_t *buff) |
User-defined threshold value for pressure interrupt event. |
Detailed Description
This section groups all the functions that manage the interrupt on threshold event generation.
Function Documentation
int32_t lps22hh_int_on_threshold_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pe_t * | val | ||
) |
Enable interrupt generation on pressure low/high event.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of pe in reg INTERRUPT_CFG
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1386 of file lps22hh_reg.c.
int32_t lps22hh_int_on_threshold_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pe_t | val | ||
) |
Enable interrupt generation on pressure low/high event.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of pe in reg INTERRUPT_CFG
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1359 of file lps22hh_reg.c.
int32_t lps22hh_int_treshold_get | ( | lps22hh_ctx_t * | ctx, |
uint16_t * | buff | ||
) |
User-defined threshold value for pressure interrupt event.
[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1448 of file lps22hh_reg.c.
int32_t lps22hh_int_treshold_set | ( | lps22hh_ctx_t * | ctx, |
uint16_t | buff | ||
) |
User-defined threshold value for pressure interrupt event.
[set]
- Parameters:
-
ctx read / write interface definitions buff buffer that contains data to write
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 1422 of file lps22hh_reg.c.
Generated on Wed Jul 13 2022 04:53:54 by
