Parent Directory | Revision Log
*** empty log message ***
1 | kusanagi | 1.1 | struct datastruct{ |
2 | |||
3 | unsigned short header; | ||
4 | unsigned short status[5]; | ||
5 | unsigned short temp[8]; | ||
6 | unsigned short DAC[16]; | ||
7 | unsigned short regist[6]; | ||
8 | unsigned short time[8]; | ||
9 | unsigned short n_tr; | ||
10 | unsigned short hitmap_tr[16]; | ||
11 | unsigned short curve1[4096]; | ||
12 | unsigned short curve2[4096]; | ||
13 | unsigned short iCRC; | ||
14 | unsigned short tail; | ||
15 | unsigned short CRC; | ||
16 | |||
17 | }; | ||
18 | |||
19 | struct datastruct calibdata; | ||
20 | |||
21 | //pointer to struct | ||
22 | struct datastruct *calibpointer; | ||
23 | |||
24 | int fd,i,j,err,found; | ||
25 | unsigned short buffer[10000]; | ||
26 | unsigned short tmp1,tmp2; |
ViewVC Help | |
Powered by ViewVC 1.1.23 |