source: fact/tools/FSC/simple_daq/FSCFormat.h@ 18350

Last change on this file since 18350 was 10894, checked in by neise, 13 years ago
simple daq to talk with FSC ... needs testing
File size: 625 bytes
Line 
1#ifndef FSCFORMAT_H_
2#define FSCFORMAT_H_
3
4typedef struct
5{
6 uint_32t status;
7 uint_32t time_sec;
8 uint_16t time_ms;
9 uint_16t FR_period;
10 uint_16t rref;
11 uint_8t ad7719_readings_sincelast_muxing;
12 uint_8t ad7719_current_channel;
13 uint_32t ad7719_current_reading;
14 uint_8t adc_readings_sincelast_muxing;
15 uint_8t adc_current_channel;
16 uint_32t adc_current_reading;
17 uint_8t reserved[6];
18 uint_8t resistence_en[8];
19 uint_8t voltage_en[10];
20 uint_8t resistence_done[8];
21 uint_8t voltage_done[10];
22 uint_32t resisntace[64];
23 uint_16t voltage[76];
24} __attribute__((__packed__)) FSC_STATUS;
25
26
27#endif //FSCFORMAT_H_
Note: See TracBrowser for help on using the repository browser.