Multi Half-Bridge  4.0.0
Library of Infineon's Multi Half-Bridge IC controllers family
logger.hpp
Go to the documentation of this file.
1 
9 #ifndef LOGGER_HPP_
10 #define LOGGER_HPP_
11 
12 #include "tle94112-conf.hpp"
13 
14 #if (TLE94112_LOGGER_ENABLED == 1)
15 
16 #include <stdint.h>
17 #include "../corelib/tle94112-types.hpp"
18 
19 namespace tle94112
20 {
21 
27 class LoggerPAL
28 {
29  public:
30 
37  virtual Error_t init () = 0;
38 
45  virtual Error_t deinit () = 0;
46 
55  virtual Error_t write (const uint8_t * logData, uint32_t length) = 0;
56 };
57 
60 }
61 
62 #endif /* TLE94112_LOGGER_ENABLED */
63 #endif
Error_t
Definition: tle94112-types.hpp:26
Definition: tle94112-types.hpp:14
TLE94112 Library Configuration.