00001
00002
00003
00004
00005
00006
00007 package DisplayGUI;
00008 import java.awt.*;
00013 public interface TimRegisterInfo {
00014
00015 String[] timRegisterNames = {
00016 "(0x00) Signal Enables",
00017 "(0x02) Command & Mode",
00018 "(0x04) Burst Count",
00019 "(0x06) Frequency Select",
00020 "(0x08) Trigger Window",
00021 "(0x0A) Delay",
00022 "(0x0C) Status",
00023 "(0x0E) FIFO Status",
00024 "(0x10) Trigger ID Lo",
00025 "(0x12) Trigger ID Hi",
00026 "(0x14) Trigger BCID",
00027 "(0x16) Trigger Type ID",
00028 "(0x18) Run Enables",
00029 "(0x1A) Sequencer Control",
00030 "(0x1C) Sequencer End",
00031 "(0x1E) RODBusy Mask",
00032 "(0x20) RODBusy Status",
00033 "(0x22) RODBusy Latch",
00034 "(0x24) RODBust Monitor",
00035 "(0x26) TTC Data",
00036 "(0x28) TTC Select",
00037 "(0x2A) TTC BCID",
00038 "(0x2C) TTCrx Control",
00039 "(0x2E) TTC Status",
00040 "(0x30) TIM Output Latch",
00041 "(0x32) TIM ID"
00042 };
00043
00044 boolean[][] isRW = {
00045 {false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00046 {false,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true},
00047 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00048 {true,true,true,true,true,false,false,false,true,true,true,true,true,false,false,false},
00049 {true,true,true,true,true,true,false,false,true,true,true,true,true,true,false,false},
00050 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false},
00051 {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false},
00052 {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false},
00053 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00054 {true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false},
00055 {false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true},
00056 {true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false},
00057 {true,true,true,true,true,true,true,true,true,true,true,false,false,false,true,true},
00058 {true,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true},
00059 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false},
00060 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00061 {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false},
00062 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00063 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00064 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00065 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00066 {true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false},
00067 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00068 {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false},
00069 {true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false},
00070 {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false}
00071
00072 };
00073
00074 String[][] registerContentLabel = {
00075 {"(reserved)",
00076 "Enable internal repetitive trigger",
00077 "Enable internal repetitive ECReset",
00078 "Enable internal repetitive BCReset",
00079 "Enable internal trigger randomizer",
00080 "Enable internal repetitive FEReset",
00081 "Enable trigger window",
00082 "Enable internal busy",
00083 "Enable external clock inputs",
00084 "Enable external trigger inputs",
00085 "Enable external ECReset inputs",
00086 "Enable external BCReset inputs",
00087 "Enable external calibrate inputs",
00088 "Enable external FEReset inputs",
00089 "Enable external Sequencer Go Inputs",
00090 "Enable external Busy inputs"
00091 },
00092 {"(reserved)",
00093 "Single trigger",
00094 "Single ECReset",
00095 "Single BCReset",
00096 "Single Calibrate strobe",
00097 "Single FEReset",
00098 "Single spare command",
00099 "Set Busy",
00100 "Set RodBusy",
00101 "Set BURST mode - disable triggers",
00102 "Start BURST triggers - Int or Ext",
00103 "(reserved)",
00104 "Enable Run Mode",
00105 "Enable Busy set by next trig (TestBusy)",
00106 "Clear TestBusy",
00107 "Overall TIM Reset"
00108 },
00109
00110 {"Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count","Burst Count"},
00111
00112 {"IntTRIGfreq","IntTRIGfreq","IntTRIGfreq","IntTRIGfreq","IntTRIGfreq",
00113 "(reserved)","(reserved)","(reserved)",
00114 "IntFERfreq","IntFERfreq","IntFERfreq","IntFERfreq","IntFERfreq",
00115 "(reserved)","(reserved)","(reserved)"},
00116
00117 {"WinSize","WinSize","WinSize","WinSize","WinSize","WinSize",
00118 "(reserved)","(reserved)",
00119 "WinDelay","WinDelay","WinDelay","WinDelay","WinDelay","WinDelay",
00120 "(reserved)","(reserved)"},
00121
00122 {"TrigDelay","TrigDelay","TrigDelay","TrigDelay","TrigDelay","TrigDelay","TrigDelay","TrigDelay",
00123 "ClkDelay","ClkDelay","ClkDelay","ClkDelay","ClkDelay","ClkDelay",
00124 "(reserved)","(reserved)"},
00125
00126 {"Front Panel Busy input (postenable)",
00127 "Masked ExtBusy Output",
00128 "TIM stopped trigs internally",
00129 "Front Panel Busy output",
00130 "Burst is Active",
00131 "Sequencer Source Running",
00132 "Sequencer Sink Running",
00133 "Front Panel RodBusy output",
00134 "TTC system Clock present",
00135 "Standalone Clock present",
00136 "TTC system operational",
00137 "Standalone operational",
00138 "(reserved)",
00139 "Selected Clock is running",
00140 "Test Busy Triggered",
00141 "Laser Interlock ON"
00142 },
00143
00144 {"Event ID FIFO Count","Event ID FIFO Count","Event ID FIFO Count","Event ID FIFO Count","Event ID FIFO Count","Event ID FIFO Count",
00145 "Event ID Empty Flag",
00146 "Event ID Full Flag",
00147 "Trigger Type FIFO Count","Trigger Type FIFO Count","Trigger Type FIFO Count","Trigger Type FIFO Count","Trigger Type FIFO Count","Trigger Type FIFO Count",
00148 "Trigger Type Empty Flag",
00149 "Trigger Type Full Flag"
00150 },
00151
00152 {"Last Trigger Number Bit 0",
00153 "Last Trigger Number Bit 1",
00154 "Last Trigger Number Bit 2",
00155 "Last Trigger Number Bit 3",
00156 "Last Trigger Number Bit 4",
00157 "Last Trigger Number Bit 5",
00158 "Last Trigger Number Bit 6",
00159 "Last Trigger Number Bit 7",
00160 "Last Trigger Number Bit 8",
00161 "Last Trigger Number Bit 9",
00162 "Last Trigger Number Bit 10",
00163 "Last Trigger Number Bit 11",
00164 "Last Trigger Number Bit 12",
00165 "Last Trigger Number Bit 13",
00166 "Last Trigger Number Bit 14",
00167 "Last Trigger Number Bit 15"},
00168
00169 {"Last Trigger Number Bit 16",
00170 "Last Trigger Number Bit 17",
00171 "Last Trigger Number Bit 18",
00172 "Last Trigger Number Bit 19",
00173 "Last Trigger Number Bit 20",
00174 "Last Trigger Number Bit 21",
00175 "Last Trigger Number Bit 22",
00176 "Last Trigger Number Bit 23",
00177 "ECR Counter","ECR Counter","ECR Counter","ECR Counter","ECR Counter","ECR Counter","ECR Counter","ECR Counter"},
00178
00179 {"BCID","BCID","BCID","BCID","BCID","BCID","BCID","BCID","BCID","BCID","BCID","BCID",
00180 "BCID Offset","BCID Offset","BCID Offset","BCID Offset"},
00181
00182 {"TTID1","TTID1","TTID1","TTID1","TTID1","TTID1","TTID1","TTID1",
00183 "TTID2","TTID2","TTID2","TTID2",
00184 "(reserved)","(reserved)","(reserved)","(reserved)"},
00185
00186 {"Enable TTC clock",
00187 "Enable TTC L1Accept Trig",
00188 "Enable TTC ECReset",
00189 "Enable TTC BCReset",
00190 "Enable TTC Calibrate Strobe",
00191 "Enable TTC FEReset",
00192 "Enable TTC Spare command",
00193 "Enable RodBusy into BusyOut",
00194 "Enable external RodBusy input",
00195 "Enable trig & bunch ID numbers",
00196 "Enable trigger type",
00197 "(reserved)","(reserved)","(reserved)",
00198 "Enable counter ECR",
00199 "Enable counter BCR"},
00200
00201 {"Enable L1Accept Trigger",
00202 "Enable ECReset",
00203 "Enable BCReset",
00204 "Enable Calibrate strobe",
00205 "Enable serialID",
00206 "Enable serialTT",
00207 "Enable FEReset",
00208 "Enable Spare command",
00209 "(reserved)",
00210 "Reset Sequencer",
00211 "Start Sequencer",
00212 "Enable cyclic operation",
00213 "(reserved)",
00214 "Reset Sink",
00215 "Start Sink (and Source)",
00216 "Enable Sink Trigger"},
00217
00218 {"End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address","End/Recycle address",
00219 "(reserved)","(reserved)"},
00220
00221 {"RodBusy Mask slot 5",
00222 "RodBusy Mask slot 6",
00223 "RodBusy Mask slot 7",
00224 "RodBusy Mask slot 8",
00225 "RodBusy Mask slot 9",
00226 "RodBusy Mask slot 10",
00227 "RodBusy Mask slot 11",
00228 "RodBusy Mask slot 12",
00229 "RodBusy Mask slot 14",
00230 "RodBusy Mask slot 15",
00231 "RodBusy Mask slot 16",
00232 "RodBusy Mask slot 17",
00233 "RodBusy Mask slot 18",
00234 "RodBusy Mask slot 19",
00235 "RodBusy Mask slot 20",
00236 "RodBusy Mask slot 21"},
00237
00238 {"RodBusy Status slot 5",
00239 "RodBusy Status slot 6",
00240 "RodBusy Status slot 7",
00241 "RodBusy Status slot 8",
00242 "RodBusy Status slot 9",
00243 "RodBusy Status slot 10",
00244 "RodBusy Status slot 11",
00245 "RodBusy Status slot 12",
00246 "RodBusy Status slot 14",
00247 "RodBusy Status slot 15",
00248 "RodBusy Status slot 16",
00249 "RodBusy Status slot 17",
00250 "RodBusy Status slot 18",
00251 "RodBusy Status slot 19",
00252 "RodBusy Status slot 20",
00253 "RodBusy Status slot 21"},
00254
00255 {"RodBusy Latch slot 5",
00256 "RodBusy Latch slot 6",
00257 "RodBusy Latch slot 7",
00258 "RodBusy Latch slot 8",
00259 "RodBusy Latch slot 9",
00260 "RodBusy Latch slot 10",
00261 "RodBusy Latch slot 11",
00262 "RodBusy Latch slot 12",
00263 "RodBusy Latch slot 14",
00264 "RodBusy Latch slot 15",
00265 "RodBusy Latch slot 16",
00266 "RodBusy Latch slot 17",
00267 "RodBusy Latch slot 18",
00268 "RodBusy Latch slot 19",
00269 "RodBusy Latch slot 20",
00270 "RodBusy Latch slot 21"},
00271
00272 {"RodBusy Monitor slot 5",
00273 "RodBusy Monitor slot 6",
00274 "RodBusy Monitor slot 7",
00275 "RodBusy Monitor slot 8",
00276 "RodBusy Monitor slot 9",
00277 "RodBusy Monitor slot 10",
00278 "RodBusy Monitor slot 11",
00279 "RodBusy Monitor slot 12",
00280 "RodBusy Monitor slot 14",
00281 "RodBusy Monitor slot 15",
00282 "RodBusy Monitor slot 16",
00283 "RodBusy Monitor slot 17",
00284 "RodBusy Monitor slot 18",
00285 "RodBusy Monitor slot 19",
00286 "RodBusy Monitor slot 20",
00287 "RodBusy Monitor slot 21"},
00288
00289 {"Long-format data","Long-format data","Long-format data","Long-format data","Long-format data","Long-format data","Long-format data","Long-format data",
00290 "Sub-address","Sub-address","Sub-address","Sub-address","Sub-address","Sub-address","Sub-address","Sub-address"},
00291
00292 {"Select Data Qualifier","Select Data Qualifier","Select Data Qualifier","Select Data Qualifier",
00293 "(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)"},
00294
00295 {"TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID","TTC Bunch ID",
00296 "(reserved)","(reserved)","(reserved)","(reserved)"},
00297
00298 {"TTCrx Data","TTCrx Data","TTCrx Data","TTCrx Data","TTCrx Data","TTCrx Data","TTCrx Data","TTCrx Data","TTCrxData",
00299 "TTCrx Register number","TTCrx Register number","TTCrx Register number","TTCrx Register number",
00300 "I2C Read","R:Error Status / W:Abort","R:I2C Busy / W:I2C Go"},
00301
00302 {"BCReset","ECReset","FEReset bit system msg",
00303 "Broadcast bit - system msg","Broadcast bit - system msg","Broadcast bit - system msg",
00304 "Calibrate bit - user msg","Broadcast bit - user msg",
00305 "Trigger","Broadcast Strobe - system msg","Broadcast strobe - user msg",
00306 "Long format data strobe","Double/frame error occured",
00307 "Single error occured","TTCrx operating correctly","(reserved)"},
00308
00309 {"L1Accept trigger",
00310 "ECReset",
00311 "BCReset",
00312 "Calibrate strobe",
00313 "SerialID",
00314 "SerialTT",
00315 "FEReset",
00316 "Spare command",
00317 "(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)","(reserved)"},
00318
00319 {"Serial Number","Serial Number","Serial Number","Serial Number","Serial Number","Serial Number","Serial Number","Serial Number",
00320 "Version Number","Version Number","Version Number","Version Number","Version Number","Version Number","Version Number","Version Number"}
00321
00322
00323
00324
00325
00326 };
00327
00328
00329
00330 }