Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: epochFix
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 98 lines (70 sloc) 2.81 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
//*****************************************************************************
//
// File Name : 'eepromVars.h'
// Title : List of EEProm Variables
// Original Author : Brad Luyster, LVL1 White Star Balloon Project
// Created : 2010.12.2
// Modified : I won't keep up with this
// Target MCU : Atmel AVR series
//
// http://www.whitestarballoon.com/
//
// This code is distributed under the GNU Public License
// which can be found at http://www.gnu.org/licenses/gpl.txt
//
//*****************************************************************************

#ifndef EEPROMVARS_Hf
#define EEPROMVARS_H

#include <avr/eeprom.h>

extern uint8_t EEMEM EEepochStartSeconds;
extern uint8_t EEMEM EEepochStartMinutes;
extern uint8_t EEMEM EEepochStartHours;
extern uint8_t EEMEM EEepochStartDays;

extern uint16_t EEMEM EEballastTargetAltitude;
extern int16_t EEMEM EEballastTargetPositiveVSpeed;
extern int16_t EEMEM EEballastTargetNegativeVSpeed;

extern uint16_t EEMEM EEmaydayAltitude;
extern int16_t EEMEM EEmaydayVSpeed;

extern uint16_t EEMEM EEballastSafetyAltThresh;
extern uint8_t EEMEM EEautoBallastDisable;

extern uint8_t EEMEM EEoverOceanFlag;

extern int8_t EEMEM EEnightTemperatureForecast;
extern uint32_t EEMEM EEsunriseAnticipation;

extern uint16_t EEMEM EEmaxAllowableTXInterval;

extern int8_t EEMEM EEbatteryHeaterSetpoint;

extern uint16_t EEMEM EEdataCollectionInterval; //Var 0x03
extern uint16_t EEMEM EEdataTransmitInterval; //Var 0x04
extern uint16_t EEMEM EEshortDataTransmitInterval;

extern uint16_t EEMEM EEhfDataTransmitInterval;
extern uint8_t EEMEM EEhfRapidTransmit;


extern uint32_t EEMEM EEepochOfLastBatchTransmit;

extern uint16_t EEMEM EEcurrentBatchNumber;
extern uint16_t EEMEM EEbatchSampleStart;
extern uint16_t EEMEM EEbatchSampleEnd;

extern uint16_t EEMEM EEcommPromStart;
extern uint16_t EEMEM EEcommPromEnd;

extern uint8_t EEMEM EEflightComputerResetCount;
extern uint8_t EEMEM EEcommModuleResetCount;

extern uint8_t EEMEM EEflightPhase; //Var 0x05

extern uint32_t EEMEM EEcurrentTelemetryBitmap[3]; //Var 0x06
extern uint16_t EEMEM EEcurrentTelemetryVersion; //Var 0x07

extern uint8_t EEMEM EEEpochLock;

extern uint16_t EEMEM EEhfTimeToTx;
extern uint8_t EEMEM EEhfLenngthToTx;

extern uint32_t EEMEM EEepochOffset;

//THIS IS ALSO DEFINED IN MAIN, REMEMBER TO CHANGE THIS DUMMY
#define VSPEEDSAMPLESDESIRED 20

extern int16_t EEMEM EEvSpeedHolderSamples[VSPEEDSAMPLESDESIRED];

//Needed for BMP085
extern short EEMEM EEBMPac1;
extern short EEMEM EEBMPac2;
extern short EEMEM EEBMPac3;
extern unsigned short EEMEM EEBMPac4;
extern unsigned short EEMEM EEBMPac5;
extern unsigned short EEMEM EEBMPac6;
extern short EEMEM EEBMPb1;
extern short EEMEM EEBMPb2;
extern short EEMEM EEBMPmb;
extern short EEMEM EEBMPmc;
extern short EEMEM EEBMPmd;


#endif
Something went wrong with that request. Please try again.