Function xensiv_pas_gas_a2l_get_absolute_humidity_ref(const xensiv_pas_gas_t *, uint16_t *)

Function Documentation

int32_t xensiv_pas_gas_a2l_get_absolute_humidity_ref(const xensiv_pas_gas_t *dev, uint16_t *abs_hum_ref)

Gets the absolute humidity reference value for humidity compensation.

Parameters:
  • dev[in] Pointer to a XENSIV™ PAS GAS A2L sensor device structure

  • abs_hum_ref[out] Pointer to a variable to store the absolute humidity reference value [0-500 g/m³]

Returns:

XENSIV_PAS_GAS_OK if the read was successful; an error indicating what went wrong otherwise