Subversion Repositories FlightCtrl

Rev

Rev 2340 | Rev 2344 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2340 Rev 2342
Line 2... Line 2...
2
#define _EEPROM_H
2
#define _EEPROM_H
Line 3... Line 3...
3
 
3
 
4
#include <inttypes.h>
4
#include <inttypes.h>
Line 5... Line 5...
5
#include "twimaster.h"
5
#include "twimaster.h"
6
 
6
 
Line 7... Line 7...
7
#define EEPARAM_REVISION         94 // is count up, if paramater stucture has changed (compatibility)
7
#define EEPARAM_REVISION         95 // is count up, if paramater stucture has changed (compatibility)
8
#define EEMIXER_REVISION         1  // is count up, if mixer stucture has changed (compatibility)
8
#define EEMIXER_REVISION         1  // is count up, if mixer stucture has changed (compatibility)
9
 
9
 
Line 142... Line 142...
142
        unsigned char Revision;
142
        unsigned char Revision;
143
        unsigned char Kanalbelegung[12];       // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
143
        unsigned char Kanalbelegung[12];       // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
144
        unsigned char GlobalConfig;           // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
144
        unsigned char GlobalConfig;           // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
145
        unsigned char Hoehe_MinGas;           // Wert : 0-100
145
        unsigned char Hoehe_MinGas;           // Wert : 0-100
146
        unsigned char Luftdruck_D;            // Wert : 0-250
146
        unsigned char Luftdruck_D;            // Wert : 0-250
147
        unsigned char MaxHoehe;               // Wert : 0-32
147
        unsigned char HoeheChannel;           // Wert : 0-32
148
        unsigned char Hoehe_P;                // Wert : 0-32
148
        unsigned char Hoehe_P;                // Wert : 0-32
149
        unsigned char Hoehe_Verstaerkung;     // Wert : 0-50
149
        unsigned char Hoehe_Verstaerkung;     // Wert : 0-50
150
        unsigned char Hoehe_ACC_Wirkung;      // Wert : 0-250
150
        unsigned char Hoehe_ACC_Wirkung;      // Wert : 0-250
151
        unsigned char Hoehe_HoverBand;        // Wert : 0-250
151
        unsigned char Hoehe_HoverBand;        // Wert : 0-250
152
        unsigned char Hoehe_GPS_Z;            // Wert : 0-250
152
        unsigned char Hoehe_GPS_Z;            // Wert : 0-250
Line 212... Line 212...
212
        // seit version V0.75c
212
        // seit version V0.75c
213
        unsigned char WARN_J16_Bitmask;       // for the J16 Output
213
        unsigned char WARN_J16_Bitmask;       // for the J16 Output
214
        unsigned char WARN_J17_Bitmask;       // for the J17 Output
214
        unsigned char WARN_J17_Bitmask;       // for the J17 Output
215
        //---NaviCtrl---------------------------------------------
215
        //---NaviCtrl---------------------------------------------
216
        unsigned char NaviOut1Parameter;      // for the J16 Output
216
        unsigned char NaviOut1Parameter;      // for the J16 Output
217
        unsigned char NaviGpsModeControl;     // Parameters for the Naviboard
217
        unsigned char NaviGpsModeChannel;     // Parameters for the Naviboard
218
        unsigned char NaviGpsGain;
218
        unsigned char NaviGpsGain;
219
        unsigned char NaviGpsP;
219
        unsigned char NaviGpsP;
220
        unsigned char NaviGpsI;
220
        unsigned char NaviGpsI;
221
        unsigned char NaviGpsD;
221
        unsigned char NaviGpsD;
222
        unsigned char NaviGpsPLimit;
222
        unsigned char NaviGpsPLimit;
Line 232... Line 232...
232
        unsigned char NaviPH_LoginTime;
232
        unsigned char NaviPH_LoginTime;
233
        //---Ext.Ctrl---------------------------------------------
233
        //---Ext.Ctrl---------------------------------------------
234
        unsigned char ExternalControl;         // for serial Control
234
        unsigned char ExternalControl;         // for serial Control
235
        //---CareFree---------------------------------------------
235
        //---CareFree---------------------------------------------
236
        unsigned char OrientationAngle;        // Where is the front-direction?
236
        unsigned char OrientationAngle;        // Where is the front-direction?
237
        unsigned char CareFreeModeControl;         // switch for CareFree
237
        unsigned char CareFreeChannel;     // switch for CareFree
238
    unsigned char MotorSafetySwitch;
238
    unsigned char MotorSafetySwitch;
239
    unsigned char MotorSmooth;
239
    unsigned char MotorSmooth;
240
    unsigned char ComingHomeAltitude;
240
    unsigned char ComingHomeAltitude;
241
    unsigned char FailSafeTime;
241
    unsigned char FailSafeTime;
242
    unsigned char MaxAltitude;
242
    unsigned char MaxAltitude;