Function xensiv_pas_gas_get_interrupt_config(const xensiv_pas_gas_t *, xensiv_pas_gas_interrupt_config_t *)
Defined in File xensiv_pas_gas.h
Function Documentation
-
int32_t xensiv_pas_gas_get_interrupt_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_interrupt_config_t *int_config)
Gets the sensor device interrupt configuration.
- Parameters:
dev – [in] Pointer to the XENSIV™ PAS GAS sensor device
int_config – [out] Pointer to populate with the sensor device interrupt configuration
- Returns:
XENSIV_PAS_GAS_OK if getting the interrupt configuration was successful; an error indicating what went wrong otherwise