// // Created by xemon on 13.11.22. // #ifndef UVEOS_ON_NATION_SERIALPORTP2P_H #define UVEOS_ON_NATION_SERIALPORTP2P_H #include #include #include typedef struct { osMessageQueueId_t firstToSecondQueue; osMessageQueueId_t secondToFirstQueue; } tSerialPortP2p; void SerialPortP2p_Init(tSerialPortP2p *env, uint16_t firstToSecondBufferLen, uint16_t secondToFirstBufferLen); tSerialPortIO SerialPortP2p_GetIoFirst(tSerialPortP2p *env); tSerialPortIO SerialPortP2p_GetIoSecond(tSerialPortP2p *env); #endif //UVEOS_ON_NATION_SERIALPORTP2P_H