#include <config.h>
#include "CCAENV1x90.h"
#include "CCAENV1x90Registers.h"
#include "CCAENV1x90Data.h"
#include "CCAENV1x90Opcodes.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
static const unsigned int | MINMATCHWIDTH (1) |
static const unsigned int | MAXMATCHWIDTH (0xfff) |
static const unsigned int | MATCHMASK (0xfff) |
static const int | MINWINDOWOFFSET (-2048) |
static const int | MAXWINDOWOFFSET (40) |
static const int | WINDOWOFFSETMASK (0xfff) |
static const unsigned int | MINEXTRAMARGIN (0) |
static const unsigned int | MAXEXTRAMARGIN (2047) |
static const unsigned int | EXTRAMARGINMASK (0xfff) |
static const unsigned int | MINREJECTMARGIN (0) |
static const unsigned int | MAXREJECTMARGIN (2047) |
static const unsigned int | REJECTMARGINMASK (0xfff) |
static const unsigned int | EDGEDETECTIONMASK (3) |
static const unsigned int | EDGERESOLUTIONMASK (3) |
static const unsigned int | LERESOLUTIONMASK (7) |
static const unsigned int | PWRESOLUTIONRSHIFT (8) |
static const unsigned int | PWRESOLUTIONMASK (0xff00) |
static const unsigned int | TRUEBIT (1) |
static const unsigned int | COARSEMAX (0x7ff) |
static const unsigned int | COARSEMASK (0x7ff) |
static const unsigned int | VERNIERMAX (0x1f) |
static const unsigned int | VERNIERMASK (0x1f) |
static const unsigned int | CHANOFFSETMAX (0xff) |
static const unsigned int | CHANOFFSETMASK (0xff) |
static const unsigned int | TAPCONTACTMASK (0x7) |
static const unsigned int | TAPCONTACTRSHIFT (3) |
static const unsigned int | MAXTESTVALUE (0x7fffff) |
static const unsigned int | MAXGEO (0x1f) |
static const unsigned int | GEOMASK (0x1f) |
static const unsigned long | RESET_DELAY (1000) |
static unsigned long | OffsetW (unsigned long nByteOffset) |
Convert byte offset to word offset. | |
static unsigned long | OffsetL (unsigned long nByteOffset) |
Convert byte offset into long offset. | |
template<class T> | |
static string | FormatValue (const char *pFormatString, T value) |
Convert a format string and a single number into an output. | |
static unsigned short | HI (unsigned int nValue) |
Extract HI 1/2 of a longword:. | |
static unsigned short | LO (unsigned int nValue) |
Extract Low 1/2 of a longword:. |
static const unsigned int CHANOFFSETMASK | ( | 0xff | ) | [static] |
Referenced by CCAENV1x90::GetChannelOffset().
static const unsigned int CHANOFFSETMAX | ( | 0xff | ) | [static] |
Referenced by CCAENV1x90::SetChannelOffset().
static const unsigned int COARSEMASK | ( | 0x7ff | ) | [static] |
Referenced by CCAENV1x90::ReadGlobalOffset().
static const unsigned int COARSEMAX | ( | 0x7ff | ) | [static] |
Referenced by CCAENV1x90::SetGlobalOffset().
static const unsigned int EDGEDETECTIONMASK | ( | 3 | ) | [static] |
Referenced by CCAENV1x90::GetEdgeDetectMode().
static const unsigned int EDGERESOLUTIONMASK | ( | 3 | ) | [static] |
Referenced by CCAENV1x90::InterpretEdgeResolution().
static const unsigned int EXTRAMARGINMASK | ( | 0xfff | ) | [static] |
Referenced by CCAENV1x90::GetExtraSearchMargin().
static string FormatValue | ( | const char * | pFormatString, | |
T | value | |||
) | [inline, static] |
Convert a format string and a single number into an output.
Definition at line 129 of file CCAENV1x90.cpp.
Referenced by CCAENV1x90::GetChipEnables(), CCAENV1x90::SetChannelOffset(), CCAENV1x90::SetExtraSearchMargin(), CCAENV1x90::SetGlobalOffset(), CCAENV1x90::SetRejectMargin(), CCAENV1x90::SetWindowOffset(), and CCAENV1x90::SetWindowWidth().
static const unsigned int GEOMASK | ( | 0x1f | ) | [static] |
Referenced by CCAENV1x90::GetGeographicalID().
static unsigned short HI | ( | unsigned int | nValue | ) | [inline, static] |
Extract HI 1/2 of a longword:.
Definition at line 143 of file CCAENV1x90.cpp.
Referenced by CCAENV1x90::EnableTestMode(), and CCAENV1x90::SetChipEnables().
static const unsigned int LERESOLUTIONMASK | ( | 7 | ) | [static] |
Referenced by CCAENV1x90::InterpretLEResolution().
static unsigned short LO | ( | unsigned int | nValue | ) | [inline, static] |
Extract Low 1/2 of a longword:.
Definition at line 151 of file CCAENV1x90.cpp.
Referenced by CCAENV1x90::EnableTestMode(), and CCAENV1x90::SetChipEnables().
static const unsigned int MATCHMASK | ( | 0xfff | ) | [static] |
Referenced by CCAENV1x90::GetMatchWindow().
static const unsigned int MAXEXTRAMARGIN | ( | 2047 | ) | [static] |
Referenced by CCAENV1x90::SetExtraSearchMargin().
static const unsigned int MAXGEO | ( | 0x1f | ) | [static] |
Referenced by CCAENV1x90::SetGeographicalID().
static const unsigned int MAXMATCHWIDTH | ( | 0xfff | ) | [static] |
Referenced by CCAENV1x90::SetWindowWidth().
static const unsigned int MAXREJECTMARGIN | ( | 2047 | ) | [static] |
Referenced by CCAENV1x90::SetRejectMargin().
static const unsigned int MAXTESTVALUE | ( | 0x7fffff | ) | [static] |
Referenced by CCAENV1x90::EnableTestMode().
static const int MAXWINDOWOFFSET | ( | 40 | ) | [static] |
Referenced by CCAENV1x90::SetWindowOffset().
static const unsigned int MINEXTRAMARGIN | ( | 0 | ) | [static] |
Referenced by CCAENV1x90::SetExtraSearchMargin().
static const unsigned int MINMATCHWIDTH | ( | 1 | ) | [static] |
Referenced by CCAENV1x90::SetWindowWidth().
static const unsigned int MINREJECTMARGIN | ( | 0 | ) | [static] |
Referenced by CCAENV1x90::SetRejectMargin().
static const int MINWINDOWOFFSET | ( | - | 2048 | ) | [static] |
Referenced by CCAENV1x90::SetWindowOffset().
static unsigned long OffsetL | ( | unsigned long | nByteOffset | ) | [inline, static] |
Convert byte offset into long offset.
Definition at line 120 of file CCAENV1x90.cpp.
Referenced by CCAENV1x90::ReadEventFIFO(), CCAENV1x90::ReadPacket(), CCAENV1x90::ReadValid(), and CCAENV1x90::TriggerCount().
static unsigned long OffsetW | ( | unsigned long | nByteOffset | ) | [inline, static] |
Convert byte offset to word offset.
Definition at line 114 of file CCAENV1x90.cpp.
Referenced by CCAENV1x90::BoardProperties(), CCAENV1x90::Clear(), CCAENV1x90::DefineECLOutput(), CCAENV1x90::EventCount(), CCAENV1x90::EventFIFOCount(), CCAENV1x90::EventReset(), CCAENV1x90::GetAlmostFullLevel(), CCAENV1x90::GetECLOutputDefinition(), CCAENV1x90::GetGeographicalID(), CCAENV1x90::isEventFIFOFull(), CCAENV1x90::isEventFIFOReady(), CCAENV1x90::ReadCR(), CCAENV1x90::ReadMicro(), CCAENV1x90::ReadPromLong(), CCAENV1x90::Reset(), CCAENV1x90::SetAlmostFullLevel(), CCAENV1x90::SetGeographicalID(), CCAENV1x90::SR(), CCAENV1x90::Trigger(), CCAENV1x90::ValidBoard(), CCAENV1x90::WaitMicroWrite(), CCAENV1x90::WriteCR(), and CCAENV1x90::WriteMicro().
static const unsigned int PWRESOLUTIONMASK | ( | 0xff00 | ) | [static] |
Referenced by CCAENV1x90::InterpretWidthResolution().
static const unsigned int PWRESOLUTIONRSHIFT | ( | 8 | ) | [static] |
Referenced by CCAENV1x90::InterpretWidthResolution(), and CCAENV1x90::SetPairResolutions().
static const unsigned int REJECTMARGINMASK | ( | 0xfff | ) | [static] |
Referenced by CCAENV1x90::GetRejectMargin().
static const unsigned long RESET_DELAY | ( | 1000 | ) | [static] |
static const unsigned int TAPCONTACTMASK | ( | 0x7 | ) | [static] |
Referenced by CCAENV1x90::GetDelayLineCalibration().
static const unsigned int TAPCONTACTRSHIFT | ( | 3 | ) | [static] |
Referenced by CCAENV1x90::GetDelayLineCalibration().
static const unsigned int TRUEBIT | ( | 1 | ) | [static] |
Referenced by CCAENV1x90::isTDCEncapsulationOn(), and CCAENV1x90::isTriggerTimeSubtracted().
static const unsigned int VERNIERMASK | ( | 0x1f | ) | [static] |
Referenced by CCAENV1x90::ReadGlobalOffset().
static const unsigned int VERNIERMAX | ( | 0x1f | ) | [static] |
Referenced by CCAENV1x90::SetGlobalOffset().
static const int WINDOWOFFSETMASK | ( | 0xfff | ) | [static] |
Referenced by CCAENV1x90::GetWindowOffset().