|
struct datastruct{ |
|
1 |
|
|
2 |
|
struct datastruct{ |
3 |
unsigned short header; |
unsigned short header; |
4 |
unsigned short status[5]; |
unsigned short status[5]; |
5 |
unsigned short temp[8]; |
unsigned short temp[8]; |
14 |
unsigned short iCRC; |
unsigned short iCRC; |
15 |
unsigned short tail; |
unsigned short tail; |
16 |
unsigned short CRC; |
unsigned short CRC; |
|
|
|
17 |
}; |
}; |
18 |
|
|
19 |
struct datastruct calibdata; |
struct datastruct calibdata; |
24 |
int fd,i,j,err,found; |
int fd,i,j,err,found; |
25 |
unsigned short buffer[10000]; |
unsigned short buffer[10000]; |
26 |
unsigned short tmp1,tmp2; |
unsigned short tmp1,tmp2; |
27 |
|
|