Function xensiv_pas_gas_get_result(const xensiv_pas_gas_t *, uint16_t *)
Defined in File xensiv_pas_gas.h
Function Documentation
-
int32_t xensiv_pas_gas_get_result(const xensiv_pas_gas_t *dev, uint16_t *val)
Gets the current GAS concentration values from the sensor device.
- Parameters:
dev – [in] Pointer to the XENSIV™ PAS GAS sensor device
val – [out] Pointer to populate with the GAS concentration value
- Returns:
XENSIV_PAS_GAS_OK if obtaining the current GAS value successful; an error indicating what went wrong otherwise