Function xensiv_pas_gas_r290_set_alarm_config(const xensiv_pas_gas_t *, xensiv_pas_gas_r290_alarm_config_t)
Defined in File xensiv_pas_gas_r290.h
Function Documentation
-
int32_t xensiv_pas_gas_r290_set_alarm_config(const xensiv_pas_gas_t *dev, xensiv_pas_gas_r290_alarm_config_t alarm_config)
Configures the alarm configuration.
- Parameters:
dev – [in] Pointer to a XENSIV™ PAS GAS R290 sensor device structure
alarm_config – [in] New alarm configuration to apply
- Returns:
XENSIV_PAS_GAS_OK if the configuration was successful; an error indicating what went wrong otherwise