Configuration and access to the hardware timestamp
◆ eventCallback
typedef void(* EVR::eventCallback) (void *userarg, epicsUInt32 event) |
◆ clockTS()
virtual double EVR::clockTS |
( |
| ) |
const |
|
pure virtual |
Find current TS settings
- Returns
- Clock rate in Hz
Implemented in EVRMRM.
◆ clockTSSet()
virtual void EVR::clockTSSet |
( |
double |
| ) |
|
|
pure virtual |
Set TS frequency
- Parameters
-
Implemented in EVRMRM.
◆ eventNotifyAdd()
virtual void EVR::eventNotifyAdd |
( |
epicsUInt32 |
event, |
|
|
eventCallback |
, |
|
|
void * |
|
|
) |
| |
|
pure virtual |
◆ eventNotifyDel()
virtual void EVR::eventNotifyDel |
( |
epicsUInt32 |
event, |
|
|
eventCallback |
, |
|
|
void * |
|
|
) |
| |
|
pure virtual |
◆ eventOccurred()
virtual IOSCANPVT EVR::eventOccurred |
( |
epicsUInt32 |
event | ) |
const |
|
pure virtual |
◆ getTicks()
virtual bool EVR::getTicks |
( |
epicsUInt32 * |
tks | ) |
|
|
pure virtual |
Returns the current value of the Timestamp Event Counter
- Parameters
-
tks | Pointer to be filled with the counter value |
- Returns
- false if the counter value is not valid
Implemented in EVRMRM.
◆ getTimeStamp()
virtual bool EVR::getTimeStamp |
( |
epicsTimeStamp * |
ts, |
|
|
epicsUInt32 |
event |
|
) |
| |
|
pure virtual |
Gives the current time stamp as sec+nsec
- Parameters
-
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. |
- Returns
- true When ts was updated
-
false When ts could not be updated
Implemented in EVRMRM.
◆ interestedInEvent()
virtual bool EVR::interestedInEvent |
( |
epicsUInt32 |
event, |
|
|
bool |
set |
|
) |
| |
|
pure virtual |
Indicate (lack of) interest in a particular event code. This allows an EVR to ignore event codes which are not needed.
Implemented in EVRMRM.
◆ setSourceTS()
virtual void EVR::setSourceTS |
( |
TSSource |
| ) |
|
|
pure virtual |
Select source which increments TS counter.
Implemented in EVRMRM.
◆ SourceTS()
virtual TSSource EVR::SourceTS |
( |
| ) |
const |
|
pure virtual |
◆ TimeStampValid()
virtual bool EVR::TimeStampValid |
( |
| ) |
const |
|
pure virtual |
◆ TimeStampValidEvent()
virtual IOSCANPVT EVR::TimeStampValidEvent |
( |
| ) |
const |
|
pure virtual |
◆ tsDiv()
virtual epicsUInt32 EVR::tsDiv |
( |
| ) |
const |
|
pure virtual |
When using internal TS source gives the divider from event clock period to TS period.
Implemented in EVRMRM.