![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Device support routines. More...
Go to the source code of this file.
Classes | |
struct | typed_dset |
struct | dsxt |
struct | dset |
Macros | |
#define | S_dev_noDevSup (M_devSup| 1) /*SDR_DEVSUP: Device support missing*/ |
#define | S_dev_noDSET (M_devSup| 3) /*Missing device support entry table*/ |
#define | S_dev_missingSup (M_devSup| 5) /*Missing device support routine*/ |
#define | S_dev_badInpType (M_devSup| 7) /*Bad INP link type*/ |
#define | S_dev_badOutType (M_devSup| 9) /*Bad OUT link type*/ |
#define | S_dev_badInitRet (M_devSup|11) /*Bad init_rec return value */ |
#define | S_dev_badBus (M_devSup|13) /*Illegal bus type*/ |
#define | S_dev_badCard (M_devSup|15) /*Illegal or nonexistant module*/ |
#define | S_dev_badSignal (M_devSup|17) /*Illegal signal*/ |
#define | S_dev_NoInit (M_devSup|19) /*No init*/ |
#define | S_dev_Conflict (M_devSup|21) /*Multiple records accessing same signal*/ |
#define | S_dev_noDeviceFound (M_devSup|23) /*No device found at specified address*/ |
Typedefs | |
typedef struct ioscan_head * | IOSCANPVT |
typedef struct typed_dset | typed_dset |
typedef struct dsxt | dsxt |
typedef long(* | DEVSUPFUN) () |
typedef struct dset | dset |
typedef dset | unambiguous_dset |
Functions | |
epicsShareFunc struct link * | dbGetDevLink (struct dbCommon *prec) |
epicsShareFunc void | devExtend (dsxt *pdsxt) |
epicsShareFunc void | dbInitDevSup (struct devSup *pdevSup, dset *pdset) |
Variables | |
epicsShareExtern dsxt | devSoft_DSXT |
Device support routines.
Definition in file devSup.h.
#define S_dev_badCard (M_devSup|15) /*Illegal or nonexistant module*/ |
#define S_dev_Conflict (M_devSup|21) /*Multiple records accessing same signal*/ |
#define S_dev_missingSup (M_devSup| 5) /*Missing device support routine*/ |
#define S_dev_noDeviceFound (M_devSup|23) /*No device found at specified address*/ |
#define S_dev_noDevSup (M_devSup| 1) /*SDR_DEVSUP: Device support missing*/ |
Device support extension table.
Optional routines to allow run-time address modifications to be communicated to device support, which must register a struct dsxt by calling devExtend() from its init() routine.
typedef struct typed_dset typed_dset |
Type safe version of 'struct dset'
Recommended usage:
In Makefile:
In C source file:
typedef dset unambiguous_dset |
epicsShareFunc struct link* dbGetDevLink | ( | struct dbCommon * | prec | ) |
Fetch INP or OUT link (or NULL if record type has neither).
Recommended for use in device support init_record()
epicsShareFunc void dbInitDevSup | ( | struct devSup * | pdevSup, |
dset * | pdset | ||
) |
Definition at line 47 of file dbStaticRun.c.
epicsShareFunc void devExtend | ( | dsxt * | pdsxt | ) |
Definition at line 60 of file dbStaticRun.c.
epicsShareExtern dsxt devSoft_DSXT |