/* The STATUS_REG register is read by the primary interface..  */
int32_t lps22hh_status_reg_get(stmdev_ctx_t *ctx, lps22hh_status_t *val)
/* The STATUS_REG register is read by the primary interface..  */
int32_t lps22hh_status_reg_get(stmdev_ctx_t *ctx, lps22hh_status_t *val)
{
  int32_t ret;
  ret =  lps22hh_read_reg(ctx, LPS22HH_STATUS, (uint8_t *) val, 1);
  return ret;
}