25 lines
466 B
C
25 lines
466 B
C
//
|
|
// Created by cfif on 13.11.2023.
|
|
//
|
|
|
|
#ifndef EMERGCALLDEV_SERIALPORT_USB_H
|
|
#define EMERGCALLDEV_SERIALPORT_USB_H
|
|
|
|
#include "SerialPortIO.h"
|
|
#include "cmsis_os2.h"
|
|
#include "n32g45x.h"
|
|
|
|
typedef struct {
|
|
osMessageQueueId_t rxDataQueue;
|
|
|
|
} TSerialPortUsbNation;
|
|
|
|
void SerialPortUsb_Init(
|
|
TSerialPortUsbNation *env,
|
|
uint32_t rxBufferLength
|
|
);
|
|
|
|
tSerialPortIO SerialPortUsb_GetIo(TSerialPortUsbNation *env);
|
|
|
|
#endif //EMERGCALLDEV_SERIALPORT_USB_H
|