sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EEPROM.h
Go to the documentation of this file.
1 #ifndef EEPROM_H_
2 #define EEPROM_H_
3 
4 void readGlobalSet();
5 bool readEEPROM();
6 void update_constants();
7 void writeGlobalSet(uint8_t b);
8 void writeParams(uint8_t b);
9 void LoadDefaults();
10 void readPLog(void);
11 void writePLog(void);
12 
13 #if defined(GPS)
14 //EEPROM functions for storing and restoring waypoints
15 
16 void storeWP(void); // Stores the WP data in the wp struct in the EEPROM
17 bool recallWP(uint8_t); // Read the given number of WP from the eeprom, supposedly we can use this during flight.
18  // Returns true when reading is successfull and returns false if there were some error (for example checksum)
19 uint8_t getMaxWPNumber(void); // Returns the maximum WP number that can be stored in the EEPROM, calculated from conf and plog sizes, and the eeprom size
20 
21 void loadGPSdefaults(void);
22 void writeGPSconf(void) ;
23 bool recallGPSconf(void);
24 #endif
25 
26 #endif /* EEPROM_H_ */
void writeParams(uint8_t b)
Definition: EEPROM.cpp:76
bool readEEPROM()
Definition: EEPROM.cpp:27
void update_constants()
Definition: EEPROM.cpp:95
void writePLog(void)
int32_t int16_t b
Definition: IMU.cpp:172
void readGlobalSet()
Definition: EEPROM.cpp:19
void writeGlobalSet(uint8_t b)
Definition: EEPROM.cpp:68
void readPLog(void)
void LoadDefaults()
Definition: EEPROM.cpp:146