New BASE release 4 Fork

Dependencies:   mbed QEI DmTftLibrary

Revision:
23:b9d23a2f390e
Parent:
21:ab8027016a2c
diff -r 12c555cade79 -r b9d23a2f390e Peripherals/Eeprom.h
--- a/Peripherals/Eeprom.h	Thu Jan 20 13:26:03 2022 +0000
+++ b/Peripherals/Eeprom.h	Thu Feb 10 09:39:01 2022 +0000
@@ -19,7 +19,7 @@
 #include "Menu.h"
 //#include "DemoApplication.h"
 //#include "sx1280.h"
-
+#include "DmTouchCalibration.h"
 
 /*!
  * \brief Define Buffer indexes for each EepromData for copy and restore
@@ -96,6 +96,27 @@
  */
 #define EEPROM_BUFFER_SIZE                  95
 
+/*!
+ * \brief Available pages in menu.
+ */
+enum MenuPages
+{
+    START_PAGE = 0,
+    PAGE_PING_PONG,
+    PAGE_PER,
+    PAGE_RANGING_MASTER,
+    PAGE_RANGING_SLAVE,
+    PAGE_RANGING_PARAM,
+    PAGE_RADIO_PARAM,
+    PAGE_RADIO_PARAM_FREQ,
+    PAGE_UTILITIES,
+    PAGE_RADIO_TEST,
+    PAGE_SLEEP_MODE,
+    PAGE_STBY_RC_MODE,
+    PAGE_STBY_XOSC_MODE,
+    PAGE_TX_CW,
+    PAGE_CONT_MODULATION
+};
 
 /*!
  * \brief Part of EEPROM to save or restore
@@ -113,6 +134,15 @@
 }EepromDataSet_t;
 
 /*!
+ * \brief TFT calibration structure.
+ */
+typedef struct
+{
+    bool ScreenCalibrated;
+    CalibrationMatrix Calibration;
+}MenuSettings_t;
+
+/*!
  * \brief EepromData structure
  */
 typedef struct