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.
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) |
| int_on_threshold: [set] Enable interrupt generation on pressure low/high event. | |
| int32_t | lps22hh_int_on_threshold_get (lps22hh_ctx_t *ctx, lps22hh_pe_t *val) |
| int_on_threshold: [get] Enable interrupt generation on pressure low/high event. | |
| int32_t | lps22hh_int_treshold_set (lps22hh_ctx_t *ctx, uint8_t *buff) |
| int_treshold: [set] User-defined threshold value for pressure interrupt event. | |
| int32_t | lps22hh_int_treshold_get (lps22hh_ctx_t *ctx, uint8_t *buff) |
| int_treshold: [get] 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 | ||
| ) |
int_on_threshold: [get] Enable interrupt generation on pressure low/high event.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_pe_t,: Get the values of pe in reg INTERRUPT_CFG
Definition at line 1103 of file LPS22HH_Driver.c.
| int32_t lps22hh_int_on_threshold_set | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_pe_t | val | ||
| ) |
int_on_threshold: [set] Enable interrupt generation on pressure low/high event.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_pe_t,: change the values of pe in reg INTERRUPT_CFG
Definition at line 1073 of file LPS22HH_Driver.c.
| int32_t lps22hh_int_treshold_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
int_treshold: [get] User-defined threshold value for pressure interrupt event.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that stores data read
Definition at line 1135 of file LPS22HH_Driver.c.
| int32_t lps22hh_int_treshold_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
int_treshold: [set] User-defined threshold value for pressure interrupt event.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that contains data to write
Definition at line 1122 of file LPS22HH_Driver.c.
Generated on Tue Jul 12 2022 16:29:50 by
1.7.2