Struct xensiv_pas_gas_s

Struct Documentation

struct xensiv_pas_gas_s

Structure of the XENSIV™ PAS GAS sensor device. Initialized using xensiv_pas_gas_init_i2c or xensiv_pas_gas_init_uart

Public Members

uint8_t meas_rate_min

Minimum measurement rate in seconds

uint8_t fcs_meas_rate_s

Measurement rate in seconds required for forced calibration

xensiv_pas_gas_fcs_fptr_t force_comp

Pointer to the perform forced compensation function

void *ctx

Context for I2C/UART platform-specific read and write functions

xensiv_pas_gas_read_fptr_t read

Pointer to the register read function which depends on the communication interface used

xensiv_pas_gas_write_fptr_t write

Pointer to the register write function which depends on the communication interface used