FACT++  1.0
HeadersFSC.h
Go to the documentation of this file.
1 #ifndef FACT_HeadersFSC
2 #define FACT_HeadersFSC
3 
4 namespace FSC
5 {
6  namespace State
7  {
8  enum states_t
9  {
12  };
13  }
14 
15  enum {
20  };
21 
22 
24  {
32 
40 
41  uint8_t ad7719_measured_all; // treat it as a bool
42  uint8_t adc_measured_all; // treat it as a bool
43 
45  uint32_t time_sec;
46  uint16_t time_ms;
47  } __attribute__((__packed__));
48 }
49 
50 #endif
51 
uint16_t adc_values[kNumVoltageChannels]
Definition: HeadersFSC.h:385
Definition: HeadersFSC.h:4
uint8_t ad7719_measured_all
Definition: HeadersFSC.h:41
uint8_t adc_current_channel
Definition: HeadersFSC.h:34
uint32_t ad7719_values[kNumResistanceChannels]
Definition: HeadersFSC.h:377
uint8_t ad7719_current_channel
Definition: HeadersFSC.h:26
uint32_t ad7719_current_reading
Definition: HeadersFSC.h:27
uint8_t ad7719_enables[kNumResistanceRegs]
Definition: HeadersFSC.h:375
uint8_t ad7719_channels_ready[kNumResistanceRegs]
Definition: HeadersFSC.h:376
uint8_t app_reset_source
Definition: HeadersFSC.h:44
uint8_t adc_readings_since_last_muxing
Definition: HeadersFSC.h:33
enum FSC::State::states_t __attribute__
uint8_t ad7719_readings_since_last_muxing
Definition: HeadersFSC.h:25
uint8_t adc_enables[kNumVoltageRegs]
Definition: HeadersFSC.h:383
uint16_t adc_current_reading
Definition: HeadersFSC.h:35
uint8_t adc_measured_all
Definition: HeadersFSC.h:42
uint16_t adc_values_checksum
Definition: HeadersFSC.h:39
uint8_t adc_channels_ready[kNumVoltageRegs]
Definition: HeadersFSC.h:384
uint16_t ad7719_values_checksum
Definition: HeadersFSC.h:31