/* asynFloat32ArraySyncIO.h */ /*********************************************************************** * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory, and the Regents of the University of * California, as Operator of Los Alamos National Laboratory, and * Berliner Elektronenspeicherring-Gesellschaft m.b.H. (BESSY). * asynDriver is distributed subject to a Software License Agreement * found in file LICENSE that is included with this distribution. ***********************************************************************/ /* 28-June-2004 Mark Rivers */ #ifndef asynFloat32ArraySyncIOH #define asynFloat32ArraySyncIOH #include #include #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define asynFloat32ArraySyncIOType "asynFloat32ArraySyncIO" typedef struct asynFloat32ArraySyncIO { asynStatus (*connect)(const char *port, int addr, asynUser **ppasynUser, const char *drvInfo); asynStatus (*disconnect)(asynUser *pasynUser); asynStatus (*write)(asynUser *pasynUser,epicsFloat32 *pvalue,size_t nelem,double timeout); asynStatus (*read)(asynUser *pasynUser,epicsFloat32 *pvalue,size_t nelem,size_t *Nin,double timeout); asynStatus (*writeOnce)(const char *port, int addr, epicsFloat32 *pvalue,size_t nelem,double timeout,const char *drvInfo); asynStatus (*readOnce)(const char *port, int addr, epicsFloat32 *pvalue,size_t nelem,size_t *nIn,double timeout,const char *drvInfo); } asynFloat32ArraySyncIO; epicsShareExtern asynFloat32ArraySyncIO *pasynFloat32ArraySyncIO; #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* asynFloat32ArraySyncIOH */