#include "extintf.h"#include "ppmc.h"Include dependency graph for extppmcmot.c:

Go to the source code of this file.
Functions | |
| char | __attribute__ ((unused)) ident[]="$Id |
| int | extMotQuit () |
| int | extDacNum () |
| int | extDacWrite (int dac, double volts) |
| int | extDacWriteAll (int max, double *volts) |
| int | extEncoderSetIndexModel (unsigned int model) |
| int | extEncoderNum () |
| int | extEncoderRead (int encoder, double *counts) |
| int | extEncoderReadAll (int max, double *counts) |
| int | extEncoderResetIndex (int encoder) |
| int | extEncoderReadLatch (int encoder, int *flag) |
| int | extEncoderReadLevel (int encoder, int *flag) |
| int | extMaxLimitSwitchRead (int axis, int *flag) |
| int | extMinLimitSwitchRead (int axis, int *flag) |
| int | extHomeSwitchRead (int axis, int *flag) |
| int | extAmpEnable (int axis, int enable) |
| int | extAmpFault (int axis, int *fault) |
| int | extDioInit (const char *stuff) |
| int | extDioQuit () |
| int | extDioMaxInputs () |
| int | extDioMaxOutputs () |
| int | extDioRead (int index, int *value) |
| int | extDioWrite (int index, int value) |
| int | extDioCheck (int index, int *value) |
| int | extDioByteRead (int index, unsigned char *byte) |
| int | extDioShortRead (int index, unsigned short *sh) |
| int | extDioWordRead (int index, unsigned int *word) |
| int | extDioByteWrite (int index, unsigned char byte) |
| int | extDioShortWrite (int index, unsigned short sh) |
| int | extDioWordWrite (int index, unsigned int word) |
| int | extDioByteCheck (int index, unsigned char *byte) |
| int | extDioShortCheck (int index, unsigned short *sh) |
| int | extDioWordCheck (int index, unsigned int *word) |
| int | extAioInit (const char *stuff) |
| int | extAioQuit () |
| int | extAioMaxInputs () |
| int | extAioMaxOutputs () |
| int | extAioRead (int index, double *volts) |
| int | extAioWrite (int index, double volts) |
| int | extAioCheck (int index, double *volts) |
|
|
Definition at line 37 of file extppmcmot.c. 00037 : extppmcmot.c,v 1.2 2001/10/23 18:07:31 wshackle Exp $";
00038 //the following functions and all internal
00039 // low level functions are contained in
00040 // ppmc_internal.c
00041
00042 int extMotInit(const char * stuff)
00043 {
00044 return ppmcMotInit(stuff);
00045 }
|
|
||||||||||||
|
Definition at line 261 of file extppmcmot.c. 00262 {
00263 return ppmcAioCheck(index, volts);
00264 }
|
|
|
Definition at line 231 of file extppmcmot.c. 00232 {
00233 return ppmcAioInit(stuff);
00234 }
|
|
|
Definition at line 241 of file extppmcmot.c. 00242 {
00243 return ppmcAioMaxInputs();
00244 }
|
|
|
Definition at line 246 of file extppmcmot.c. 00247 {
00248 return ppmcAioMaxOutputs();
00249 }
|
|
|
Definition at line 236 of file extppmcmot.c. 00237 {
00238 return ppmcAioQuit();
00239 }
|
|
||||||||||||
|
Definition at line 251 of file extppmcmot.c. 00252 {
00253 return ppmcAioRead(index, volts);
00254 }
|
|
||||||||||||
|
Definition at line 256 of file extppmcmot.c. 00257 {
00258 return ppmcAioWrite(index, volts);
00259 }
|
|
||||||||||||
|
Definition at line 141 of file extppmcmot.c. 00142 {
00143 return ppmcAmpEnable(axis, enable);
00144 }
|
|
||||||||||||
|
Definition at line 146 of file extppmcmot.c. 00147 {
00148 return ppmcAmpFault(axis, fault);
00149 }
|
|
|
Definition at line 53 of file extppmcmot.c. 00054 {
00055 return ppmcDacNum();
00056 }
|
|
||||||||||||
|
Definition at line 58 of file extppmcmot.c. 00059 {
00060 return ppmcDacWrite(dac, volts);
00061 }
|
|
||||||||||||
|
Definition at line 63 of file extppmcmot.c. 00064 {
00065 return ppmcDacWriteAll(max, volts);
00066 }
|
|
||||||||||||
|
Definition at line 216 of file extppmcmot.c. 00217 {
00218 return ppmcDioByteCheck(index, byte);
00219 }
|
|
||||||||||||
|
Definition at line 186 of file extppmcmot.c. 00187 {
00188 return ppmcDioByteRead(index, byte);
00189 }
|
|
||||||||||||
|
Definition at line 201 of file extppmcmot.c. 00202 {
00203 return ppmcDioByteWrite(index, byte);
00204 }
|
|
||||||||||||
|
Definition at line 181 of file extppmcmot.c. 00182 {
00183 return ppmcDioCheck(index, value);
00184 }
|
|
|
Definition at line 151 of file extppmcmot.c. 00152 {
00153 return ppmcDioInit(stuff);
00154 }
|
|
|
Definition at line 161 of file extppmcmot.c. 00162 {
00163 return ppmcDioMaxInputs();
00164 }
|
|
|
Definition at line 166 of file extppmcmot.c. 00167 {
00168 return ppmcDioMaxOutputs();
00169 }
|
|
|
Definition at line 156 of file extppmcmot.c. 00157 {
00158 return ppmcDioQuit();
00159 }
|
|
||||||||||||
|
Definition at line 171 of file extppmcmot.c. 00172 {
00173 return ppmcDioRead(index, value);
00174 }
|
|
||||||||||||
|
Definition at line 221 of file extppmcmot.c. 00222 {
00223 return ppmcDioShortCheck(index, sh);
00224 }
|
|
||||||||||||
|
Definition at line 191 of file extppmcmot.c. 00192 {
00193 return ppmcDioShortRead(index, sh);
00194 }
|
|
||||||||||||
|
Definition at line 206 of file extppmcmot.c. 00207 {
00208 return ppmcDioShortWrite(index, sh);
00209 }
|
|
||||||||||||
|
Definition at line 226 of file extppmcmot.c. 00227 {
00228 return ppmcDioWordCheck(index, word);
00229 }
|
|
||||||||||||
|
Definition at line 196 of file extppmcmot.c. 00197 {
00198 return ppmcDioWordRead(index, word);
00199 }
|
|
||||||||||||
|
Definition at line 211 of file extppmcmot.c. 00212 {
00213 return ppmcDioWordWrite(index, word);
00214 }
|
|
||||||||||||
|
Definition at line 176 of file extppmcmot.c. 00177 {
00178 return ppmcDioWrite(index, value);
00179 }
|
|
|
Definition at line 74 of file extppmcmot.c. 00075 {
00076 return ppmcEncoderNum();
00077 }
|
|
||||||||||||
|
Definition at line 79 of file extppmcmot.c. 00080 {
00081 return ppmcEncoderRead(encoder, counts);
00082 }
|
|
||||||||||||
|
Definition at line 84 of file extppmcmot.c. 00085 {
00086 return ppmcEncoderReadAll(max, counts);
00087 }
|
|
||||||||||||
|
Definition at line 94 of file extppmcmot.c. 00095 {
00096 #ifdef NO_INDEX_PULSE
00097 *flag = 1;
00098 return 0;
00099 #else
00100 return ppmcEncoderReadLatch(encoder, flag);
00101 #endif
00102 }
|
|
||||||||||||
|
Definition at line 104 of file extppmcmot.c. 00105 {
00106 return ppmcEncoderReadLevel(encoder, flag);
00107 }
|
|
|
Definition at line 89 of file extppmcmot.c. 00090 {
00091 return ppmcEncoderResetIndex(encoder);
00092 }
|
|
|
Definition at line 69 of file extppmcmot.c. 00070 {
00071 return ppmcEncoderSetIndexModel(model);
00072 }
|
|
||||||||||||
|
Definition at line 131 of file extppmcmot.c. 00132 {
00133 #ifdef NO_HOME_SWITCH
00134 *flag = 1;
00135 return 0;
00136 #else
00137 return ppmcHomeSwitchRead(axis, flag);
00138 #endif
00139 }
|
|
||||||||||||
|
Definition at line 111 of file extppmcmot.c. 00112 {
00113 #ifdef NO_LIMIT_SWITCH
00114 *flag = 0;
00115 return 0;
00116 #else
00117 return ppmcMaxLimitSwitchRead(axis, flag);
00118 #endif
00119 }
|
|
||||||||||||
|
Definition at line 121 of file extppmcmot.c. 00122 {
00123 #ifdef NO_LIMIT_SWITCH
00124 *flag = 0;
00125 return 0;
00126 #else
00127 return ppmcMinLimitSwitchRead(axis, flag);
00128 #endif
00129 }
|
|
|
Definition at line 47 of file extppmcmot.c. Referenced by cleanup_module(), and main().
00048 {
00049 return ppmcMotQuit();
00050 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001