Function xensiv_pas_gas_r290_get_self_test(const xensiv_pas_gas_t *, xensiv_pas_gas_r290_self_test_t *)

Function Documentation

int32_t xensiv_pas_gas_r290_get_self_test(const xensiv_pas_gas_t *dev, xensiv_pas_gas_r290_self_test_t *self_test)

Configures the self test.

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

  • self_test[out] Pointer to a structure to store the self test results

Returns:

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