Files
motorBase/motorApp/MotorSrc/motordrvComCode.h
T
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00

47 lines
1.3 KiB
C

/*
FILENAME: motordrvComCode.h
USAGE... This file contains local variables that are allocated
in each motor record driver. The variables are allocated
in each driver by including this file.
*/
/*
* Original Author: Ron Sluiter
* Date: 08/20/99
*
* Experimental Physics and Industrial Control System (EPICS)
*
* Copyright 1991, the University of Chicago Board of Governors.
*
* This software was produced under U.S. Government contract
* W-31-109-ENG-38 at Argonne National Laboratory.
*
* Beamline Controls & Data Acquisition Group
* Experimental Facilities Division
* Advanced Photon Source
* Argonne National Laboratory
*
* Modification Log:
* -----------------
*/
#ifndef INCmotordrvComCode
#define INCmotordrvComCode 1
#include <epicsTypes.h>
#include <epicsEvent.h>
/* --- Local data common to each driver. --- */
static struct controller **motor_state;
static int total_cards;
static int any_motor_in_motion;
static struct circ_queue mess_queue; /* in message queue head */
static epicsEvent queue_lock(epicsEventFull);
static struct circ_queue free_list;
static epicsEvent freelist_lock(epicsEventFull);
static epicsEvent motor_sem(epicsEventEmpty);
static bool initialized = false; /* Driver initialized indicator. */
#endif /* INCmotordrvComCode */