24 #include "mbbiDirectRecord.h" 29 static long read_mbbi(mbbiDirectRecord *
prec);
39 mbbiDirectRecord *
prec = (mbbiDirectRecord *)pcommon;
41 recGblInitConstantLink(&prec->inp,
DBF_ULONG, &prec->rval);
45 prec->mask = 0xffffffff;
47 prec->mask <<= prec->shft;
51 static long read_mbbi(mbbiDirectRecord *
prec)
53 if (!dbGetLink(&prec->inp,
DBR_ULONG, &prec->rval, 0, 0)) {
54 prec->rval &= prec->mask;
55 if (dbLinkIsConstant(&prec->tsel) &&
57 dbGetTimeStamp(&prec->inp, &prec->time);
Miscellaneous macro definitions.
#define epicsTimeEventDeviceTime
mbbidirectdset devMbbiDirectSoftRaw
epicsExportAddress(dset, devMbbiDirectSoftRaw)