Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
60 f9daq 1
#define CAENV673A_IVLR      0x000
2
#define CAENV673A_BSR       0x002
3
#define CAENV673A_REQEVR       0x008
4
#define CAENV673A_CLALLB    0x078
5
#define CAENV673A_INTSTP    0x088
6
#define CAENV673A_BEGDLL    0x110
7
#define CAENV673A_RMRBLK    0x180
8
#define CAENV673A_RESDLL    0x190
9
#define CAENV673A_CLRTDC    0x1F0
10
#define CAENV673A_FIX       0x1FA
11
#define CAENV673A_MMT       0x1FC
12
#define CAENV673A_VSR       0x1FE
13
 
14
#define CAENV673A_MCR0      0x012
15
#define CAENV673A_MCR1      0x016
16
#define CAENV673A_CRR0      0x01A
17
#define CAENV673A_CRR1      0x01E
18
#define CAENV673A_ENR0      0x022
19
#define CAENV673A_ENR1      0x026
20
#define CAENV673A_TCR0      0x02A
21
#define CAENV673A_TCR1      0x02E
22
#define CAENV673A_MR0L      0x032
23
#define CAENV673A_MR0H      0x036
24
#define CAENV673A_MR1L      0x0B2
25
#define CAENV673A_MR1H      0x0B6
26
#define CAENV673A_EFR0      0x03A
27
#define CAENV673A_EFR1      0x0BA
28
 
29
#define CAENV673A_ENR0B0    0x05A
30
#define CAENV673A_ENR1B0    0x05E
31
#define CAENV673A_ENR0B1    0x0DA
32
#define CAENV673A_ENR1B1    0x0DE
33
#define CAENV673A_ENR0B2    0x15A
34
#define CAENV673A_ENR1B2    0x15E
35
#define CAENV673A_ENR0B3    0x1DA
36
#define CAENV673A_ENR1B3    0x1DE
37
 
38
#define CAENV673A_COR0B0    0x062
39
#define CAENV673A_COR1B0    0x066
40
#define CAENV673A_COR0B1    0x0E2
41
#define CAENV673A_COR1B1    0x0E6
42
#define CAENV673A_COR0B2    0x162
43
#define CAENV673A_COR1B2    0x166
44
#define CAENV673A_COR0B3    0x1E2
45
#define CAENV673A_COR1B3    0x1E6
46
 
47
#define CAENV673A_CLRCB0      0x06A
48
#define CAENV673A_CLRCB1      0x06E
49
 
50
#define CAENV673A_PTR0      0x072
51
#define CAENV673A_PTR1      0x076
52
 
53
#define CAENV673A_CLKCR0    0x092
54
#define CAENV673A_CLKCR1    0x096
55
 
56
#define CAENV673A_SEQ0    0x104
57
#define CAENV673A_SEQ1    0x10C
58
 
59
#define CAEN_FIX_CODE 0xFAF5
60
#define CAENV673A_MMT_VALUE 0x092D
61
 
62
#define VERSION(x) (((x)>>12) & 0xf)
63
#define SERIAL(x) ((x) & 0xfff)
64
#define MANUFACTURER(x) (((x)>>10) & 0x3f)
65
#define MODULE_TYPE(x) ((x) & 0x3ff)
66
 
67
#define VME_D8(x) ( *((unsigned char *) (x))) 
68
#define VME_D16(x) ( *((unsigned short *) (x)))
69
#define VME_D32(x) ( *((unsigned long *) (x)))