PAS CO2 Sensor  1.0.3
C++ library for Infineon Photoacoustic Spectroscopy (PAS) XENSIV™ CO2 miniaturized sensor
pas-co2-conf.hpp File Reference

PAS CO2 Library Configuration. More...

Go to the source code of this file.

Detailed Description

PAS CO2 Library Configuration.

C Macro defines for library conditional compilation of the library modules. The available options of each define are listed in the file pas-co2-conf-opts.hpp. If any parameter is not defined, either as a compilation flag or in this file, the default value will be defined in pas-co2-conf-dfl.hpp.

  • Framework. Selection of the specific PAL implementation.
  • Interface. The sensor includes different firmware modules to operate the sensor via I2C or UART, or/and PWM. Through this define, those unused modules are not added during compilation.
  • Logger. The logger and its different levels enable serial trace debugging of the library. When enabled the program size is significantly increased. Thus, it is recommended to disable it for final productive releases.
Date
July 2020

SPDX-License-Identifier: MIT