mrfioc2
2.3.0
|
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <sstream>
#include <map>
#include <epicsString.h>
#include <epicsStdio.h>
#include <drvSup.h>
#include <iocsh.h>
#include <initHooks.h>
#include <epicsExit.h>
#include <errlog.h>
#include <devLibPCI.h>
#include <devcsr.h>
#include <epicsInterrupt.h>
#include <epicsThread.h>
#include <mrfCommonIO.h>
#include <mrfBitOps.h>
#include "drvem.h"
#include "mrfcsr.h"
#include "mrmpci.h"
#include <epicsExport.h>
#include "drvemIocsh.h"
#include "evrRegMap.h"
#include "plx9030.h"
#include "plx9056.h"
#include "latticeEC30.h"
Go to the source code of this file.
Classes | |
struct | printreg |
Macros | |
#define | REGINFO(label, name, size) {label, U##size##_##name, size} |
Functions | |
long | mrmEvrReport (int level) |
void | mrmEvrSetupPCI (const char *id, const char *pcispec) |
void | mrmEvrInithooks (initHookState state) |
void | mrmEvrSetupVME (const char *id, int slot, int base, int level, int vector) |
void | mrmEvrDumpMap (const char *id, int evt, int ram) |
void | mrmEvrForward (const char *id, const char *events_iocsh) |
Setup Event forwarding to downstream link. More... | |
void | mrmEvrLoopback (const char *id, int rxLoopback, int txLoopback) |
#define REGINFO | ( | label, | |
name, | |||
size | |||
) | {label, U##size##_##name, size} |
void mrmEvrDumpMap | ( | const char * | id, |
int | evt, | ||
int | ram | ||
) |
Definition at line 870 of file drvemSetup.cpp.
void mrmEvrForward | ( | const char * | id, |
const char * | events_iocsh | ||
) |
Setup Event forwarding to downstream link.
Control which events will be forwarded to the downstream event link when they are received on the upstream link. Useful when daisy chaining EVRs.
When invoked with the second argument as NULL or "" the current forward mapping is printed.
The second argument to this function is a comma seperated list of event numbers and/or the special token 'all'. If a token is prefixed with '-' then the mapping is cleared, otherwise it is set.
After a cold boot, no events are forwarded until/unless mrmrEvrForward is called.
id | EVR identifier |
events | A string with a comma seperated list of event specifiers |
Definition at line 924 of file drvemSetup.cpp.
void mrmEvrInithooks | ( | initHookState | state | ) |
Definition at line 722 of file drvemSetup.cpp.
void mrmEvrLoopback | ( | const char * | id, |
int | rxLoopback, | ||
int | txLoopback | ||
) |
Definition at line 992 of file drvemSetup.cpp.
long mrmEvrReport | ( | int | level | ) |
Definition at line 371 of file drvemSetup.cpp.
void mrmEvrSetupPCI | ( | const char * | id, |
const char * | pcispec | ||
) |
Definition at line 440 of file drvemSetup.cpp.
void mrmEvrSetupVME | ( | const char * | id, |
int | slot, | ||
int | base, | ||
int | level, | ||
int | vector | ||
) |
Definition at line 753 of file drvemSetup.cpp.