Function xensiv_pas_gas_set_interrupt_config(const xensiv_pas_gas_t *, xensiv_pas_gas_interrupt_config_t)

Function Documentation

int32_t xensiv_pas_gas_set_interrupt_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_interrupt_config_t int_config)

Sets the sensor device interrupt configuration.

Parameters:
  • dev[in] Pointer to the XENSIV™ PAS GAS sensor device

  • int_config[in] New sensor device interrupt configuration to apply

Returns:

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