Replaced $Id$ and $Header$ keywords with $Revision-Id$ Deleted $Log$ keywords and any log messages
70 lines
1.8 KiB
C
70 lines
1.8 KiB
C
/*************************************************************************\
|
|
* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
|
|
* National Laboratory.
|
|
* Copyright (c) 2002 The Regents of the University of California, as
|
|
* Operator of Los Alamos National Laboratory.
|
|
* EPICS BASE is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
/* $Revision-Id$
|
|
*
|
|
* Author: Marty Kraimer
|
|
* Date: 07-17-91
|
|
*/
|
|
|
|
#ifndef INCdbScanH
|
|
#define INCdbScanH
|
|
|
|
#include <limits.h>
|
|
|
|
#include "menuScan.h"
|
|
#include "shareLib.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define SCAN_PASSIVE menuScanPassive
|
|
#define SCAN_EVENT menuScanEvent
|
|
#define SCAN_IO_EVENT menuScanI_O_Intr
|
|
#define SCAN_1ST_PERIODIC (menuScanI_O_Intr + 1)
|
|
|
|
#define MAX_PHASE SHRT_MAX
|
|
#define MIN_PHASE SHRT_MIN
|
|
|
|
/*definitions for I/O Interrupt Scanning */
|
|
struct io_scan_list;
|
|
|
|
typedef struct io_scan_list *IOSCANPVT;
|
|
|
|
struct dbCommon;
|
|
|
|
epicsShareFunc long scanInit(void);
|
|
epicsShareFunc void scanRun(void);
|
|
epicsShareFunc void scanPause(void);
|
|
|
|
epicsShareFunc void post_event(int event);
|
|
epicsShareFunc void scanAdd(struct dbCommon *);
|
|
epicsShareFunc void scanDelete(struct dbCommon *);
|
|
epicsShareFunc double scanPeriod(int scan);
|
|
epicsShareFunc void scanOnce(struct dbCommon *);
|
|
epicsShareFunc int scanOnceSetQueueSize(int size);
|
|
|
|
/*print periodic lists*/
|
|
epicsShareFunc int scanppl(double rate);
|
|
|
|
/*print event lists*/
|
|
epicsShareFunc int scanpel(int event_number);
|
|
|
|
/*print io_event list*/
|
|
epicsShareFunc int scanpiol(void);
|
|
|
|
epicsShareFunc void scanIoInit(IOSCANPVT *);
|
|
epicsShareFunc void scanIoRequest(IOSCANPVT);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|