#include <pas-co2-pal-logger.hpp>
◆ init()
virtual Error_t pasco2::LoggerPAL::init |
( |
| ) |
|
|
pure virtual |
Initializes the Logger interface.
- Returns
- PAS CO2 error code
- Return values
-
OK | if success |
INTF_ERROR | if error |
Implemented in LoggerIno.
◆ deinit()
virtual Error_t pasco2::LoggerPAL::deinit |
( |
| ) |
|
|
pure virtual |
Deinitializes the logger interface.
- Returns
- PAS CO2 error code
- Return values
-
OK | if success |
INTF_ERROR | if 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] | *logData | Pointer to the array holding the data to be logged |
[in] | length | Length in bytes of the data to be written |
- Returns
- PAS CO2 error code
- Return values
-
OK | if success |
INTF_ERROR | if error |
Implemented in LoggerIno.
The documentation for this class was generated from the following file: