Struct xensiv_pasco2

Struct Documentation

struct xensiv_pasco2

Structure of the XENSIV™ PAS CO2 sensor device. Initialized using xensiv_pasco2_init_i2c or xensiv_pasco2_init_uart

Public Members

void *ctx

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

xensiv_pasco2_read_fptr_t read

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

xensiv_pasco2_write_fptr_t write

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