LPS22HH pressure sensor library

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

LPS22HH_Filters

LPS22HH_Filters
[LPS22HH]

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:
ctxread / write interface definitions
valGet the values of lpfp_cfg in reg CTRL_REG1
Return values:
interfacestatus (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:
ctxread / write interface definitions
valchange the values of lpfp_cfg in reg CTRL_REG1
Return values:
interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 824 of file lps22hh_reg.c.