Function xensiv_pasco2_get_interrupt_config(const xensiv_pasco2_t *, xensiv_pasco2_interrupt_config_t *)

Function Documentation

int32_t xensiv_pasco2_get_interrupt_config(const xensiv_pasco2_t *dev, xensiv_pasco2_interrupt_config_t *int_config)

Gets the sensor device interrupt configuration.

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

  • int_config[out] Pointer to populate with the sensor device interrupt configuration

Returns

XENSIV_PASCO2_OK if getting the interrupt configuration was successful; an error indicating what went wrong otherwise