PAS CO2 Sensor  1.0.3
C++ library for Infineon Photoacoustic Spectroscopy (PAS) XENSIV™ CO2 miniaturized sensor
pas-co2-pal-logger.hpp
Go to the documentation of this file.
1 
10 #ifndef PAS_CO2_PAL_LOGGER_HPP_
11 #define PAS_CO2_PAL_LOGGER_HPP_
12 
13 #include "pas-co2-conf.hpp"
14 
15 #if (PAS_CO2_LOGGER_ENABLED == 1)
16 
17 #include <stdint.h>
18 #include "pas-co2-types.hpp"
19 
20 namespace pasco2
21 {
22 
28 class LoggerPAL
29 {
30  public:
31 
38  virtual Error_t init () = 0;
39 
46  virtual Error_t deinit () = 0;
47 
56  virtual Error_t write (const uint8_t * logData, uint32_t length) = 0;
57 };
58 
61 }
62 
63 #endif /* PAS_CO2_LOGGER_ENABLED */
64 #endif
Definition: pas-co2-pal-logger.hpp:28
Definition: pas-co2-i2c.hpp:21
virtual Error_t init()=0
Initializes the Logger interface.
Error_t
Definition: pas-co2-types.hpp:24
virtual Error_t deinit()=0
Deinitializes the logger interface.
PAS CO2 Types.
PAS CO2 Library Configuration.
virtual Error_t write(const uint8_t *logData, uint32_t length)=0
Writes in the logger interface.