My Project
devEvrMapping.cpp File Reference
#include <cstdlib>
#include <cstring>
#include <epicsExport.h>
#include <dbDefs.h>
#include <dbAccess.h>
#include <devSup.h>
#include <recGbl.h>
#include <devLib.h>
#include <errlog.h>
#include <longoutRecord.h>
#include <stringinRecord.h>
#include "devObj.h"
#include "evr/evr.h"
#include "linkoptions.h"
#include <stdexcept>
#include <string>

Detailed Description

A special device support to handle arbitrary mappings in the EVR mapping ram. This is intended to be used with the special codes only (ie heartbeat, or prescaler reset), but can be used to map arbitrary functions to arbitrary event codes.

The function code is given as the signal in the VME_IO output link and the event code is given in the VAL field.

The meaning of the function code is implimentation specific except that 0 means no event and must disable a mapping.