AlcapDAQ  1
Data Structures | Macros | Typedefs | Enumerations
CAENVMEtypes.h File Reference

Go to the source code of this file.

Data Structures

struct  CVDisplay
 

Macros

#define CAEN_BYTE   byte
 
#define CAEN_BOOL   VARIANT_BOOL
 

Typedefs

typedef enum CVBoardTypes CVBoardTypes
 
typedef enum CVDataWidth CVDataWidth
 
typedef enum CVAddressModifier CVAddressModifier
 
typedef enum CVErrorCodes CVErrorCodes
 
typedef enum CVPulserSelect CVPulserSelect
 
typedef enum CVOutputSelect CVOutputSelect
 
typedef enum CVInputSelect CVInputSelect
 
typedef enum CVIOSources CVIOSources
 
typedef enum CVTimeUnits CVTimeUnits
 
typedef enum CVLEDPolarity CVLEDPolarity
 
typedef enum CVIOPolarity CVIOPolarity
 
typedef enum CVRegisters CVRegisters
 
typedef enum CVStatusRegisterBits CVStatusRegisterBits
 
typedef enum CVInputRegisterBits CVInputRegisterBits
 
typedef enum CVOutputRegisterBits CVOutputRegisterBits
 
typedef enum CVArbiterTypes CVArbiterTypes
 
typedef enum CVRequesterTypes CVRequesterTypes
 
typedef enum CVReleaseTypes CVReleaseTypes
 
typedef enum CVBusReqLevels CVBusReqLevels
 
typedef enum CVIRQLevels CVIRQLevels
 
typedef enum CVVMETimeouts CVVMETimeouts
 
typedef struct CVDisplay CVDisplay
 

Enumerations

enum  CVBoardTypes {
  cvV1718 = 0, cvV2718 = 1, cvA2818 = 2, cvA2719 = 3,
  cvA3818 = 4, cvV1718 = 0, cvV2718 = 1, cvA2818 = 2,
  cvA2719 = 3, cvA3818 = 4
}
 
enum  CVDataWidth {
  cvD8 = 0x01, cvD16 = 0x02, cvD32 = 0x04, cvD64 = 0x08,
  cvD16_swapped = 0x12, cvD32_swapped = 0x14, cvD64_swapped = 0x18, cvD8 = 0x01,
  cvD16 = 0x02, cvD32 = 0x04, cvD64 = 0x08, cvD16_swapped = 0x12,
  cvD32_swapped = 0x14, cvD64_swapped = 0x18
}
 
enum  CVAddressModifier {
  cvA16_S = 0x2D, cvA16_U = 0x29, cvA16_LCK = 0x2C, cvA24_S_BLT = 0x3F,
  cvA24_S_PGM = 0x3E, cvA24_S_DATA = 0x3D, cvA24_S_MBLT = 0x3C, cvA24_U_BLT = 0x3B,
  cvA24_U_PGM = 0x3A, cvA24_U_DATA = 0x39, cvA24_U_MBLT = 0x38, cvA24_LCK = 0x32,
  cvA32_S_BLT = 0x0F, cvA32_S_PGM = 0x0E, cvA32_S_DATA = 0x0D, cvA32_S_MBLT = 0x0C,
  cvA32_U_BLT = 0x0B, cvA32_U_PGM = 0x0A, cvA32_U_DATA = 0x09, cvA32_U_MBLT = 0x08,
  cvA32_LCK = 0x05, cvCR_CSR = 0x2F, cvA40_BLT = 0x37, cvA40_LCK = 0x35,
  cvA40 = 0x34, cvA64 = 0x01, cvA64_BLT = 0x03, cvA64_MBLT = 0x00,
  cvA64_LCK = 0x04, cvA3U_2eVME = 0x21, cvA6U_2eVME = 0x20, cvA16_S = 0x2D,
  cvA16_U = 0x29, cvA16_LCK = 0x2C, cvA24_S_BLT = 0x3F, cvA24_S_PGM = 0x3E,
  cvA24_S_DATA = 0x3D, cvA24_S_MBLT = 0x3C, cvA24_U_BLT = 0x3B, cvA24_U_PGM = 0x3A,
  cvA24_U_DATA = 0x39, cvA24_U_MBLT = 0x38, cvA24_LCK = 0x32, cvA32_S_BLT = 0x0F,
  cvA32_S_PGM = 0x0E, cvA32_S_DATA = 0x0D, cvA32_S_MBLT = 0x0C, cvA32_U_BLT = 0x0B,
  cvA32_U_PGM = 0x0A, cvA32_U_DATA = 0x09, cvA32_U_MBLT = 0x08, cvA32_LCK = 0x05,
  cvCR_CSR = 0x2F, cvA40_BLT = 0x37, cvA40_LCK = 0x35, cvA40 = 0x34,
  cvA64 = 0x01, cvA64_BLT = 0x03, cvA64_MBLT = 0x00, cvA64_LCK = 0x04,
  cvA3U_2eVME = 0x21, cvA6U_2eVME = 0x20
}
 
enum  CVErrorCodes {
  cvSuccess = 0, cvBusError = -1, cvCommError = -2, cvGenericError = -3,
  cvInvalidParam = -4, cvTimeoutError = -5, cvSuccess = 0, cvBusError = -1,
  cvCommError = -2, cvGenericError = -3, cvInvalidParam = -4, cvTimeoutError = -5
}
 
enum  CVPulserSelect { cvPulserA = 0, cvPulserB = 1, cvPulserA = 0, cvPulserB = 1 }
 
enum  CVOutputSelect {
  cvOutput0 = 0, cvOutput1 = 1, cvOutput2 = 2, cvOutput3 = 3,
  cvOutput4 = 4, cvOutput0 = 0, cvOutput1 = 1, cvOutput2 = 2,
  cvOutput3 = 3, cvOutput4 = 4
}
 
enum  CVInputSelect { cvInput0 = 0, cvInput1 = 1, cvInput0 = 0, cvInput1 = 1 }
 
enum  CVIOSources {
  cvManualSW = 0, cvInputSrc0 = 1, cvInputSrc1 = 2, cvCoincidence = 3,
  cvVMESignals = 4, cvMiscSignals = 6, cvManualSW = 0, cvInputSrc0 = 1,
  cvInputSrc1 = 2, cvCoincidence = 3, cvVMESignals = 4, cvMiscSignals = 6
}
 
enum  CVTimeUnits {
  cvUnit25ns = 0, cvUnit1600ns = 1, cvUnit410us = 2, cvUnit104ms = 3,
  cvUnit25ns = 0, cvUnit1600ns = 1, cvUnit410us = 2, cvUnit104ms = 3
}
 
enum  CVLEDPolarity { cvActiveHigh = 0, cvActiveLow = 1, cvActiveHigh = 0, cvActiveLow = 1 }
 
enum  CVIOPolarity { cvDirect = 0, cvInverted = 1, cvDirect = 0, cvInverted = 1 }
 
enum  CVRegisters {
  cvStatusReg = 0x00, cvVMEControlReg = 0x01, cvFwRelReg = 0x02, cvFwDldReg = 0x03,
  cvFlenaReg = 0x04, cvVMEIRQEnaReg = 0x06, cvInputReg = 0x08, cvOutRegSet = 0x0A,
  cvInMuxRegSet = 0x0B, cvOutMuxRegSet = 0x0C, cvLedPolRegSet = 0x0D, cvOutRegClear = 0x10,
  cvInMuxRegClear = 0x11, cvOutMuxRegClear = 0x12, cvLedPolRegClear = 0x13, cvPulserA0 = 0x16,
  cvPulserA1 = 0x17, cvPulserB0 = 0x19, cvPulserB1 = 0x1A, cvScaler0 = 0x1C,
  cvScaler1 = 0x1D, cvDispADL = 0x20, cvDispADH = 0x21, cvDispDTL = 0x22,
  cvDispDTH = 0x23, cvDispC1 = 0x24, cvDispC2 = 0x25, cvLMADL = 0x28,
  cvLMADH = 0x29, cvLMC = 0x2C, cvStatusReg = 0x00, cvVMEControlReg = 0x01,
  cvFwRelReg = 0x02, cvFwDldReg = 0x03, cvFlenaReg = 0x04, cvVMEIRQEnaReg = 0x06,
  cvInputReg = 0x08, cvOutRegSet = 0x0A, cvInMuxRegSet = 0x0B, cvOutMuxRegSet = 0x0C,
  cvLedPolRegSet = 0x0D, cvOutRegClear = 0x10, cvInMuxRegClear = 0x11, cvOutMuxRegClear = 0x12,
  cvLedPolRegClear = 0x13, cvPulserA0 = 0x16, cvPulserA1 = 0x17, cvPulserB0 = 0x19,
  cvPulserB1 = 0x1A, cvScaler0 = 0x1C, cvScaler1 = 0x1D, cvDispADL = 0x20,
  cvDispADH = 0x21, cvDispDTL = 0x22, cvDispDTH = 0x23, cvDispC1 = 0x24,
  cvDispC2 = 0x25, cvLMADL = 0x28, cvLMADH = 0x29, cvLMC = 0x2C
}
 
enum  CVStatusRegisterBits {
  cvSYSRES = 0x0001, cvSYSCTRL = 0x0002, cvDTACK = 0x0010, cvBERR = 0x0020,
  cvDIP0 = 0x0100, cvDIP1 = 0x0200, cvDIP2 = 0x0400, cvDIP3 = 0x0800,
  cvDIP4 = 0x1000, cvUSBTYPE = 0x8000, cvSYSRES = 0x0001, cvSYSCTRL = 0x0002,
  cvDTACK = 0x0010, cvBERR = 0x0020, cvDIP0 = 0x0100, cvDIP1 = 0x0200,
  cvDIP2 = 0x0400, cvDIP3 = 0x0800, cvDIP4 = 0x1000, cvUSBTYPE = 0x8000
}
 
enum  CVInputRegisterBits {
  cvIn0Bit = 0x0001, cvIn1Bit = 0x0002, cvCoincBit = 0x0004, cvPulsAOutBit = 0x0008,
  cvPulsBOutBit = 0x0010, cvScalEndCntBit = 0x0020, cvLocMonBit = 0x0040, cvIn0Bit = 0x0001,
  cvIn1Bit = 0x0002, cvCoincBit = 0x0004, cvPulsAOutBit = 0x0008, cvPulsBOutBit = 0x0010,
  cvScalEndCntBit = 0x0020, cvLocMonBit = 0x0040
}
 
enum  CVOutputRegisterBits {
  cvPulsAStartBit = 0x0001, cvPulsAResetBit = 0x0002, cvPulsBStartBit = 0x0004, cvPulsBResetBit = 0x0008,
  cvScalGateBit = 0x0010, cvScalResetBit = 0x0020, cvOut0Bit = 0x0040, cvOut1Bit = 0x0080,
  cvOut2Bit = 0x0100, cvOut3Bit = 0x0200, cvOut4Bit = 0x0400, cvPulsAStartBit = 0x0001,
  cvPulsAResetBit = 0x0002, cvPulsBStartBit = 0x0004, cvPulsBResetBit = 0x0008, cvScalGateBit = 0x0010,
  cvScalResetBit = 0x0020, cvOut0Bit = 0x0040, cvOut1Bit = 0x0080, cvOut2Bit = 0x0100,
  cvOut3Bit = 0x0200, cvOut4Bit = 0x0400
}
 
enum  CVArbiterTypes { cvPriorized = 0, cvRoundRobin = 1, cvPriorized = 0, cvRoundRobin = 1 }
 
enum  CVRequesterTypes { cvFair = 0, cvDemand = 1, cvFair = 0, cvDemand = 1 }
 
enum  CVReleaseTypes { cvRWD = 0, cvROR = 1, cvRWD = 0, cvROR = 1 }
 
enum  CVBusReqLevels {
  cvBR0 = 0, cvBR1 = 1, cvBR2 = 2, cvBR3 = 3,
  cvBR0 = 0, cvBR1 = 1, cvBR2 = 2, cvBR3 = 3
}
 
enum  CVIRQLevels {
  cvIRQ1 = 0x01, cvIRQ2 = 0x02, cvIRQ3 = 0x04, cvIRQ4 = 0x08,
  cvIRQ5 = 0x10, cvIRQ6 = 0x20, cvIRQ7 = 0x40, cvIRQ1 = 0x01,
  cvIRQ2 = 0x02, cvIRQ3 = 0x04, cvIRQ4 = 0x08, cvIRQ5 = 0x10,
  cvIRQ6 = 0x20, cvIRQ7 = 0x40
}
 
enum  CVVMETimeouts { cvTimeout50us = 0, cvTimeout400us = 1, cvTimeout50us = 0, cvTimeout400us = 1 }
 

Macro Definition Documentation

#define CAEN_BOOL   VARIANT_BOOL

Definition at line 26 of file CAENVMEtypes.h.

#define CAEN_BYTE   byte

Definition at line 25 of file CAENVMEtypes.h.

Typedef Documentation

typedef enum CVBoardTypes CVBoardTypes
typedef enum CVDataWidth CVDataWidth
typedef struct CVDisplay CVDisplay
typedef enum CVErrorCodes CVErrorCodes
typedef enum CVIOPolarity CVIOPolarity
typedef enum CVIOSources CVIOSources
typedef enum CVIRQLevels CVIRQLevels
typedef enum CVRegisters CVRegisters
typedef enum CVTimeUnits CVTimeUnits

Enumeration Type Documentation

Enumerator
cvA16_S 
cvA16_U 
cvA16_LCK 
cvA24_S_BLT 
cvA24_S_PGM 
cvA24_S_DATA 
cvA24_S_MBLT 
cvA24_U_BLT 
cvA24_U_PGM 
cvA24_U_DATA 
cvA24_U_MBLT 
cvA24_LCK 
cvA32_S_BLT 
cvA32_S_PGM 
cvA32_S_DATA 
cvA32_S_MBLT 
cvA32_U_BLT 
cvA32_U_PGM 
cvA32_U_DATA 
cvA32_U_MBLT 
cvA32_LCK 
cvCR_CSR 
cvA40_BLT 
cvA40_LCK 
cvA40 
cvA64 
cvA64_BLT 
cvA64_MBLT 
cvA64_LCK 
cvA3U_2eVME 
cvA6U_2eVME 
cvA16_S 
cvA16_U 
cvA16_LCK 
cvA24_S_BLT 
cvA24_S_PGM 
cvA24_S_DATA 
cvA24_S_MBLT 
cvA24_U_BLT 
cvA24_U_PGM 
cvA24_U_DATA 
cvA24_U_MBLT 
cvA24_LCK 
cvA32_S_BLT 
cvA32_S_PGM 
cvA32_S_DATA 
cvA32_S_MBLT 
cvA32_U_BLT 
cvA32_U_PGM 
cvA32_U_DATA 
cvA32_U_MBLT 
cvA32_LCK 
cvCR_CSR 
cvA40_BLT 
cvA40_LCK 
cvA40 
cvA64 
cvA64_BLT 
cvA64_MBLT 
cvA64_LCK 
cvA3U_2eVME 
cvA6U_2eVME 

Definition at line 57 of file CAENVMEtypes.h.

57  {
58  cvA16_S = 0x2D, /* A16 supervisory access */
59  cvA16_U = 0x29, /* A16 non-privileged */
60  cvA16_LCK = 0x2C, /* A16 lock command */
61 
62  cvA24_S_BLT = 0x3F, /* A24 supervisory block transfer */
63  cvA24_S_PGM = 0x3E, /* A24 supervisory program access */
64  cvA24_S_DATA = 0x3D, /* A24 supervisory data access */
65  cvA24_S_MBLT = 0x3C, /* A24 supervisory 64-bit block trnsfer */
66  cvA24_U_BLT = 0x3B, /* A24 non-privileged block transfer */
67  cvA24_U_PGM = 0x3A, /* A24 non-privileged program access */
68  cvA24_U_DATA = 0x39, /* A24 non-privileged data access */
69  cvA24_U_MBLT = 0x38, /* A24 non-privileged 64-bit block trnsfer */
70  cvA24_LCK = 0x32, /* A24 lock command */
71 
72  cvA32_S_BLT = 0x0F, /* A32 supervisory block transfer */
73  cvA32_S_PGM = 0x0E, /* A32 supervisory program access */
74  cvA32_S_DATA = 0x0D, /* A32 supervisory data access */
75  cvA32_S_MBLT = 0x0C, /* A32 supervisory 64-bit block trnsfer */
76  cvA32_U_BLT = 0x0B, /* A32 non-privileged block transfer */
77  cvA32_U_PGM = 0x0A, /* A32 non-privileged program access */
78  cvA32_U_DATA = 0x09, /* A32 non-privileged data access */
79  cvA32_U_MBLT = 0x08, /* A32 non-privileged 64-bit block trnsfer */
80  cvA32_LCK = 0x05, /* A32 lock command */
81 
82  cvCR_CSR = 0x2F, /* CR/CSR space */
83 
84 /*
85  The following address modifiers are not yet implemented.
86 */
87 
88  cvA40_BLT = 0x37, /* A40 block transfer (MD32) */
89  cvA40_LCK = 0x35, /* A40 lock command */
90  cvA40 = 0x34, /* A40 access */
91 
92  cvA64 = 0x01, /* A64 single trnsfer access */
93  cvA64_BLT = 0x03, /* A64 block transfer */
94  cvA64_MBLT = 0x00, /* A64 64-bit block transfer */
95  cvA64_LCK = 0x04, /* A64 lock command */
96 
97  cvA3U_2eVME = 0x21, /* 2eVME for 3U modules */
98  cvA6U_2eVME = 0x20 /* 2eVME for 6U modules */
Enumerator
cvPriorized 
cvRoundRobin 
cvPriorized 
cvRoundRobin 

Definition at line 263 of file CAENVMEtypes.h.

263  {
264  cvPriorized = 0, /* Priority Arbiter */
265  cvRoundRobin = 1 /* Round-Robin Arbiter */
Enumerator
cvV1718 
cvV2718 
cvA2818 
cvA2719 
cvA3818 
cvV1718 
cvV2718 
cvA2818 
cvA2719 
cvA3818 

Definition at line 32 of file CAENVMEtypes.h.

32  {
33  cvV1718 = 0, /* CAEN V1718 USB-VME bridge */
34  cvV2718 = 1, /* V2718 PCI-VME bridge with optical link */
35  cvA2818 = 2, /* PCI board with optical link */
36  cvA2719 = 3, /* Optical link piggy-back */
37  cvA3818 = 4 /* PCIe board with up to 4 optical links */
38 } CVBoardTypes;
Enumerator
cvBR0 
cvBR1 
cvBR2 
cvBR3 
cvBR0 
cvBR1 
cvBR2 
cvBR3 

Definition at line 287 of file CAENVMEtypes.h.

287  {
288  cvBR0 = 0, /* Bus request level 0 */
289  cvBR1 = 1, /* Bus request level 1 */
290  cvBR2 = 2, /* Bus request level 2 */
291  cvBR3 = 3 /* Bus request level 3 */
Enumerator
cvD8 
cvD16 
cvD32 
cvD64 
cvD16_swapped 
cvD32_swapped 
cvD64_swapped 
cvD8 
cvD16 
cvD32 
cvD64 
cvD16_swapped 
cvD32_swapped 
cvD64_swapped 

Definition at line 44 of file CAENVMEtypes.h.

44  {
45  cvD8 = 0x01, /* 8 bit */
46  cvD16 = 0x02, /* 16 bit */
47  cvD32 = 0x04, /* 32 bit */
48  cvD64 = 0x08, /* 64 bit */
49  cvD16_swapped = 0x12, /* 16 bit swapped */
50  cvD32_swapped = 0x14, /* 32 bit swapped */
51  cvD64_swapped = 0x18 /* 64 bit swapped */
52 } CVDataWidth;
Enumerator
cvSuccess 
cvBusError 
cvCommError 
cvGenericError 
cvInvalidParam 
cvTimeoutError 
cvSuccess 
cvBusError 
cvCommError 
cvGenericError 
cvInvalidParam 
cvTimeoutError 

Definition at line 104 of file CAENVMEtypes.h.

104  {
105  cvSuccess = 0, /* Operation completed successfully */
106  cvBusError = -1, /* VME bus error during the cycle */
107  cvCommError = -2, /* Communication error */
108  cvGenericError = -3, /* Unspecified error */
109  cvInvalidParam = -4, /* Invalid parameter */
110  cvTimeoutError = -5, /* Timeout error */
111 } CVErrorCodes;
Enumerator
cvIn0Bit 
cvIn1Bit 
cvCoincBit 
cvPulsAOutBit 
cvPulsBOutBit 
cvScalEndCntBit 
cvLocMonBit 
cvIn0Bit 
cvIn1Bit 
cvCoincBit 
cvPulsAOutBit 
cvPulsBOutBit 
cvScalEndCntBit 
cvLocMonBit 

Definition at line 233 of file CAENVMEtypes.h.

233  {
234  cvIn0Bit = 0x0001, /* Input line 0 signal level. */
235  cvIn1Bit = 0x0002, /* Input line 1 signal level. */
236  cvCoincBit = 0x0004, /* Coincidence of input signal level. */
237  cvPulsAOutBit = 0x0008, /* Pulser A output signal level. */
238  cvPulsBOutBit = 0x0010, /* Pulser B output signal level. */
239  cvScalEndCntBit = 0x0020, /* Scaler end counter signal level. */
240  cvLocMonBit = 0x0040, /* Location monitor signal level. */
Enumerator
cvInput0 
cvInput1 
cvInput0 
cvInput1 

Definition at line 135 of file CAENVMEtypes.h.

135  {
136  cvInput0 = 0, /* Identifies the input line 0 */
137  cvInput1 = 1 /* Identifies the input line 1 */
138 } CVInputSelect;
Enumerator
cvDirect 
cvInverted 
cvDirect 
cvInverted 

Definition at line 173 of file CAENVMEtypes.h.

173  {
174  cvDirect = 0, /* Normal polarity */
175  cvInverted = 1 /* Inverted polarity */
176 } CVIOPolarity;
Enumerator
cvManualSW 
cvInputSrc0 
cvInputSrc1 
cvCoincidence 
cvVMESignals 
cvMiscSignals 
cvManualSW 
cvInputSrc0 
cvInputSrc1 
cvCoincidence 
cvVMESignals 
cvMiscSignals 

Definition at line 143 of file CAENVMEtypes.h.

143  {
144  cvManualSW = 0, /* Manual (button) or software controlled */
145  cvInputSrc0 = 1, /* Input line 0 */
146  cvInputSrc1 = 2, /* Input line 1 */
147  cvCoincidence = 3, /* Inputs coincidence */
148  cvVMESignals = 4, /* Signals from VME bus */
149  cvMiscSignals = 6 /* Various internal signals */
150 } CVIOSources;
Enumerator
cvIRQ1 
cvIRQ2 
cvIRQ3 
cvIRQ4 
cvIRQ5 
cvIRQ6 
cvIRQ7 
cvIRQ1 
cvIRQ2 
cvIRQ3 
cvIRQ4 
cvIRQ5 
cvIRQ6 
cvIRQ7 

Definition at line 297 of file CAENVMEtypes.h.

297  {
298  cvIRQ1 = 0x01, /* Interrupt level 1 */
299  cvIRQ2 = 0x02, /* Interrupt level 2 */
300  cvIRQ3 = 0x04, /* Interrupt level 3 */
301  cvIRQ4 = 0x08, /* Interrupt level 4 */
302  cvIRQ5 = 0x10, /* Interrupt level 5 */
303  cvIRQ6 = 0x20, /* Interrupt level 6 */
304  cvIRQ7 = 0x40 /* Interrupt level 7 */
305 } CVIRQLevels;
Enumerator
cvActiveHigh 
cvActiveLow 
cvActiveHigh 
cvActiveLow 

Definition at line 165 of file CAENVMEtypes.h.

165  {
166  cvActiveHigh = 0, /* LED emits on signal high level */
167  cvActiveLow = 1 /* LED emits on signal low level */
168 } CVLEDPolarity;
Enumerator
cvPulsAStartBit 
cvPulsAResetBit 
cvPulsBStartBit 
cvPulsBResetBit 
cvScalGateBit 
cvScalResetBit 
cvOut0Bit 
cvOut1Bit 
cvOut2Bit 
cvOut3Bit 
cvOut4Bit 
cvPulsAStartBit 
cvPulsAResetBit 
cvPulsBStartBit 
cvPulsBResetBit 
cvScalGateBit 
cvScalResetBit 
cvOut0Bit 
cvOut1Bit 
cvOut2Bit 
cvOut3Bit 
cvOut4Bit 

Definition at line 246 of file CAENVMEtypes.h.

246  {
247  cvPulsAStartBit = 0x0001, /* Pulser A start signal level. */
248  cvPulsAResetBit = 0x0002, /* Pulser A reset signal level. */
249  cvPulsBStartBit = 0x0004, /* Pulser B start signal level. */
250  cvPulsBResetBit = 0x0008, /* Pulser B reset signal level. */
251  cvScalGateBit = 0x0010, /* Scaler gate signal level. */
252  cvScalResetBit = 0x0020, /* Scaler reset counter signal level. */
253  cvOut0Bit = 0x0040, /* Output line 0 signal level. */
254  cvOut1Bit = 0x0080, /* Output line 1 signal level. */
255  cvOut2Bit = 0x0100, /* Output line 2 signal level. */
256  cvOut3Bit = 0x0200, /* Output line 3 signal level. */
257  cvOut4Bit = 0x0400, /* Output line 4 signal level. */
Enumerator
cvOutput0 
cvOutput1 
cvOutput2 
cvOutput3 
cvOutput4 
cvOutput0 
cvOutput1 
cvOutput2 
cvOutput3 
cvOutput4 

Definition at line 124 of file CAENVMEtypes.h.

124  {
125  cvOutput0 = 0, /* Identifies the output line 0 */
126  cvOutput1 = 1, /* Identifies the output line 1 */
127  cvOutput2 = 2, /* Identifies the output line 2 */
128  cvOutput3 = 3, /* Identifies the output line 3 */
129  cvOutput4 = 4 /* Identifies the output line 4 */
Enumerator
cvPulserA 
cvPulserB 
cvPulserA 
cvPulserB 

Definition at line 116 of file CAENVMEtypes.h.

116  {
117  cvPulserA = 0, /* Identifies the pulser 'A' */
118  cvPulserB = 1 /* Identifies the pulser 'B' */
Enumerator
cvStatusReg 
cvVMEControlReg 
cvFwRelReg 
cvFwDldReg 
cvFlenaReg 
cvVMEIRQEnaReg 
cvInputReg 
cvOutRegSet 
cvInMuxRegSet 
cvOutMuxRegSet 
cvLedPolRegSet 
cvOutRegClear 
cvInMuxRegClear 
cvOutMuxRegClear 
cvLedPolRegClear 
cvPulserA0 
cvPulserA1 
cvPulserB0 
cvPulserB1 
cvScaler0 
cvScaler1 
cvDispADL 
cvDispADH 
cvDispDTL 
cvDispDTH 
cvDispC1 
cvDispC2 
cvLMADL 
cvLMADH 
cvLMC 
cvStatusReg 
cvVMEControlReg 
cvFwRelReg 
cvFwDldReg 
cvFlenaReg 
cvVMEIRQEnaReg 
cvInputReg 
cvOutRegSet 
cvInMuxRegSet 
cvOutMuxRegSet 
cvLedPolRegSet 
cvOutRegClear 
cvInMuxRegClear 
cvOutMuxRegClear 
cvLedPolRegClear 
cvPulserA0 
cvPulserA1 
cvPulserB0 
cvPulserB1 
cvScaler0 
cvScaler1 
cvDispADL 
cvDispADH 
cvDispDTL 
cvDispDTH 
cvDispC1 
cvDispC2 
cvLMADL 
cvLMADH 
cvLMC 

Definition at line 181 of file CAENVMEtypes.h.

181  {
182  cvStatusReg = 0x00, /* Status register */
183  cvVMEControlReg = 0x01, /* VME Control register */
184  cvFwRelReg = 0x02, /* Firmware Release register */
185  cvFwDldReg = 0x03, /* Firmware Download register */
186  cvFlenaReg = 0x04, /* Flash Enable */
187  cvVMEIRQEnaReg = 0x06, /* VME IRQ Lines Enable */
188  cvInputReg = 0x08, /* Input register */
189  cvOutRegSet = 0x0A, /* Output register */
190  cvInMuxRegSet = 0x0B, /* Input Multiplexer */
191  cvOutMuxRegSet = 0x0C, /* Output Multiplexer */
192  cvLedPolRegSet = 0x0D, /* Led Polarity */
193  cvOutRegClear = 0x10, /* Output register */
194  cvInMuxRegClear = 0x11, /* Input Multiplexer */
195  cvOutMuxRegClear = 0x12, /* Output Multiplexer */
196  cvLedPolRegClear = 0x13, /* Led Polarity */
197  cvPulserA0 = 0x16, /* Period and width of Pulser A */
198  cvPulserA1 = 0x17, /* Num pulses and range of Pulser A */
199  cvPulserB0 = 0x19, /* Period and width of Pulser B */
200  cvPulserB1 = 0x1A, /* Num pulses and range of Pulser B */
201  cvScaler0 = 0x1C, /* Limit and Autores of Scaler A */
202  cvScaler1 = 0x1D, /* Counter value of Scaler A */
203  cvDispADL = 0x20, /* Display AD[15:0] */
204  cvDispADH = 0x21, /* Display AD[31:16] */
205  cvDispDTL = 0x22, /* Display DT[15:0] */
206  cvDispDTH = 0x23, /* Display DT[31:16] */
207  cvDispC1 = 0x24, /* Display Control left bar */
208  cvDispC2 = 0x25, /* Display Control left bar */
209  cvLMADL = 0x28, /* Loc. Mon. AD[15:0] */
210  cvLMADH = 0x29, /* Loc. Mon. AD[31:16] */
211  cvLMC = 0x2C /* Loc. Mon. Controls */
212 } CVRegisters;
Enumerator
cvRWD 
cvROR 
cvRWD 
cvROR 

Definition at line 279 of file CAENVMEtypes.h.

279  {
280  cvRWD = 0, /* Release When Done */
281  cvROR = 1 /* Release On Request */
Enumerator
cvFair 
cvDemand 
cvFair 
cvDemand 

Definition at line 271 of file CAENVMEtypes.h.

271  {
272  cvFair = 0, /* Fair bus requester */
273  cvDemand = 1 /* On demand bus requester */
Enumerator
cvSYSRES 
cvSYSCTRL 
cvDTACK 
cvBERR 
cvDIP0 
cvDIP1 
cvDIP2 
cvDIP3 
cvDIP4 
cvUSBTYPE 
cvSYSRES 
cvSYSCTRL 
cvDTACK 
cvBERR 
cvDIP0 
cvDIP1 
cvDIP2 
cvDIP3 
cvDIP4 
cvUSBTYPE 

Definition at line 217 of file CAENVMEtypes.h.

217  {
218  cvSYSRES = 0x0001, /* VME is in system reset state */
219  cvSYSCTRL = 0x0002, /* The bridge is the VME system controller */
220  cvDTACK = 0x0010, /* Last access has generated a DTACK signal */
221  cvBERR = 0x0020, /* Last access has generated a bus error */
222  cvDIP0 = 0x0100, /* Dip Switch position 0 state */
223  cvDIP1 = 0x0200, /* Dip Switch position 1 state */
224  cvDIP2 = 0x0400, /* Dip Switch position 2 state */
225  cvDIP3 = 0x0800, /* Dip Switch position 3 state */
226  cvDIP4 = 0x1000, /* Dip Switch position 4 state */
227  cvUSBTYPE = 0x8000 /* USB Speed: 0 = Full; 1 = High */
Enumerator
cvUnit25ns 
cvUnit1600ns 
cvUnit410us 
cvUnit104ms 
cvUnit25ns 
cvUnit1600ns 
cvUnit410us 
cvUnit104ms 

Definition at line 155 of file CAENVMEtypes.h.

155  {
156  cvUnit25ns = 0, /* Time unit is 25 nanoseconds */
157  cvUnit1600ns = 1, /* Time unit is 1.6 microseconds */
158  cvUnit410us = 2, /* Time unit is 410 microseconds */
159  cvUnit104ms = 3 /* Time unit is 104 milliseconds */
160 } CVTimeUnits;
Enumerator
cvTimeout50us 
cvTimeout400us 
cvTimeout50us 
cvTimeout400us 

Definition at line 310 of file CAENVMEtypes.h.

310  {
311  cvTimeout50us = 0, /* Timeout is 50 microseconds */
312  cvTimeout400us = 1 /* Timeout is 400 microseconds */
313 } CVVMETimeouts;