asyn  4-45
Classes | Macros | Typedefs | Functions
asynPortDriver.h File Reference
#include <vector>
#include <string>
#include <epicsTypes.h>
#include <epicsMutex.h>
#include <epicsThread.h>
#include <asynStandardInterfaces.h>
#include <asynParamSet.h>
#include <asynParamType.h>
#include <paramErrors.h>

Go to the source code of this file.

Classes

class  asynPortDriver
 Base class for asyn port drivers; handles most of the bookkeeping for writing an asyn port driver with standard asyn interfaces and a parameter library. More...
 
class  callbackThread
 

Macros

#define asynCommonMask   0x00000001
 Masks for each of the asyn standard interfaces. More...
 
#define asynDrvUserMask   0x00000002
 
#define asynOptionMask   0x00000004
 
#define asynInt32Mask   0x00000008
 
#define asynUInt32DigitalMask   0x00000010
 
#define asynFloat64Mask   0x00000020
 
#define asynOctetMask   0x00000040
 
#define asynInt8ArrayMask   0x00000080
 
#define asynInt16ArrayMask   0x00000100
 
#define asynInt32ArrayMask   0x00000200
 
#define asynFloat32ArrayMask   0x00000400
 
#define asynFloat64ArrayMask   0x00000800
 
#define asynGenericPointerMask   0x00001000
 
#define asynEnumMask   0x00002000
 
#define asynInt64Mask   0x00004000
 
#define asynInt64ArrayMask   0x00008000
 

Typedefs

typedef void(* userTimeStampFunction) (void *userPvt, epicsTimeStamp *pTimeStamp)
 

Functions

ASYN_API void * findAsynPortDriver (const char *portName)
 Utility function that returns a pointer to an asynPortDriver object from its name. More...
 
template<class T >
T * findDerivedAsynPortDriver (const char *portName)
 Utility function that returns a pointer to an asynPortDriver derived class object from its name. More...
 

Macro Definition Documentation

◆ asynCommonMask

#define asynCommonMask   0x00000001

Masks for each of the asyn standard interfaces.

◆ asynDrvUserMask

#define asynDrvUserMask   0x00000002

◆ asynEnumMask

#define asynEnumMask   0x00002000

◆ asynFloat32ArrayMask

#define asynFloat32ArrayMask   0x00000400

◆ asynFloat64ArrayMask

#define asynFloat64ArrayMask   0x00000800

◆ asynFloat64Mask

#define asynFloat64Mask   0x00000020

◆ asynGenericPointerMask

#define asynGenericPointerMask   0x00001000

◆ asynInt16ArrayMask

#define asynInt16ArrayMask   0x00000100

◆ asynInt32ArrayMask

#define asynInt32ArrayMask   0x00000200

◆ asynInt32Mask

#define asynInt32Mask   0x00000008

◆ asynInt64ArrayMask

#define asynInt64ArrayMask   0x00008000

◆ asynInt64Mask

#define asynInt64Mask   0x00004000

◆ asynInt8ArrayMask

#define asynInt8ArrayMask   0x00000080

◆ asynOctetMask

#define asynOctetMask   0x00000040

◆ asynOptionMask

#define asynOptionMask   0x00000004

◆ asynUInt32DigitalMask

#define asynUInt32DigitalMask   0x00000010

Typedef Documentation

◆ userTimeStampFunction

typedef void(* userTimeStampFunction) (void *userPvt, epicsTimeStamp *pTimeStamp)

Function Documentation

◆ findAsynPortDriver()

ASYN_API void* findAsynPortDriver ( const char *  portName)

Utility function that returns a pointer to an asynPortDriver object from its name.

◆ findDerivedAsynPortDriver()

template<class T >
T* findDerivedAsynPortDriver ( const char *  portName)

Utility function that returns a pointer to an asynPortDriver derived class object from its name.