PAS CO2 Sensor  1.0.3
C++ library for Infineon Photoacoustic Spectroscopy (PAS) XENSIV™ CO2 miniaturized sensor
pasco2::LoggerPAL Class Referenceabstract

#include <pas-co2-pal-logger.hpp>

Inheritance diagram for pasco2::LoggerPAL:

Public Member Functions

virtual Error_t init ()=0
 Initializes the Logger interface. More...
 
virtual Error_t deinit ()=0
 Deinitializes the logger interface. More...
 
virtual Error_t write (const uint8_t *logData, uint32_t length)=0
 Writes in the logger interface. More...
 

Member Function Documentation

◆ init()

virtual Error_t pasco2::LoggerPAL::init ( )
pure virtual

Initializes the Logger interface.

Returns
PAS CO2 error code
Return values
OKif success
INTF_ERRORif error

Implemented in LoggerIno.

◆ deinit()

virtual Error_t pasco2::LoggerPAL::deinit ( )
pure virtual

Deinitializes the logger interface.

Returns
PAS CO2 error code
Return values
OKif success
INTF_ERRORif error

Implemented in LoggerIno.

◆ write()

virtual Error_t pasco2::LoggerPAL::write ( const uint8_t *  logData,
uint32_t  length 
)
pure virtual

Writes in the logger interface.

Parameters
[in]*logDataPointer to the array holding the data to be logged
[in]lengthLength in bytes of the data to be written
Returns
PAS CO2 error code
Return values
OKif success
INTF_ERRORif error

Implemented in LoggerIno.


The documentation for this class was generated from the following file: