30 lines
557 B
C
30 lines
557 B
C
//
|
|
// Created by cfif on 21.02.2025.
|
|
//
|
|
|
|
#ifndef UVEOS_ON_NATION_CANMAIN_H
|
|
#define UVEOS_ON_NATION_CANMAIN_H
|
|
|
|
#include "CmsisRtosThreadUtils.h"
|
|
#include "SerialPortFrameIO.h"
|
|
#include "LoggerInterface.h"
|
|
#include "LoggerToSerialPort.h"
|
|
|
|
typedef struct {
|
|
tSerialPortFrameIO *CanIO;
|
|
tLoggerToSerialPort *slog;
|
|
|
|
tStaticThreadBlock(512) T_can_Main;
|
|
} tCanMain;
|
|
|
|
|
|
void CanMain_Init(
|
|
tCanMain *env,
|
|
tSerialPortFrameIO *CanIO,
|
|
tLoggerToSerialPort *slog
|
|
);
|
|
|
|
void CanMain_Start(tCanMain *env);
|
|
|
|
#endif //UVEOS_ON_NATION_CANMAIN_H
|