Rev 2330 | Rev 2342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2330 | Rev 2340 | ||
---|---|---|---|
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 93 // is count up, if paramater stucture has changed (compatibility) |
7 | #define EEPARAM_REVISION 94 // 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 22... | Line 22... | ||
22 | 22 | ||
23 | #define PID_SPEAK_HOTT_CFG 16 // Byte |
23 | #define PID_SPEAK_HOTT_CFG 16 // Byte |
Line 24... | Line 24... | ||
24 | #define PID_HARDWARE_VERSION 17 // Byte |
24 | #define PID_HARDWARE_VERSION 17 // Byte |
25 | 25 | ||
26 | #define EEPROM_ADR_CHANNELS 80 // 80 - 93, 12 bytes + 1 byte crc |
26 | #define EEPROM_ADR_CHANNELS 80 // 80 - 93, 12 bytes + 1 byte crc |
27 | #define EEPROM_ADR_PARAMSET 100 // 100 - 650, 5 * 110 bytes |
27 | #define EEPROM_ADR_PARAMSET 100 // 100 - 725, 5 * 125 bytes |
Line 28... | Line 28... | ||
28 | #define EEPROM_ADR_MIXERTABLE 1000 // 1000 - 1078, 78 bytes |
28 | #define EEPROM_ADR_MIXERTABLE 1000 // 1000 - 1078, 78 bytes |
29 | #define EEPROM_ADR_BLCONFIG 1200 // 1200 - 1296, 12 * 8 bytes |
29 | #define EEPROM_ADR_BLCONFIG 1200 // 1200 - 1296, 12 * 8 bytes |
Line 241... | Line 241... | ||
241 | unsigned char FailSafeTime; |
241 | unsigned char FailSafeTime; |
242 | unsigned char MaxAltitude; |
242 | unsigned char MaxAltitude; |
243 | unsigned char FailsafeChannel; // if the value of this channel is > 100, the MK reports "RC-Lost" |
243 | unsigned char FailsafeChannel; // if the value of this channel is > 100, the MK reports "RC-Lost" |
244 | unsigned char ServoFilterNick; |
244 | unsigned char ServoFilterNick; |
245 | unsigned char ServoFilterRoll; |
245 | unsigned char ServoFilterRoll; |
- | 246 | unsigned char StartLandChannel; |
|
- | 247 | unsigned char LandingSpeed; |
|
246 | //------------------------------------------------ |
248 | //------------------------------------------------ |
247 | unsigned char BitConfig; // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt |
249 | unsigned char BitConfig; // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt |
248 | unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
250 | unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
249 | unsigned char ExtraConfig; // bitcodiert |
251 | unsigned char ExtraConfig; // bitcodiert |
250 | unsigned char GlobalConfig3; // bitcodiert |
252 | unsigned char GlobalConfig3; // bitcodiert |
251 | char Name[12]; |
253 | char Name[12]; |
252 | unsigned char crc; // must be the last byte! |
254 | unsigned char crc; // must be the last byte! |
253 | } paramset_t; |
255 | } paramset_t; // 127 bytes |
Line 254... | Line 256... | ||
254 | 256 | ||
Line 255... | Line 257... | ||
255 | #define PARAMSET_STRUCT_LEN sizeof(paramset_t) |
257 | #define PARAMSET_STRUCT_LEN sizeof(paramset_t) |