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

bridgeportlube.cc File Reference

#include "rcs.hh"
#include "emc.hh"
#include "emcio.hh"
#include "emcglb.h"
#include "extintf.h"
#include "inilube.hh"

Include dependency graph for bridgeportlube.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define __attribute__(x)

Functions

char __attribute__ ((unused)) ident[]="$Id
void lubeOff ()
int isLubeOn ()
int lubeLevel ()


Define Documentation

#define __attribute__  
 

Definition at line 28 of file bridgeportlube.cc.


Function Documentation

char __attribute__ (unused)    [static]
 

Definition at line 32 of file bridgeportlube.cc.

00032                                                   : bridgeportlube.cc,v 1.3 2001/06/29 20:27:29 wshackle Exp $";
00033 
00034 // local functions
00035 
00036 static void lubeOn()
00037 {
00038   extDioWrite(LUBE_WRITE_INDEX, LUBE_WRITE_POLARITY);
00039 }

int isLubeOn   [static]
 

Definition at line 46 of file bridgeportlube.cc.

Referenced by EMC_LUBE_MODULE::POST_PROCESS().

00047 {
00048   int f;
00049 
00050   extDioCheck(LUBE_WRITE_INDEX, &f);
00051 
00052   return f == LUBE_WRITE_POLARITY;
00053 }

int lubeLevel   [static]
 

Definition at line 56 of file bridgeportlube.cc.

Referenced by EMC_LUBE_MODULE::POST_PROCESS().

00057 {
00058   int lube;
00059 
00060   extDioRead(LUBE_SENSE_INDEX, &lube);
00061 
00062   return lube == LUBE_SENSE_POLARITY;
00063 }

void lubeOff   [static]
 

Definition at line 41 of file bridgeportlube.cc.

Referenced by EMC_LUBE_MODULE::ABORT(), EMC_LUBE_MODULE::HALT(), EMC_LUBE_MODULE::INIT(), and EMC_LUBE_MODULE::LUBE_OFF().

00042 {
00043   extDioWrite(LUBE_WRITE_INDEX, ! LUBE_WRITE_POLARITY);
00044 }


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