FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
HeadersSQM.h
Go to the documentation of this file.
1
#ifndef FACT_HeadersSQM
2
#define FACT_HeadersSQM
3
4
namespace
SQM
5
{
6
namespace
State
7
{
8
enum
states_t
9
{
10
kDisconnected
= 1,
11
kConnected
,
12
kInvalid
,
13
kValid
,
14
};
15
};
16
17
struct
Data
18
{
19
float
mag
;
// Magnitude per square arc second (0.00m upper brightness limit)
20
uint32_t
freq
;
// Frequency of sensor in Hz
21
uint32_t
counts
;
// Period of sensor in counts (counts occur at 14.7456MHz/32)
22
float
period
;
// Period of sensor in seconds (millisecond resolution)
23
float
temp
;
// Temperature measured at light sensor in degC
24
}
__attribute__
((__packed__));
25
26
};
27
#endif
SQM::Data::counts
uint32_t counts
Definition:
HeadersSQM.h:21
SQM::State::kConnected
Definition:
HeadersSQM.h:11
SQM
Definition:
HeadersSQM.h:4
SQM::State::kValid
Definition:
HeadersSQM.h:13
SQM::Data::period
float period
Definition:
HeadersSQM.h:22
SQM::Data::mag
float mag
Definition:
HeadersSQM.h:19
SQM::State::__attribute__
enum SQM::State::states_t __attribute__
SQM::State::kDisconnected
Definition:
HeadersSQM.h:10
SQM::Data
Definition:
HeadersSQM.h:17
SQM::State::kInvalid
Definition:
HeadersSQM.h:12
State
Definition:
HeadersFAD.h:57
SQM::State::states_t
states_t
Definition:
HeadersSQM.h:8
SQM::Data::temp
float temp
Definition:
HeadersSQM.h:23
SQM::Data::freq
uint32_t freq
Definition:
HeadersSQM.h:20
src
HeadersSQM.h
Generated on Sun Sep 18 2016 20:50:25 for FACT++ by
1.8.11