// // Created by cfif on 12.11.2024. // #ifndef HVAC_SERIALPORTCAN_H #define HVAC_SERIALPORTCAN_H #include "cmsis_os2.h" #include "SerialPortIO.h" #include "SerialPortFrameIO.h" typedef struct { tSerialPortFrameIO *CanIO; osMessageQueueId_t queue; uint32_t adr; } tSerialPortCan; void vSerialPortCanInit( tSerialPortCan *env, tSerialPortFrameIO *CanIO, uint32_t adr, uint32_t rxBufferLength ); tSerialPortIO vSerialPortCanGetIo(tSerialPortCan *env); #endif //HVAC_SERIALPORTCAN_H