My Project
|
Modular Register Map Event Receivers. More...
#include <drvem.h>
Public Member Functions | |
virtual std::string | model () const OVERRIDE FINAL |
Hardware model. | |
virtual MRFVersion | version () const OVERRIDE FINAL |
Firmware Version. | |
virtual bool | specialMapped (epicsUInt32 code, epicsUInt32 func) const OVERRIDE FINAL |
virtual double | clock () const OVERRIDE FINAL |
virtual void | clockSet (double) OVERRIDE FINAL |
virtual bool | pllLocked () const OVERRIDE FINAL |
Internal PLL Status. | |
virtual epicsUInt32 | uSecDiv () const OVERRIDE FINAL |
Approximate divider from event clock period to 1us. | |
virtual bool | extInhib () const OVERRIDE FINAL |
Using external hardware input for inhibit? | |
virtual epicsUInt32 | tsDiv () const OVERRIDE FINAL |
When using internal TS source gives the divider from event clock period to TS period. | |
virtual void | setSourceTS (TSSource) OVERRIDE FINAL |
Select source which increments TS counter. | |
virtual double | clockTS () const OVERRIDE FINAL |
virtual void | clockTSSet (double) OVERRIDE FINAL |
virtual bool | interestedInEvent (epicsUInt32 event, bool set) OVERRIDE FINAL |
virtual bool | getTimeStamp (epicsTimeStamp *ts, epicsUInt32 event) OVERRIDE FINAL |
virtual bool | getTicks (epicsUInt32 *tks) OVERRIDE FINAL |
bool | convertTS (epicsTimeStamp *ts) |
In place conversion between raw posix sec+ticks to EPICS sec+nsec. More... | |
double | dcRx () const |
Measured delay. | |
double | dcInternal () const |
Delay compensation applied. | |
Public Member Functions inherited from EVR | |
virtual std::string | versionSw () const |
Software Version. | |
virtual std::string | position () const |
Position of EVR device in enclosure. | |
Public Attributes | |
epicsMutex | evrLock |
Guards access to instance All callers must take this lock before any operations on this object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from mrf::Object | |
static Object * | getObject (const std::string &name) |
static Object * | getCreateObject (const std::string &name, const std::string &klass, const create_args_t &args=create_args_t()) |
Modular Register Map Event Receivers.
|
virtual |
Hook to handle general event mapping table manipulation. Allows 'special' events only (ie heartbeat, log, led, etc) Normal mappings (pulsers, outputs) must be made through the appropriate class (Pulser, Output).
Note: this is one place where Device Support will have some depth.
Implements EVR.
References evrLock.
|
inlinevirtual |
Find current LO settings
Implements EVR.
Referenced by clockTS(), clockTSSet(), dcInternal(), dcRx(), and setSourceTS().
|
virtual |
Set LO frequency
clk | Clock rate in Hz |
Implements EVR.
References evrLock, FracSynthAnalyze(), FracSynthControlWord(), and model().
|
virtual |
Find current TS settings
Implements EVR.
References clock(), and tsDiv().
Referenced by convertTS(), and setSourceTS().
|
virtual |
|
virtual |
|
virtual |
Gives the current time stamp as sec+nsec
ts | This pointer will be filled in with the current time |
event | N<=0 Return the current wall clock time |
event | N>0 Return the time the most recent event # N was received. |
Implements EVR.
References convertTS(), and evrLock.
|
virtual |
Returns the current value of the Timestamp Event Counter
tks | Pointer to be filled with the counter value |
Implements EVR.
bool EVRMRM::convertTS | ( | epicsTimeStamp * | ts | ) |
In place conversion between raw posix sec+ticks to EPICS sec+nsec.
References clockTS(), and model().
Referenced by getTimeStamp().