// // Created by xemon on 29.08.22. // #ifndef UVEOS_DEMO_ON_NIIET_MCU_SERIALPORTS_H #define UVEOS_DEMO_ON_NIIET_MCU_SERIALPORTS_H #include "SerialPortNation.h" #include "SerialPortHalfDuplexIO.h" #include "GpioPin.h" #include "SerialPortP2p.h" #include "SerialPort_USB.h" #include "CanSerialPort.h" typedef struct { tGpioPin receive; tGpioPin transmit; } tRs485DirectionPins; typedef struct { tSerialPortNation TelitPort; tSerialPortIO TelitIO; tSerialPortNation ComIntPort; tSerialPortIO ComIntIO; tSerialPortNation DebugPort; tSerialPortIO DebugIO; tSerialPortHalfDuplex ComIntHalfDuplex; tSerialPortIO ComIntHalfDuplexIo; tSerialPortIO TelitIOSniffer; tSerialPortP2p cliVirtualPort; tSerialPortIO cliVirtualInIo; tSerialPortIO cliVirtualOutIo; TSerialPortUsbNation SerialPortUsb; tSerialPortIO SerialPortUsbIO; tCanSerialPortNation SerialPortCan1; tSerialPortIO SerialPortCan1IO; tCanSerialPortNation SerialPortCan2; tSerialPortIO SerialPortCan2IO; } tSerialPorts; extern tSerialPorts SERIAL_PORTS; void SerialPorts_Init(tRs485DirectionPins *power); #endif //UVEOS_DEMO_ON_NIIET_MCU_SERIALPORTS_H