Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#define CAENV673A_IVLR      0x000
#define CAENV673A_BSR       0x002
#define CAENV673A_REQEVR       0x008
#define CAENV673A_CLALLB    0x078
#define CAENV673A_INTSTP    0x088
#define CAENV673A_BEGDLL    0x110
#define CAENV673A_RMRBLK    0x180
#define CAENV673A_RESDLL    0x190
#define CAENV673A_CLRTDC    0x1F0
#define CAENV673A_FIX       0x1FA
#define CAENV673A_MMT       0x1FC
#define CAENV673A_VSR       0x1FE

#define CAENV673A_MCR0      0x012
#define CAENV673A_MCR1      0x016
#define CAENV673A_CRR0      0x01A
#define CAENV673A_CRR1      0x01E
#define CAENV673A_ENR0      0x022
#define CAENV673A_ENR1      0x026
#define CAENV673A_TCR0      0x02A
#define CAENV673A_TCR1      0x02E
#define CAENV673A_MR0L      0x032
#define CAENV673A_MR0H      0x036
#define CAENV673A_MR1L      0x0B2
#define CAENV673A_MR1H      0x0B6
#define CAENV673A_EFR0      0x03A
#define CAENV673A_EFR1      0x0BA

#define CAENV673A_ENR0B0    0x05A
#define CAENV673A_ENR1B0    0x05E
#define CAENV673A_ENR0B1    0x0DA
#define CAENV673A_ENR1B1    0x0DE
#define CAENV673A_ENR0B2    0x15A
#define CAENV673A_ENR1B2    0x15E
#define CAENV673A_ENR0B3    0x1DA
#define CAENV673A_ENR1B3    0x1DE

#define CAENV673A_COR0B0    0x062
#define CAENV673A_COR1B0    0x066
#define CAENV673A_COR0B1    0x0E2
#define CAENV673A_COR1B1    0x0E6
#define CAENV673A_COR0B2    0x162
#define CAENV673A_COR1B2    0x166
#define CAENV673A_COR0B3    0x1E2
#define CAENV673A_COR1B3    0x1E6

#define CAENV673A_CLRCB0      0x06A
#define CAENV673A_CLRCB1      0x06E

#define CAENV673A_PTR0      0x072
#define CAENV673A_PTR1      0x076

#define CAENV673A_CLKCR0    0x092
#define CAENV673A_CLKCR1    0x096

#define CAENV673A_SEQ0    0x104
#define CAENV673A_SEQ1    0x10C

#define CAEN_FIX_CODE 0xFAF5
#define CAENV673A_MMT_VALUE 0x092D

#define VERSION(x) (((x)>>12) & 0xf)
#define SERIAL(x) ((x) & 0xfff)
#define MANUFACTURER(x) (((x)>>10) & 0x3f)
#define MODULE_TYPE(x) ((x) & 0x3ff)

#define VME_D8(x) ( *((unsigned char *) (x)))
#define VME_D16(x) ( *((unsigned short *) (x)))
#define VME_D32(x) ( *((unsigned long *) (x)))