Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 98 lines (70 sloc) 2.81 kB
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
1 //*****************************************************************************
2 //
3 // File Name : 'eepromVars.h'
4 // Title : List of EEProm Variables
5 // Original Author : Brad Luyster, LVL1 White Star Balloon Project
6 // Created : 2010.12.2
7 // Modified : I won't keep up with this
8 // Target MCU : Atmel AVR series
9 //
10 // http://www.whitestarballoon.com/
11 //
12 // This code is distributed under the GNU Public License
13 // which can be found at http://www.gnu.org/licenses/gpl.txt
14 //
15 //*****************************************************************************
16
b834737 @Zuph Cleaning up code.
Zuph authored
17 #ifndef EEPROMVARS_Hf
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
18 #define EEPROMVARS_H
19
20 #include <avr/eeprom.h>
21
b834737 @Zuph Cleaning up code.
Zuph authored
22 extern uint8_t EEMEM EEepochStartSeconds;
23 extern uint8_t EEMEM EEepochStartMinutes;
24 extern uint8_t EEMEM EEepochStartHours;
25 extern uint8_t EEMEM EEepochStartDays;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
26
b834737 @Zuph Cleaning up code.
Zuph authored
27 extern uint16_t EEMEM EEballastTargetAltitude;
28 extern int16_t EEMEM EEballastTargetPositiveVSpeed;
29 extern int16_t EEMEM EEballastTargetNegativeVSpeed;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
30
b834737 @Zuph Cleaning up code.
Zuph authored
31 extern uint16_t EEMEM EEmaydayAltitude;
32 extern int16_t EEMEM EEmaydayVSpeed;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
33
b834737 @Zuph Cleaning up code.
Zuph authored
34 extern uint16_t EEMEM EEballastSafetyAltThresh;
35 extern uint8_t EEMEM EEautoBallastDisable;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
36
b834737 @Zuph Cleaning up code.
Zuph authored
37 extern uint8_t EEMEM EEoverOceanFlag;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
38
b834737 @Zuph Cleaning up code.
Zuph authored
39 extern int8_t EEMEM EEnightTemperatureForecast;
40 extern uint32_t EEMEM EEsunriseAnticipation;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
41
b834737 @Zuph Cleaning up code.
Zuph authored
42 extern uint16_t EEMEM EEmaxAllowableTXInterval;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
43
b834737 @Zuph Cleaning up code.
Zuph authored
44 extern int8_t EEMEM EEbatteryHeaterSetpoint;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
45
b834737 @Zuph Cleaning up code.
Zuph authored
46 extern uint16_t EEMEM EEdataCollectionInterval; //Var 0x03
47 extern uint16_t EEMEM EEdataTransmitInterval; //Var 0x04
48 extern uint16_t EEMEM EEshortDataTransmitInterval;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
49
b834737 @Zuph Cleaning up code.
Zuph authored
50 extern uint16_t EEMEM EEhfDataTransmitInterval;
51 extern uint8_t EEMEM EEhfRapidTransmit;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
52
176811c @Zuph Sending long and short messages
Zuph authored
53
b834737 @Zuph Cleaning up code.
Zuph authored
54 extern uint32_t EEMEM EEepochOfLastBatchTransmit;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
55
b834737 @Zuph Cleaning up code.
Zuph authored
56 extern uint16_t EEMEM EEcurrentBatchNumber;
57 extern uint16_t EEMEM EEbatchSampleStart;
58 extern uint16_t EEMEM EEbatchSampleEnd;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
59
b834737 @Zuph Cleaning up code.
Zuph authored
60 extern uint16_t EEMEM EEcommPromStart;
61 extern uint16_t EEMEM EEcommPromEnd;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
62
b834737 @Zuph Cleaning up code.
Zuph authored
63 extern uint8_t EEMEM EEflightComputerResetCount;
64 extern uint8_t EEMEM EEcommModuleResetCount;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
65
b834737 @Zuph Cleaning up code.
Zuph authored
66 extern uint8_t EEMEM EEflightPhase; //Var 0x05
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
67
b834737 @Zuph Cleaning up code.
Zuph authored
68 extern uint32_t EEMEM EEcurrentTelemetryBitmap[3]; //Var 0x06
69 extern uint16_t EEMEM EEcurrentTelemetryVersion; //Var 0x07
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
70
b834737 @Zuph Cleaning up code.
Zuph authored
71 extern uint8_t EEMEM EEEpochLock;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
72
b834737 @Zuph Cleaning up code.
Zuph authored
73 extern uint16_t EEMEM EEhfTimeToTx;
74 extern uint8_t EEMEM EEhfLenngthToTx;
3b79874 @Zuph Almost flight ready, I've been negligent in updating.
Zuph authored
75
b834737 @Zuph Cleaning up code.
Zuph authored
76 extern uint32_t EEMEM EEepochOffset;
411e088 @Zuph Fixed issues with Epoch going zany if power lost for a while
Zuph authored
77
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
78 //THIS IS ALSO DEFINED IN MAIN, REMEMBER TO CHANGE THIS DUMMY
79 #define VSPEEDSAMPLESDESIRED 20
80
b834737 @Zuph Cleaning up code.
Zuph authored
81 extern int16_t EEMEM EEvSpeedHolderSamples[VSPEEDSAMPLESDESIRED];
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
82
83 //Needed for BMP085
b834737 @Zuph Cleaning up code.
Zuph authored
84 extern short EEMEM EEBMPac1;
85 extern short EEMEM EEBMPac2;
86 extern short EEMEM EEBMPac3;
87 extern unsigned short EEMEM EEBMPac4;
88 extern unsigned short EEMEM EEBMPac5;
89 extern unsigned short EEMEM EEBMPac6;
90 extern short EEMEM EEBMPb1;
91 extern short EEMEM EEBMPb2;
92 extern short EEMEM EEBMPmb;
93 extern short EEMEM EEBMPmc;
94 extern short EEMEM EEBMPmd;
d74996f @Zuph first git update in too long, lots of bug fixes
Zuph authored
95
96
97 #endif
Something went wrong with that request. Please try again.