15 #include <epicsTypes.h> 16 #include <epicsTime.h> 53 virtual std::string model()
const=0;
56 virtual MRFVersion version()
const=0;
57 std::string versionStr()
const;
59 virtual std::string versionSw()
const;
62 virtual std::string position()
const;
68 virtual bool enabled()
const=0;
69 virtual void enable(
bool)=0;
72 virtual bool mappedOutputState()
const=0;
81 virtual bool specialMapped(epicsUInt32
code, epicsUInt32 func)
const=0;
82 virtual void specialSetMap(epicsUInt32 code, epicsUInt32 func,
bool set)=0;
94 virtual double clock()
const=0;
98 virtual void clockSet(
double clk)=0;
101 virtual bool pllLocked()
const=0;
104 virtual epicsUInt32 uSecDiv()
const=0;
107 virtual bool extInhib()
const=0;
109 virtual void setExtInhib(
bool)=0;
116 virtual void setSourceTS(
TSSource)=0;
118 virtual TSSource SourceTS()
const=0;
123 virtual double clockTS()
const=0;
127 virtual void clockTSSet(
double)=0;
130 virtual epicsUInt32 tsDiv()
const=0;
135 virtual bool interestedInEvent(epicsUInt32 event,
bool set)=0;
138 virtual bool TimeStampValid()
const=0;
139 virtual IOSCANPVT TimeStampValidEvent()
const=0;
148 virtual bool getTimeStamp(epicsTimeStamp *ts,epicsUInt32 event)=0;
154 virtual bool getTicks(epicsUInt32 *tks)=0;
156 virtual IOSCANPVT eventOccurred(epicsUInt32 event)
const=0;
158 typedef void (*eventCallback)(
void* userarg, epicsUInt32 event);
159 virtual void eventNotifyAdd(epicsUInt32 event, eventCallback,
void*)=0;
160 virtual void eventNotifyDel(epicsUInt32 event, eventCallback,
void*)=0;
163 virtual epicsUInt32 irqCount()
const=0;
168 virtual bool linkStatus()
const=0;
169 virtual IOSCANPVT linkChanged()
const=0;
170 virtual epicsUInt32 recvErrorCount()
const=0;
173 virtual epicsUInt16 dbus()
const=0;
175 virtual epicsUInt32 heartbeatTIMOCount()
const=0;
176 virtual IOSCANPVT heartbeatTIMOOccured()
const=0;
178 virtual epicsUInt32 FIFOFullCount()
const=0;
179 virtual epicsUInt32 FIFOOverRate()
const=0;
180 virtual epicsUInt32 FIFOEvtCount()
const=0;
181 virtual epicsUInt32 FIFOLoopCount()
const=0;
197 #endif // EVR_HPP_INC
EVR(const std::string &n, bus_configuration &busConfig)
A programmable delay unit.
User implementation hook.
epicsUInt32 SourceTSraw() const
void setSourceTSraw(epicsUInt32 r)