sensor-xensiv-pasco2
xensiv_pasco2_t Struct Reference

Description

Structure of the XENSIV™ PAS CO2 sensor device.

Initialized using xensiv_pasco2_init_i2c or xensiv_pasco2_init_uart

Data Fields

void * ctx
 
xensiv_pasco2_read_fptr_t read
 
xensiv_pasco2_write_fptr_t write
 

Field Documentation

◆ ctx

void* ctx

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

◆ read

xensiv_pasco2_read_fptr_t read

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

◆ write

xensiv_pasco2_write_fptr_t write

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