21 lines
447 B
C
21 lines
447 B
C
//
|
|
// Created by CFIF on 13.11.22.
|
|
//
|
|
|
|
#ifndef UVEOS_ON_NATION_SERIALPORTVIRT_H
|
|
#define UVEOS_ON_NATION_SERIALPORTVIRT_H
|
|
|
|
#include <cmsis_os.h>
|
|
#include <SerialPortIO.h>
|
|
#include <SystemDelayInterface.h>
|
|
|
|
typedef struct {
|
|
osMessageQueueId_t queue;
|
|
} tSerialPortVirt;
|
|
|
|
void SerialPortVirt_Init(tSerialPortVirt *env, uint16_t queueBufferLen);
|
|
|
|
tSerialPortIO SerialPortVirt_GetIo(tSerialPortVirt *env);
|
|
|
|
#endif //UVEOS_ON_NATION_SERIALPORTVIRT_H
|