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

bridgeportaux.cc File Reference

#include "rcs.hh"
#include "emc.hh"
#include "inifile.h"
#include "emcio.hh"
#include "emcglb.h"
#include "extintf.h"
#include "iniaux.hh"

Include dependency graph for bridgeportaux.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define __attribute__(x)

Functions

char __attribute__ ((unused)) ident[]="$Id
void estopOff ()
int isEstop ()
int checkEstop ()


Define Documentation

#define __attribute__  
 

Definition at line 32 of file bridgeportaux.cc.


Function Documentation

char __attribute__ (unused)    [static]
 

Definition at line 36 of file bridgeportaux.cc.

00036                                                    : bridgeportaux.cc,v 1.4 2001/06/29 20:27:29 wshackle Exp $";
00037 
00038 // local functions
00039 
00040 static int estopOut = 1;
00041 static int checkEstopWorks = 1;
00042 
00043 static void estopOn()
00044 {
00045   estopOut = 1;
00046   extDioWrite(ESTOP_WRITE_INDEX, ESTOP_WRITE_POLARITY);
00047 }

int checkEstop   [static]
 

Definition at line 66 of file bridgeportaux.cc.

Referenced by EMC_AUX_MODULE::POST_PROCESS().

00067 {
00068   int eOut;
00069 
00070   extDioCheck(ESTOP_WRITE_INDEX, &eOut);
00071 
00072   return eOut == ESTOP_WRITE_POLARITY;
00073 }

void estopOff   [static]
 

Definition at line 49 of file bridgeportaux.cc.

Referenced by EMC_AUX_MODULE::ESTOP_OFF().

00050 {
00051   estopOut = 0;
00052   extDioWrite(ESTOP_WRITE_INDEX, ! ESTOP_WRITE_POLARITY);
00053 }

int isEstop   [static]
 

Definition at line 56 of file bridgeportaux.cc.

Referenced by EMC_AUX_MODULE::POST_PROCESS().

00057 {
00058   int eIn;
00059 
00060   extDioRead(ESTOP_SENSE_INDEX, &eIn);
00061 
00062   return eIn == ESTOP_SENSE_POLARITY;
00063 }


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