22 static unsigned long makeAddress(
int position,
unsigned long address)
28 if ( (0 == address % 4) && (address <
CARDSPACE) )
34 throw std::runtime_error(
"invalid dae3 address");
static const unsigned DCTCGLUTSIZE
number of 4 bytes words
static const unsigned DCTPOSLUT
enable POSLUT
static const unsigned DCTTOTCNTSCLE
assert and de-assert to clear total counts register
static const unused_t DCTAC
TCG access control.
static const unsigned DCPOSLUTMASK
all 32bits of poslut is valid
static const unsigned DCFRAMEMEM
frame memory
static const unsigned DCNXMEMWR
static const uint32_t CARDSPACE
space allocated to a card
static const unsigned DCMEMSTART
start address of histogram/run memory
static const unused_t DCDESCR
spectrum size (tmax)
static const unsigned DCPERCNT0
period counter (number of period) lower bits
static const unsigned DCEVNTMD
event mode register
DAE3EnvPeriodPolicy env_t
static const std::string card_type
static const int FIRMVERS
firmware version back end FPGA
static const unsigned DCTOTCNTS
total counts on detector card (32 bits, read only)
static unsigned long cardFromAddress(unsigned long address)
static const unsigned DCNMEMWR
static const unsigned DCOPMODE
static const std::string card_policy_name
static const unsigned DCDIMMAX
max number of DAE1 modules
static const unsigned DCRUNMEMCLEAR
run memory clear
static const unsigned DCPERCNT1
period counter (number of period) higher bits, only 6 bits relevant
static const std::string policy_name
static const unsigned DCPERSIZE0
size of a period in memory in 32 bit words (lower bit)
static const unsigned DCPOSLUT
position look up table
static const unsigned DCTCGTBL
TCG time bin limit.
static const unsigned DCTCGLUT
time channel look up table
static const unsigned DCTDESCR
enable descriptor register
static const unsigned DCTTCGLUT
enable TCGLUT
static const unsigned DCNXFRMR
static const std::string det_card_policy_name
static const unsigned DCTHISCLE
histogram memory clear
static const unsigned DCMUONSTEP
muon step size register (in nanoseconds - 0 means 0.5ns)
static const unsigned DCADDLRR
static const unsigned DAESPECMAX
should be same as ISISCRPT_MAX_DETECTOR
virtual ~DAE3CardPolicy()
static const unsigned DCFCSMD
focus mode register
static const unsigned DCFSDEL0
frame sync delay bits 0-15
static const unsigned DCDESCRX
spectrum size (tmax) for cards with FSDELAY - do not use DCDESCR
static unsigned long makeAddress(int position, unsigned long address)
static const int CRATE_MOD
should be same as DAE2CardPolicy::CRATE_MOD
static unsigned long baseAddress(unsigned long address)
static const unsigned DCPOSLUTSIZE
number of 4 byte words
static const unsigned DCMEMEND
end of histogram/run memory
static const unsigned DCPERSIZE1
size of a period in memory in 32 bit words) (higher bit, 6 bits relevant)
static const unsigned DCFSDEL1
frame sync delay bits 16-17
static const unsigned DCPOSMAX
max number of DAE1 module positions
static const unsigned DCVETOENABLE
veto enable register, 1=enable, bit 16=dim(0), bit 17=dim(1) etc for fifo veto. Others: bit 15 = fram...
static const unsigned DCMAXSPECPOSLUT
max spectrun number POSLUT can refet to (16bits)
static const unsigned DCVETOFLAG
set to 1 if veto occurs, bit 16 = dim(0), bit 17 =dim(1) etc for fifo veto only. Others: bit 15 = fra...