Function xensiv_pas_gas_a2l_set_aboc_cycle(const xensiv_pas_gas_t *, xensiv_pas_gas_a2l_aboc_cycle_config_t)

Function Documentation

int32_t xensiv_pas_gas_a2l_set_aboc_cycle(const xensiv_pas_gas_t *dev, xensiv_pas_gas_a2l_aboc_cycle_config_t aboc_cycle)

Configures the ABOC cycle.

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

  • aboc_cycle[in] New ABOC cycle configuration

Returns:

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