PAS CO2 Sensor  1.0.3
C++ library for Infineon Photoacoustic Spectroscopy (PAS) XENSIV™ CO2 miniaturized sensor
LoggerIno Class Reference

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

Inheritance diagram for LoggerIno:
Collaboration diagram for LoggerIno:

Public Member Functions

 LoggerIno ()
 Logger Arduino PAL constructor. More...
 
 ~LoggerIno ()
 Logger Arduino PAL destructor. More...
 
Error_t init ()
 Initializes the logger Arduino PAL. More...
 
Error_t deinit ()
 Deinitializes the logger Arduino PAL. More...
 
Error_t write (const uint8_t *log_data, uint32_t length)
 Writes in the logger Arduino PAL. More...
 

Constructor & Destructor Documentation

◆ LoggerIno()

LoggerIno::LoggerIno ( )

Logger Arduino PAL constructor.

◆ ~LoggerIno()

LoggerIno::~LoggerIno ( )

Logger Arduino PAL destructor.

Member Function Documentation

◆ init()

Error_t LoggerIno::init ( void  )
virtual

Initializes the logger Arduino PAL.

Note
Serial is initialized by the Arduino core and begun in setup().
Returns
PAS CO2 error code
Return values
OKalways

Implements pasco2::LoggerPAL.

◆ deinit()

Error_t LoggerIno::deinit ( void  )
virtual

Deinitializes the logger Arduino PAL.

Returns
PAS CO2 error code
Return values
OKalways

Implements pasco2::LoggerPAL.

◆ write()

Error_t LoggerIno::write ( const uint8_t *  log_data,
uint32_t  length 
)
virtual

Writes in the logger Arduino PAL.

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
OKalways

Implements pasco2::LoggerPAL.


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