mrfioc2  2.3.0
configurationInfo.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2015 Paul Scherrer Institute (PSI), Villigen, Switzerland
3 * mrfioc2 is distributed subject to a Software License Agreement found
4 * in file LICENSE that is included with this distribution.
5 \*************************************************************************/
6 #ifndef CONFIGURATIONINFO_H
7 #define CONFIGURATIONINFO_H
8 
9 #include <devLibPCI.h>
10 
11 //VME
13  epicsInt32 slot; // slot where the card is inserted
14  epicsUInt32 address; // VME address in A24 space
15  epicsInt32 irqLevel; // interupt level
16  epicsInt32 irqVector; // interrupt vector
17  std::string position; // position description for EVR
18 };
19 
20 
21 // PCI
23  const epicsPCIDevice *dev;
25  :dev(0)
26  {}
27 };
28 
29 enum busType{
32 };
33 
35  struct configuration_vme vme;
36  struct configuration_pci pci;
38 };
39 
40 // form factor corresponds to FPGA Firmware Version Register bit 26-24
41 enum formFactor {
43  formFactor_CPCI=0, // 3U
51 };
52 
53 #endif // CONFIGURATIONINFO_H
formFactor
const epicsPCIDevice * dev