Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef modbusInterpose_H
00009 #define modbusInterpose_H
00010
00011 #include <shareLib.h>
00012 #include <epicsExport.h>
00013
00014 typedef enum {
00015 modbusLinkTCP,
00016 modbusLinkRTU,
00017 modbusLinkASCII
00018 } modbusLinkType;
00019
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024 epicsShareFunc int modbusInterposeConfig(const char *portName,
00025 modbusLinkType linkType,
00026 int timeoutMsec, int writeDelayMsec);
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030
00031 #endif