• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

epics/apps/crucible/modbus_cbm/modbusApp/src/modbusInterpose.h (r4864/r2310)

Go to the documentation of this file.
00001 /* modbusInterpose.h */
00002 /* 
00003  * Interpose interface support for Modbus with TCP/IP or serial
00004  *
00005  * Author: Mark Rivers
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  /* __cplusplus */
00023 
00024 epicsShareFunc int modbusInterposeConfig(const char *portName, 
00025                                          modbusLinkType linkType, 
00026                                          int timeoutMsec, int writeDelayMsec);
00027 #ifdef __cplusplus
00028 }
00029 #endif  /* __cplusplus */
00030 
00031 #endif /* modbusInterpose_H */

Generated on Tue Dec 10 2013 04:52:22 for ROCsoft by  doxygen 1.7.1