StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rdo_cmds.h
1 #ifndef _RDO_CMDS_H_
2 #define _RDO_CMDS_H_
3 
4 
5 
6 // the major parts (upper 4 bits)
7 #define MAJ_SET 0
8 #define MAJ_GET 1
9 #define MAJ_READ 2
10 #define MAJ_WRITE 3
11 #define MAJ_RUN 4
12 #define MAJ_TEST 5
13 #define MAJ_CONFIG 6
14 #define MAJ_MISC 7
15 
16 // minor parts (lower 8 bits)
17 // set/get
18 #define MIN_ALTRO_START 0
19 #define ALTRO_K1 0x00
20 #define ALTRO_K2 0x01
21 #define ALTRO_K3 0x02
22 #define ALTRO_L1 0x03
23 #define ALTRO_L2 0x04
24 #define ALTRO_L3 0x05
25 #define ALTRO_VFPED 0x06
26 #define ALTRO_PMDTA 0x07
27 #define ALTRO_ZSTHR 0x08
28 #define ALTRO_BCTHR 0x09
29 #define ALTRO_TRCFG 0x0a
30 #define ALTRO_DPCFG 0x0b
31 #define ALTRO_DPCF2 0x0c
32 #define ALTRO_PMADD 0x0d
33 #define ALTRO_ERSTR 0x10
34 #define ALTRO_ADEVL 0x11
35 #define ALTRO_TRCNT 0x12
36 #define ALTRO_WPINC 0x18
37 #define ALTRO_RPINC 0x19
38 #define ALTRO_CHRDO 0x1a
39 #define ALTRO_SWTRG 0x1b
40 #define ALTRO_TRCLR 0x1c
41 #define ALTRO_ERCLR 0x1d
42 #define MIN_ALTRO_STOP 31
43 #define MIN_ID 32
44 #define MIN_RECONFIG 33
45 #define MIN_RUN_TYPE 34
46 
47 // read/write
48 #define MIN_LOG 0
49 #define MIN_PED 1
50 #define MIN_MON 2
51 #define MIN_EXEC 3
52 #define MIN_FLASH 4
53 #define MIN_ANY 5
54 #define MIN_CONFIG 6
55 #define MIN_FLASH_ALT 0x30
56 #define MIN_FLASH_BOB 0x31
57 #define MIN_FLASH_FEE 0x32
58 
59 // run
60 #define MIN_START 0
61 #define MIN_STOP 1
62 
63 // test
64 #define MIN_TRG 0
65 #define MIN_TEST_RDO 1
66 
67 // config
68 #define MIN_EVTS 0
69 #define MIN_TIME 1
70 #define MIN_RDO 2
71 
72 // misc
73 #define MIN_REINIT_LINK 0
74 
75 
76 
77 #endif