LPS22HH pressure sensor library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
This section group all the functions concerning the filters configuration. More...
Functions | |
int32_t | lps22hh_lp_bandwidth_set (lps22hh_ctx_t *ctx, lps22hh_lpfp_cfg_t val) |
Low-pass bandwidth selection. | |
int32_t | lps22hh_lp_bandwidth_get (lps22hh_ctx_t *ctx, lps22hh_lpfp_cfg_t *val) |
Low-pass bandwidth selection. |
Detailed Description
This section group all the functions concerning the filters configuration.
Function Documentation
int32_t lps22hh_lp_bandwidth_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lpfp_cfg_t * | val | ||
) |
Low-pass bandwidth selection.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of lpfp_cfg in reg CTRL_REG1
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 845 of file lps22hh_reg.c.
int32_t lps22hh_lp_bandwidth_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lpfp_cfg_t | val | ||
) |
Low-pass bandwidth selection.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of lpfp_cfg in reg CTRL_REG1
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 824 of file lps22hh_reg.c.
Generated on Wed Jul 13 2022 17:27:40 by
![doxygen](doxygen.png)