/[PAMELA software]/yoda/techmodel/forroutines/anticounter/AC.h
ViewVC logotype

Contents of /yoda/techmodel/forroutines/anticounter/AC.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.0 - (show annotations) (download)
Fri Mar 4 15:54:11 2005 UTC (19 years, 9 months ago) by kusanagi
Branch: MAIN
Changes since 2.3: +0 -0 lines
File MIME type: text/plain
Error proof version.
Implemented all detectors packets plus all the main telemetries packets.
Missing all the Init and Alarm packets.
Disabled CRC control on VarDump, ArrDump, TabDump for CPU debugging needs
(the data formats seems correct even if CRC get wrong)

1 struct calibstruct{
2
3 unsigned short header[2];
4 unsigned short status[5];
5 unsigned short temp[8];
6 unsigned short DAC1[8];
7 unsigned short DAC2[8];
8 unsigned short regist[6];
9 unsigned short time[8];
10 unsigned short n_tr;
11 unsigned short hitmap_tr[16];
12 unsigned short curve1[4096];
13 unsigned short curve2[4096];
14 unsigned short iCRC;
15 unsigned short tail;
16 unsigned short CRC;
17 unsigned short CRCcheck;
18 };
19
20 struct physicsstruct{
21
22 unsigned short header[2];
23 unsigned short status;
24 unsigned short hitmap;
25 unsigned short regist[6];
26 unsigned short shift[16];
27 unsigned short counters[16];
28 unsigned short coinc[8];
29 unsigned short trigg;
30 unsigned short clock[2];
31 unsigned short temp[2];
32 unsigned short DAC[8];
33 unsigned short CRC;
34 unsigned short CRCcheck;
35 };
36
37
38

  ViewVC Help
Powered by ViewVC 1.1.23