mrfioc2
2.3.0
|
#include <stdio.h>
#include <epicsMath.h>
#include <epicsMutex.h>
#include <errlog.h>
#include <mrfCommonIO.h>
#include "mrmSeq.h"
#include <epicsExport.h>
Go to the source code of this file.
Classes | |
struct | SeqHW |
struct | SoftSequence |
struct | SoftSequence::Config |
Macros | |
#define | EVG_SEQ_RAM_RUNNING 0x02000000 /* Sequence RAM is Running (read only) */ |
#define | EVG_SEQ_RAM_ENABLED 0x01000000 /* Sequence RAM is Enabled (read only) */ |
#define | EVG_SEQ_RAM_SW_TRIG 0x00200000 /* Sequence RAM Software Trigger Bit */ |
#define | EVG_SEQ_RAM_RESET 0x00040000 /* Sequence RAM Reset */ |
#define | EVG_SEQ_RAM_DISABLE 0x00020000 /* Sequence RAM Disable (and stop) */ |
#define | EVG_SEQ_RAM_ARM 0x00010000 /* Sequence RAM Enable/Arm */ |
#define | EVG_SEQ_RAM_WRITABLE_MASK 0x00ffffff |
#define | EVG_SEQ_RAM_REPEAT_MASK 0x00180000 /* Sequence RAM Repeat Mode Mask */ |
#define | EVG_SEQ_RAM_NORMAL 0x00000000 /* Normal Mode: Repeat every trigger */ |
#define | EVG_SEQ_RAM_SINGLE 0x00100000 /* Single-Shot Mode: Disable on completion */ |
#define | EVG_SEQ_RAM_RECYCLE 0x00080000 /* Continuous Mode: Repeat on completion */ |
#define | EVG_SEQ_RAM_SRC_MASK 0x000000ff |
#define | DEBUG(LVL, ARGS) do{if(SeqManagerDebug>=(LVL)) {printf ARGS ;}}while(0) |
Enumerations | |
enum | RunMode |
Functions | |
OBJECT_PROP1 ("ERROR", &SoftSequence::getErr) | |
OBJECT_PROP1 ("ERROR", &SoftSequence::getErrScan) | |
OBJECT_PROP1 ("LOADED", &SoftSequence::isLoaded) | |
OBJECT_PROP1 ("LOADED", &SoftSequence::stateChange) | |
OBJECT_PROP1 ("LOAD", &SoftSequence::load) | |
OBJECT_PROP1 ("UNLOAD", &SoftSequence::unload) | |
OBJECT_PROP1 ("ENABLED", &SoftSequence::isEnabled) | |
OBJECT_PROP1 ("ENABLED", &SoftSequence::stateChange) | |
OBJECT_PROP1 ("ENABLE", &SoftSequence::enable) | |
OBJECT_PROP1 ("DISABLE", &SoftSequence::disable) | |
OBJECT_PROP1 ("COMMITTED", &SoftSequence::isCommited) | |
OBJECT_PROP1 ("COMMITTED", &SoftSequence::stateChange) | |
OBJECT_PROP1 ("COMMIT", &SoftSequence::commit) | |
OBJECT_PROP1 ("SOFT_TRIG", &SoftSequence::softTrig) | |
OBJECT_PROP2 ("TIMES", &SoftSequence::getTimestamp, &SoftSequence::setTimestamp) | |
OBJECT_PROP1 ("TIMES", &SoftSequence::stateChange) | |
OBJECT_PROP2 ("CODES", &SoftSequence::getEventCode, &SoftSequence::setEventCode) | |
OBJECT_PROP1 ("CODES", &SoftSequence::stateChange) | |
OBJECT_PROP1 ("NUM_RUNS", &SoftSequence::counterEnd) | |
OBJECT_PROP1 ("NUM_RUNS", &SoftSequence::counterEndScan) | |
OBJECT_PROP1 ("NUM_STARTS", &SoftSequence::counterStart) | |
OBJECT_PROP1 ("NUM_STARTS", &SoftSequence::counterStartScan) | |
OBJECT_PROP2 ("TIMEUNITS", &SoftSequence::getTimestampResolution, &SoftSequence::setTimestampResolution) | |
OBJECT_PROP2 ("TRIG_SRC", &SoftSequence::getTrigSrcCt, &SoftSequence::setTrigSrc) | |
OBJECT_PROP1 ("TRIG_SRC", &SoftSequence::stateChange) | |
OBJECT_PROP2 ("RUN_MODE", &SoftSequence::getRunModeCt, &SoftSequence::setRunMode) | |
OBJECT_PROP1 ("RUN_MODE", &SoftSequence::stateChange) | |
OBJECT_FACTORY (SeqManager::buildSW) | |
epicsExportAddress (int, SeqManagerDebug) | |
Variables | |
int | SeqManagerDebug |
#define DEBUG | ( | LVL, | |
ARGS | |||
) | do{if(SeqManagerDebug>=(LVL)) {printf ARGS ;}}while(0) |
Definition at line 45 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_ARM 0x00010000 /* Sequence RAM Enable/Arm */ |
Definition at line 30 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_DISABLE 0x00020000 /* Sequence RAM Disable (and stop) */ |
Definition at line 29 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_ENABLED 0x01000000 /* Sequence RAM is Enabled (read only) */ |
Definition at line 24 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_NORMAL 0x00000000 /* Normal Mode: Repeat every trigger */ |
Definition at line 34 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_RECYCLE 0x00080000 /* Continuous Mode: Repeat on completion */ |
Definition at line 36 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_REPEAT_MASK 0x00180000 /* Sequence RAM Repeat Mode Mask */ |
Definition at line 33 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_RESET 0x00040000 /* Sequence RAM Reset */ |
Definition at line 28 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_RUNNING 0x02000000 /* Sequence RAM is Running (read only) */ |
Definition at line 23 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_SINGLE 0x00100000 /* Single-Shot Mode: Disable on completion */ |
Definition at line 35 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_SRC_MASK 0x000000ff |
Definition at line 38 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_SW_TRIG 0x00200000 /* Sequence RAM Software Trigger Bit */ |
Definition at line 27 of file mrmSeq.cpp.
#define EVG_SEQ_RAM_WRITABLE_MASK 0x00ffffff |
Definition at line 32 of file mrmSeq.cpp.
enum RunMode |
Definition at line 50 of file mrmSeq.cpp.
epicsExportAddress | ( | int | , |
SeqManagerDebug | |||
) |
OBJECT_FACTORY | ( | SeqManager::buildSW | ) |
OBJECT_PROP1 | ( | "ERROR" | , |
&SoftSequence::getErr | |||
) |
OBJECT_PROP1 | ( | "ERROR" | , |
&SoftSequence::getErrScan | |||
) |
OBJECT_PROP1 | ( | "LOADED" | , |
&SoftSequence::isLoaded | |||
) |
OBJECT_PROP1 | ( | "LOADED" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "LOAD" | , |
&SoftSequence::load | |||
) |
OBJECT_PROP1 | ( | "UNLOAD" | , |
&SoftSequence::unload | |||
) |
OBJECT_PROP1 | ( | "ENABLED" | , |
&SoftSequence::isEnabled | |||
) |
OBJECT_PROP1 | ( | "ENABLED" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "ENABLE" | , |
&SoftSequence::enable | |||
) |
OBJECT_PROP1 | ( | "DISABLE" | , |
&SoftSequence::disable | |||
) |
OBJECT_PROP1 | ( | "COMMITTED" | , |
&SoftSequence::isCommited | |||
) |
OBJECT_PROP1 | ( | "COMMITTED" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "COMMIT" | , |
&SoftSequence::commit | |||
) |
OBJECT_PROP1 | ( | "SOFT_TRIG" | , |
&SoftSequence::softTrig | |||
) |
OBJECT_PROP1 | ( | "TIMES" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "CODES" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "NUM_RUNS" | , |
&SoftSequence::counterEnd | |||
) |
OBJECT_PROP1 | ( | "NUM_RUNS" | , |
&SoftSequence::counterEndScan | |||
) |
OBJECT_PROP1 | ( | "NUM_STARTS" | , |
&SoftSequence::counterStart | |||
) |
OBJECT_PROP1 | ( | "NUM_STARTS" | , |
&SoftSequence::counterStartScan | |||
) |
OBJECT_PROP1 | ( | "TRIG_SRC" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP1 | ( | "RUN_MODE" | , |
&SoftSequence::stateChange | |||
) |
OBJECT_PROP2 | ( | "TIMES" | , |
&SoftSequence::getTimestamp | , | ||
&SoftSequence::setTimestamp | |||
) |
OBJECT_PROP2 | ( | "CODES" | , |
&SoftSequence::getEventCode | , | ||
&SoftSequence::setEventCode | |||
) |
OBJECT_PROP2 | ( | "TIMEUNITS" | , |
&SoftSequence::getTimestampResolution | , | ||
&SoftSequence::setTimestampResolution | |||
) |
OBJECT_PROP2 | ( | "TRIG_SRC" | , |
&SoftSequence::getTrigSrcCt | , | ||
&SoftSequence::setTrigSrc | |||
) |
OBJECT_PROP2 | ( | "RUN_MODE" | , |
&SoftSequence::getRunModeCt | , | ||
&SoftSequence::setRunMode | |||
) |
int SeqManagerDebug |
Definition at line 774 of file mrmSeq.cpp.