Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

extminimillio.c

Go to the documentation of this file.
00001 /*
00002   extmmio.c
00003 
00004   Dispatcher of external functions for NIST minimill
00005 
00006   Modification history:
00007 
00008   7-Aug-1998  FMP changed extInit/Quit to extDio/AioInit/Quit()
00009   2-Apr-1998  FMP used sim implementation since can't share STG with
00010   RT motion system
00011   1-Apr-1998  FMP created
00012   */
00013 
00014 #include "extintf.h"            /* these decls */
00015 #include "sim.h"                /* decls for sim implementation */
00016 
00017 /* ident tag */
00018 /* ident tag */
00019 #ifndef __GNUC__
00020 #ifndef __attribute__
00021 #define __attribute__(x)
00022 #endif
00023 #endif
00024 
00025 static char __attribute__((unused)) ident[] = "$Id: extminimillio.c,v 1.3 2001/06/29 20:27:29 wshackle Exp $";
00026 
00027 int extDioInit(const char * stuff)
00028 {
00029   return simDioInit(stuff);
00030 }
00031 
00032 int extDioQuit()
00033 {
00034   return simDioQuit();
00035 }
00036 
00037 int extDioMaxInputs()
00038 {
00039   return simDioMaxInputs();
00040 }
00041 
00042 int extDioMaxOutputs()
00043 {
00044   return simDioMaxOutputs();
00045 }
00046 
00047 int extDioRead(int index, int *value)
00048 {
00049   return simDioRead(index, value);
00050 }
00051 
00052 int extDioWrite(int index, int value)
00053 {
00054   return simDioWrite(index, value);
00055 }
00056 
00057 int extDioCheck(int index, int *value)
00058 {
00059   return simDioCheck(index, value);
00060 }
00061 
00062 int extDioByteRead(int index, unsigned char *byte)
00063 {
00064   return simDioByteRead(index, byte);
00065 }
00066 
00067 int extDioShortRead(int index, unsigned short *sh)
00068 {
00069   return simDioShortRead(index, sh);
00070 }
00071 
00072 int extDioWordRead(int index, unsigned int *word)
00073 {
00074   return simDioWordRead(index, word);
00075 }
00076 
00077 int extDioByteWrite(int index, unsigned char byte)
00078 {
00079   return simDioByteWrite(index, byte);
00080 }
00081 
00082 int extDioShortWrite(int index, unsigned short sh)
00083 {
00084   return simDioShortWrite(index, sh);
00085 }
00086 
00087 int extDioWordWrite(int index, unsigned int word)
00088 {
00089   return simDioWordWrite(index, word);
00090 }
00091 
00092 int extDioByteCheck(int index, unsigned char *byte)
00093 {
00094   return simDioByteCheck(index, byte);
00095 }
00096 
00097 int extDioShortCheck(int index, unsigned short *sh)
00098 {
00099   return simDioShortCheck(index, sh);
00100 }
00101 
00102 int extDioWordCheck(int index, unsigned int *word)
00103 {
00104   return simDioWordCheck(index, word);
00105 }
00106 
00107 int extAioInit(const char * stuff)
00108 {
00109   return simAioInit(stuff);
00110 }
00111 
00112 int extAioQuit()
00113 {
00114   return simAioQuit();
00115 }
00116 
00117 int extAioMaxInputs()
00118 {
00119   return simAioMaxInputs();
00120 }
00121 
00122 int extAioMaxOutputs()
00123 {
00124   return simAioMaxOutputs();
00125 }
00126 
00127 int extAioRead(int index, double *volts)
00128 {
00129   return simAioRead(index, volts);
00130 }
00131 
00132 int extAioWrite(int index, double volts)
00133 {
00134   return simAioWrite(index, volts);
00135 }
00136 
00137 int extAioCheck(int index, double *volts)
00138 {
00139   return simAioCheck(index, volts);
00140 }

Generated on Sun Dec 2 15:27:40 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001