Function xensiv_pas_gas_a2l_get_denoise_config(const xensiv_pas_gas_t *, xensiv_pas_gas_a2l_denoise_config_t *)

Function Documentation

int32_t xensiv_pas_gas_a2l_get_denoise_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_a2l_denoise_config_t *denoise_config)

Gets the denoising smoothing factor of XENSIV™ PAS GAS A2L sensor.

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

  • denoise_config[in] Pointer to a structure containing the denoising configuration

Returns:

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