Untitled

 avatar
unknown
c_cpp
2 years ago
484 B
9
Indexable
// interface_cpp.h

#ifndef INTERFACE_CPP_H
#define INTERFACE_CPP_H

#include "source/TLE5012B/corelib/tle5012b_util.h"

#if defined(__cplusplus)
extern "C" {
#endif

void uart_transmit_callback(void);

#if defined(__cplusplus)
}
#endif


#endif // INTERFACE_CPP_H


// interface.cpp
#include "interface_cpp.h"
#include "source/appLIN/app_lin.h"// for applinuart class

LIN::AppLinUart uart;
void uart_transmit_callback(void) { uart.interruptByteWasSent(); }
Editor is loading...