/* pressure_ref: The Reference pressure value is a 24-bit data expressed as 2’s complement. The value is used when AUTOZERO or AUTORIFP function is enabled.  */
int32_t lps22hb_pressure_ref_set(stmdev_ctx_t *ctx, uint8_t *buff)
/* pressure_ref: The Reference pressure value is a 24-bit data expressed as 2’s complement. The value is used when AUTOZERO or AUTORIFP function is enabled.  */
int32_t lps22hb_pressure_ref_set(stmdev_ctx_t *ctx, uint8_t *buff)
{
  int32_t ret;
  ret =  lps22hb_write_reg(ctx, LPS22HB_REF_P_XL, buff, 3);
  return ret;
}