Subversion Repositories FlightCtrl

Rev

Rev 1944 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1944 Rev 1945
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
#define EEPARAM_REVISION        87 // is count up, if paramater stucture has changed (compatibility)
-
 
8
#define EEMIXER_REVISION         1 // is count up, if mixer stucture has changed (compatibility)
7
#define EEPARAM_REVISION        88 // is count up, if paramater stucture has changed (compatibility)
9
 
8
#define EEMIXER_REVISION         1 // is count up, if mixer stucture has changed (compatibility)
10
 
9
 
11
#define EEPROM_ADR_PARAM_BEGIN          0
10
#define EEPROM_ADR_PARAM_BEGIN          0
Line 67... Line 66...
67
#define CFG_SENSITIVE_RC         0x04
66
#define CFG_SENSITIVE_RC                    0x04
68
#define CFG_3_3V_REFERENCE       0x08
67
#define CFG_3_3V_REFERENCE                  0x08
69
#define CFG_NO_RCOFF_BEEPING     0x10
68
#define CFG_NO_RCOFF_BEEPING                    0x10
70
#define CFG_GPS_AID                  0x20
69
#define CFG_GPS_AID                             0x20
71
#define CFG_LEARNABLE_CAREFREE   0x40
70
#define CFG_LEARNABLE_CAREFREE                  0x40
-
 
71
#define CFG_IGNORE_MAG_ERR_AT_STARTUP   0x80
Line 72... Line 72...
72
 
72
 
73
// bit mask for ParamSet.Config0
73
// bit mask for ParamSet.Config0
74
#define CFG0_AIRPRESS_SENSOR            0x01
74
#define CFG0_AIRPRESS_SENSOR            0x01
75
#define CFG0_HEIGHT_SWITCH                      0x02
75
#define CFG0_HEIGHT_SWITCH                      0x02