Subversion Repositories FlightCtrl

Rev

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

Rev 1685 Rev 1760
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        84 // is count up, if paramater stucture has changed (compatibility)
7
#define EEPARAM_REVISION        85 // 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)
Line 18... Line 18...
18
#define PID_ACC_TOP                     8 // word
18
#define PID_ACC_TOP                     8 // word
Line 19... Line 19...
19
 
19
 
20
#define PID_FLIGHT_MINUTES_TOTAL        10 // word
20
#define PID_FLIGHT_MINUTES_TOTAL        10 // word
Line 21... Line -...
21
#define PID_FLIGHT_MINUTES                      14 // word
-
 
22
 
21
#define PID_FLIGHT_MINUTES                      14 // word
23
 
22
 
24
#define EEPROM_ADR_CHANNELS                     80      // 80 - 93, 12 bytes + 1 byte crc
23
#define EEPROM_ADR_CHANNELS                     80      // 80 - 93, 12 bytes + 1 byte crc
25
#define EEPROM_ADR_PARAMSET                     100 // 100 - 650, 5 * 110 bytes
24
#define EEPROM_ADR_PARAMSET                     100 // 100 - 650, 5 * 110 bytes
Line 154... Line 153...
154
        unsigned char ServoRollComp;          // Wert : 0-250
153
        unsigned char ServoRollComp;          // Wert : 0-250
155
        unsigned char ServoRollMin;           // Wert : 0-250
154
        unsigned char ServoRollMin;           // Wert : 0-250
156
        unsigned char ServoRollMax;           // Wert : 0-250
155
        unsigned char ServoRollMax;           // Wert : 0-250
157
        //---
156
        //---
158
        unsigned char ServoNickRefresh;       // Speed of the Servo
157
        unsigned char ServoNickRefresh;       // Speed of the Servo
-
 
158
    unsigned char ServoManualControlSpeed;//   
-
 
159
    unsigned char CamOrientation;         //   
159
        unsigned char Servo3;                    // Value or mapping of the Servo Output
160
        unsigned char Servo3;                    // Value or mapping of the Servo Output
160
        unsigned char Servo4;                            // Value or mapping of the Servo Output
161
        unsigned char Servo4;                            // Value or mapping of the Servo Output
161
        unsigned char Servo5;                            // Value or mapping of the Servo Output
162
        unsigned char Servo5;                            // Value or mapping of the Servo Output
162
        unsigned char LoopGasLimit;           // Wert: 0-250  max. Gas während Looping
163
        unsigned char LoopGasLimit;           // Wert: 0-250  max. Gas während Looping
163
        unsigned char LoopThreshold;          // Wert: 0-250  Schwelle für Stickausschlag
164
        unsigned char LoopThreshold;          // Wert: 0-250  Schwelle für Stickausschlag
Line 202... Line 203...
202
        //---Ext.Ctrl---------------------------------------------
203
        //---Ext.Ctrl---------------------------------------------
203
        unsigned char ExternalControl;         // for serial Control
204
        unsigned char ExternalControl;         // for serial Control
204
        //---CareFree---------------------------------------------
205
        //---CareFree---------------------------------------------
205
        unsigned char OrientationAngle;        // Where is the front-direction?
206
        unsigned char OrientationAngle;        // Where is the front-direction?
206
        unsigned char OrientationModeControl;  // switch for CareFree     
207
        unsigned char OrientationModeControl;  // switch for CareFree     
-
 
208
    unsigned char MotorSafetySwitch;    
207
        //------------------------------------------------
209
        //------------------------------------------------
208
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
210
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
209
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll   0 oder 1  // WICHTIG!!! am Ende lassen
211
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll   0 oder 1  // WICHTIG!!! am Ende lassen
210
        unsigned char ExtraConfig;        // bitcodiert
212
        unsigned char ExtraConfig;        // bitcodiert
211
        char Name[12];
213
        char Name[12];