-
Notifications
You must be signed in to change notification settings - Fork 1
/
sampleRegMap.json.txt
62 lines (61 loc) · 1.25 KB
/
sampleRegMap.json.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{ {"name" : "minimal",
"address" : 0x000002,
"access" : "w"
},
{"name" : "maximal",
"address" : 0x000003,
"access" : "r",
"bit_width" : 8,
"lsBit" : 0,
"nelms" : 1,
"egu" : "My Units",
"signed" : "unsigned",
"range_top" : 12,
"range_bottom": 1,
"scale_eqn" : "x",
"desc" : "Every field"
"bits" :
{ "wav_ready" : 0x100,
"bar" : 0x200
}
},
{"name" : "arc_faults",
"bits":
{ "cav1" : 0x0001,
"cav2" : 0x0002,
"cav3" : 0x0004,
"cav4" : 0x0008,
"cav1Mask" : 0x0100,
"cav2Mask" : 0x0200,
"cav3Mask" : 0x0400,
"cav4Mask" : 0x0800
},
"address" : 0xabcdef,
"access" : "rw",
"desc" : "Arc fault bits and mask for half a cryo module"
},
{
"name" : "shift_reg_signal",
"address" : 0x000320,
"access" : "w",
"desc" : "signal FPGA to fill shift register",
},
{
"name" : "shift_reg_first",
"address" : 0x000321,
"access" : "r",
"desc" : "data you get on the first read",
},
{
"name" : "shift_reg_second",
"address" : 0x000321,
"access" : "r",
"desc" : "data you get on the second read",
},
{
"name" : "shift_reg_third",
"address" : 0x000321,
"access" : "r",
"desc" : "data you get on the third read",
}
}