Function xensiv_pas_gas_a2l_get_humidity_control(const xensiv_pas_gas_t *, xensiv_pas_gas_a2l_humidity_control_t *)
Defined in File xensiv_pas_gas_a2l.h
Function Documentation
-
int32_t xensiv_pas_gas_a2l_get_humidity_control(const xensiv_pas_gas_t *dev, xensiv_pas_gas_a2l_humidity_control_t *hc_control)
Reads the humidity compensation control configuration.
- Parameters:
dev – [in] Pointer to a XENSIV™ PAS GAS A2L sensor device structure
hc_control – [out] Pointer to a structure to store the humidity compensation control configuration
- Returns:
XENSIV_PAS_GAS_OK if the read was successful; an error indicating what went wrong otherwise