26 lines
613 B
C
26 lines
613 B
C
//
|
|
// Created by cfif on 12.11.2024.
|
|
//
|
|
|
|
#ifndef SMART_COMPONENTS_TELEMATICA_V2_SERIALPORTCANCOMINT_H
|
|
#define SMART_COMPONENTS_TELEMATICA_V2_SERIALPORTCANCOMINT_H
|
|
|
|
#include "cmsis_os2.h"
|
|
#include "SerialPortIO.h"
|
|
#include "SerialPortFrameIO.h"
|
|
|
|
typedef struct {
|
|
tSerialPortFrameIO *CanIO;
|
|
osMessageQueueId_t queue;
|
|
} tSerialPortCanComInt;
|
|
|
|
void vSerialPortCanComInit(
|
|
tSerialPortCanComInt *env,
|
|
tSerialPortFrameIO *CanIO,
|
|
uint32_t rxBufferLength
|
|
);
|
|
|
|
tSerialPortIO vSerialPortCanComIntGetIo(tSerialPortCanComInt *env);
|
|
|
|
#endif //SMART_COMPONENTS_TELEMATICA_V2_SERIALPORTCANCOMINT_H
|