38
+ − 1 ///////////////////////////////////////////////////////////////////////////////
+ − 2 /// -*- coding: UTF-8 -*-
+ − 3 ///
+ − 4 /// \file Discovery/Inc/tStructure.h
+ − 5 /// \brief Header file for All
+ − 6 /// \author heinrichs weikamp gmbh
+ − 7 /// \date 04-July-2014
+ − 8 ///
+ − 9 /// $Id$
+ − 10 ///////////////////////////////////////////////////////////////////////////////
+ − 11 /// \par Copyright (c) 2014-2018 Heinrichs Weikamp gmbh
+ − 12 ///
+ − 13 /// This program is free software: you can redistribute it and/or modify
+ − 14 /// it under the terms of the GNU General Public License as published by
+ − 15 /// the Free Software Foundation, either version 3 of the License, or
+ − 16 /// (at your option) any later version.
+ − 17 ///
+ − 18 /// This program is distributed in the hope that it will be useful,
+ − 19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
+ − 20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ − 21 /// GNU General Public License for more details.
+ − 22 ///
+ − 23 /// You should have received a copy of the GNU General Public License
+ − 24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
+ − 25 //////////////////////////////////////////////////////////////////////////////
+ − 26
+ − 27 /* Define to prevent recursive inclusion -------------------------------------*/
+ − 28 #ifndef TSTRUCTURE_H
+ − 29 #define TSTRUCTURE_H
+ − 30
+ − 31 #ifdef __cplusplus
+ − 32 extern "C" {
+ − 33 #endif
+ − 34
+ − 35 /* Includes ------------------------------------------------------------------*/
+ − 36 #include "stdint.h"
+ − 37
+ − 38 /** @addtogroup Template
+ − 39 * @{
+ − 40 */
+ − 41
+ − 42
+ − 43 #ifdef __cplusplus
+ − 44 }
+ − 45 #endif
+ − 46
+ − 47 #define _MB(base,menuPage,menuLine,menuEditField,menuEditWhichMode) ((base << 28) + (menuPage << 24) + (menuLine << 16) + (menuEditField << 8) + menuEditWhichMode)
+ − 48
+ − 49 #define BaseInfo 0
+ − 50 #define BaseHome 1
+ − 51 #define BaseMenu 2
+ − 52 #define BaseComm 3
+ − 53 #define BaseStop 6
+ − 54 #define BaseBoot 7
+ − 55
+ − 56 #define PageDebug 0
+ − 57 #define PageSurface 1
+ − 58 #define PageDive 2
+ − 59
+ − 60 #define MaskLineFieldDigit _MB(7,15,0,0,0)
718
+ − 61 #define MaskFieldDigit _MB(7,15,255,0,0)
+ − 62 #define MaskAllButLine _MB(0,0,255,0,0)
+ − 63 #define MaskLineDigit _MB(7,15,0,255,0)
38
+ − 64 #define InfoPageLogList 2
+ − 65 #define InfoPageLogShow 3
+ − 66 #define InfoPageCompass 6
718
+ − 67 #define InfoPageSensor 8
845
+ − 68 #define InfoPagePreDive 9
38
+ − 69
718
+ − 70 #define StI _MB(0,1,0,0,0)
+ − 71 #define StILOGLIST _MB(0,2,0,0,0)
+ − 72 #define StILOGSHOW _MB(0,3,0,0,0)
38
+ − 73 #define StIDIVE _MB(0,4,0,0,0)
+ − 74 #define StISIM _MB(0,5,0,0,0)
718
+ − 75 #define StICOMPASS _MB(0,6,0,0,0)
38
+ − 76 #define StIDEBUG _MB(0,7,0,0,0)
718
+ − 77 #define StISENINFO _MB(0,8,0,0,0)
845
+ − 78 #define StIPREDIVE _MB(0,9,0,0,0)
38
+ − 79
+ − 80 #define StI_GoToLogbook _MB(0,1,1,0,0)
+ − 81 #define StI_GoToPlanner _MB(0,1,2,0,0)
+ − 82 #define StI_StartSimulator _MB(0,1,3,0,0)
+ − 83
+ − 84 #define StISIM_Descend _MB(0,5,1,0,0)
+ − 85 #define StISIM_Ascend _MB(0,5,2,0,0)
+ − 86 #define StISIM_Divetime _MB(0,5,3,0,0)
+ − 87 #define StISIM_Exit _MB(0,5,4,0,0)
+ − 88 #define StISIM_FollowDeco _MB(0,5,5,0,0)
+ − 89
+ − 90
+ − 91 #define StDEBUG _MB(1,0,0,0,0)
+ − 92 #define StS _MB(1,1,0,0,0)
+ − 93 #define StD _MB(1,2,0,0,0)
+ − 94 #define StDMGAS _MB(1,2,1,0,0)
+ − 95 #define StDMSPT _MB(1,2,2,0,0)
+ − 96 #define StDMENU _MB(1,2,3,0,0)
+ − 97 #define StDSIM1 _MB(1,2,4,0,0)
+ − 98 #define StDSIM2 _MB(1,2,5,0,0)
+ − 99 #define StDSIM3 _MB(1,2,6,0,0)
+ − 100 #define StDSIM4 _MB(1,2,7,0,0)
+ − 101 #define StDBEAR _MB(1,2,8,0,0)
+ − 102 #define StDRAVG _MB(1,2,9,0,0)
+ − 103 #define StDQUIT _MB(1,2,10,0,0)
614
+ − 104 #define StDMARK _MB(1,2,11,0,0)
619
+ − 105 #define StDCHECK _MB(1,2,12,0,0)
633
+ − 106 #define StDSIM5 _MB(1,2,13,0,0)
+ − 107 #define StDSIM6 _MB(1,2,14,0,0)
773
2c243233c999
Menu shortcut for bailout / return to circuit when diving in CCR mode (mikeller)
heinrichsweikamp
diff
changeset
+ − 108 #define StDBAILOUT _MB(1,2,15,0,0)
775
46c6d2380d4e
Add a shortcuts to change the setpoint to the loop to the 'normal' display when diving. It is only shown when diving in CCR mode and on the loop.
heinrichsweikamp
diff
changeset
+ − 109 #define StDSETPOINT _MB(1,2,16,0,0)
38
+ − 110
+ − 111 #define StUART_STANDARD _MB(3,1,0,0,0)
+ − 112 #define StUART_RTECONNECT _MB(3,2,0,0,0)
+ − 113
+ − 114 #define StStop _MB(6,0,0,0,0)
+ − 115 #define StBoot0 _MB(7,0,0,0,0)
+ − 116
+ − 117 /* globalState defines in which visible range the cursor can move */
+ − 118 /* position of the cursor does not affect globalState */
+ − 119 /* next page is a different globalState */
+ − 120 /* next line, field or digit is not a different state */
+ − 121 /* digit is empty at the moment and be reused for future features */
+ − 122
+ − 123 /* PAGE 1 */
+ − 124 #define StMOG _MB(2,1,0,0,0)
+ − 125
+ − 126 /* PAGE 1 MENU EDIT */
+ − 127
+ − 128 /* PAGE 1 EDIT FIELD CONTENT */
+ − 129 /* used for PAGE 2 AS WELL */
+ − 130 #define StMOG_Mix _MB(2,1,255,1,0)
+ − 131 #define StMOG_GasType _MB(2,1,255,2,0)
+ − 132 #define StMOG_ChangeDepth _MB(2,1,255,3,0)
+ − 133 #define StMOG_SetToMOD _MB(2,1,255,4,0)
832
+ − 134 #define StMOG_CalcDeco _MB(2,1,255,5,0)
+ − 135 /* #define StMOG_Bottle _MB(2,1,255,5,0) */
38
+ − 136
526
+ − 137 #define StMOG_MOD _MB(2,1,255,9,0)
38
+ − 138
+ − 139 #define StMOG_First _MB(2,1,255,21,0)
+ − 140 #define StMOG_Deco _MB(2,1,255,22,0)
+ − 141 #define StMOG_Travel _MB(2,1,255,23,0)
526
+ − 142 #define StMOG_Inactive _MB(2,1,255,24,0)
+ − 143 #define StMOG_Off _MB(2,1,255,25,0)
38
+ − 144
+ − 145 #define StMOG_NoTransmitter _MB(2,1,255,30,0)
+ − 146 #define StMOG_Transmitter1 _MB(2,1,255,31,0)
+ − 147 #define StMOG_Transmitter2 _MB(2,1,255,32,0)
+ − 148 #define StMOG_Transmitter3 _MB(2,1,255,33,0)
+ − 149 #define StMOG_Transmitter4 _MB(2,1,255,34,0)
+ − 150 #define StMOG_Transmitter5 _MB(2,1,255,35,0)
+ − 151 //#define StMOG_Transmitter6 _MB(2,1,255,36,0)
+ − 152 //#define StMOG_Transmitter7 _MB(2,1,255,37,0)
+ − 153 //#define StMOG_Transmitter8 _MB(2,1,255,38,0)
+ − 154 //#define StMOG_Transmitter9 _MB(2,1,255,39,0)
+ − 155
+ − 156 #define StMOG_DM_ActiveBase _MB(2,1,6,255,0)
+ − 157 #define StMOG_DM_ExtraMix _MB(2,1,6,6,0)
+ − 158 /*
+ − 159 #define StMOG_DM_Active1 _MB(2,1,6,255,1)
+ − 160 #define StMOG_DM_Active2 _MB(2,1,6,255,2)
+ − 161 #define StMOG_DM_Active3 _MB(2,1,6,255,3)
+ − 162 #define StMOG_DM_Active4 _MB(2,1,6,255,4)
+ − 163 #define StMOG_DM_Active5 _MB(2,1,6,255,5)
+ − 164 #define StMOG_DM_Active6 _MB(2,1,6,255,6)
+ − 165 #define StMOG_DM_Active7 _MB(2,1,6,255,7)
+ − 166 #define StMOG_DM_Active8 _MB(2,1,6,1,8)
+ − 167 #define StMOG_DM_Active9 _MB(2,1,6,1,9)
+ − 168 #define StMOG_DM_Active10 _MB(2,1,6,1,10)
+ − 169 */
+ − 170
+ − 171 /*
+ − 172 #define StMOG_Depth _MB(2,1,255, 2,0)
+ − 173 #define StMOG_DefaultDepth _MB(2,1,255, 4,0)
+ − 174 #define StMOG_Reset _MB(2,1,255, 5,0)
+ − 175 #define StMOG_ToggleDefault _MB(2,1,255, 6,0)
+ − 176 #define StMOG_SensorLink _MB(2,1,255, 9,0)
+ − 177 #define StMOG_Size _MB(2,1,255,10,0)
+ − 178 */
+ − 179
+ − 180 /* PAGE 2 */
+ − 181 #define StMCG _MB(2,2,0,0,0)
+ − 182 /* PAGE 3 */
+ − 183 #define StMSP _MB(2,3,0,0,0)
+ − 184
+ − 185 /* PAGE 3 EDIT FIELD CONTENT */
811
+ − 186 #define StMSP_SPLow _MB(2,3,1,0,0)
+ − 187 #define StMSP_SPHigh _MB(2,3,2,0,0)
+ − 188 #define StMSP_SPDeco _MB(2,3,3,0,0)
+ − 189 #define StMSP_Blank _MB(2,3,4,0,0)
+ − 190 #define StMSP_DelayDeco _MB(2,3,5,0,0)
+ − 191 #define StMSP_Auto _MB(2,3,6,0,0)
+ − 192
38
+ − 193 #define StMSP_ppo2_setting _MB(2,3,255,1,0)
+ − 194 #define StMSP_Active _MB(2,3,255,3,0)
788
4abfb8a2a435
Define explicit setpoints for low / high / deco. Add an option to delay the switch to SPlow until all decompression has been cleared. (mikeller)
heinrichsweikamp
diff
changeset
+ − 195
38
+ − 196 #define StMSP_Sensor1 _MB(2,3,255,6,0)
+ − 197 #define StMSP_Sensor2 _MB(2,3,255,7,0)
+ − 198 #define StMSP_Sensor3 _MB(2,3,255,8,0)
+ − 199
+ − 200 /* PAGE 4 */
+ − 201 #define StMXTRA _MB(2,4,0,0,0)
+ − 202
+ − 203 /* PAGE 4 MENU EDIT */
654
+ − 204 /* DIVE MODE */
38
+ − 205 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0)
+ − 206 #define StMXTRA_CompassHeading _MB(2,4,2,1,0)
774
6169309d6eb9
more menu items for the compass menu: Delete bearing, and reset to land based bearing. I have also re-enabled the real time bearing display in the menu - makes it easier to set the correct bearing. (mikeller)
heinrichsweikamp
diff
changeset
+ − 207 #define StMXTRA_CompassHeadingClear _MB(2,4,2,2,0)
6169309d6eb9
more menu items for the compass menu: Delete bearing, and reset to land based bearing. I have also re-enabled the real time bearing display in the menu - makes it easier to set the correct bearing. (mikeller)
heinrichsweikamp
diff
changeset
+ − 208 #define StMXTRA_CompassHeadingReset _MB(2,4,2,3,0)
929
63c340abd70e
Add a line to the compass heading dive menu that shows the currently set heading to enable the
heinrichsweikamp
diff
changeset
+ − 209 #define StMXTRA_CompassHeadingLog _MB(2,4,2,4,0)
38
+ − 210
654
+ − 211 /* SURFACE MODE */
707
+ − 212
+ − 213 #define StMXTRA_CCRmode _MB(2,4,1,1,0)
+ − 214 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0)
+ − 215 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0)
710
+ − 216 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0)
+ − 217 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0)
+ − 218 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0)
662
+ − 219 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0)
707
+ − 220 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0)
845
+ − 221 #define StMXTRA_Predive_Check _MB(2,4,5,1,0)
+ − 222
707
+ − 223
+ − 224
+ − 225
654
+ − 226
38
+ − 227 /* PAGE 5 */
+ − 228 #define StMDECO _MB(2,5,0,0,0)
+ − 229
+ − 230 /* PAGE 5 MENU EDIT */
+ − 231 /*
+ − 232 #define StMDECO1 _MB(2,5,1,0,0)
+ − 233 #define StMDECO2 _MB(2,5,2,0,0)
+ − 234 #define StMDECO3 _MB(2,5,3,0,0)
+ − 235 #define StMDECO4 _MB(2,5,4,0,0)
+ − 236 #define StMDECO5 _MB(2,5,5,0,0)
+ − 237 #define StMDECO6 _MB(2,5,6,0,0)
+ − 238 */
+ − 239
+ − 240 /* PAGE 5 EDIT FIELD CONTENT */
+ − 241 #define StMDECO1_OC _MB(2,5,1,1,0)
+ − 242 #define StMDECO1_CC _MB(2,5,1,2,0)
662
+ − 243 #define StMDECO1_Apnea _MB(2,5,1,3,0)
+ − 244 #define StMDECO1_Gauge _MB(2,5,1,4,0)
+ − 245 #define StMDECO1_PSCR _MB(2,5,1,5,0)
38
+ − 246
707
+ − 247 #define StMDECO3_PPO2Max _MB(2,5,2,1,0)
+ − 248 #define StMDECO4_SafetyStop _MB(2,5,3,1,0)
882
+ − 249 #define StMDECO_SlowExit _MB(2,5,4,1,0)
+ − 250 #define StMDECO5_FUTURE _MB(2,5,5,1,0)
+ − 251 #define StMDECO6_SALINITY _MB(2,5,6,1,0)
38
+ − 252
+ − 253 /* PAGE 6 */
+ − 254 #define StMDECOP _MB(2,6,0,0,0)
+ − 255
+ − 256 #define StMDECOP1_Algorithm _MB(2,6,1,1,0)
902
+ − 257 #define StMDECOP2_VPM _MB(2,6,2,1,0)
+ − 258 #define StMDECOP3_GF _MB(2,6,3,1,0)
+ − 259 #define StMDECOP4_AltGF _MB(2,6,4,1,0)
38
+ − 260 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0)
902
+ − 261 #define StMDECOP6_VPMTable _MB(2,6,6,1,0)
38
+ − 262
+ − 263 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0)
+ − 264 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0)
+ − 265 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0)
+ − 266
+ − 267 /* PAGE 7 */
+ − 268 #define StMHARD _MB(2,7,0,0,0)
+ − 269
+ − 270 /* PAGE 7 EDIT FIELD CONTENT */
+ − 271
+ − 272
+ − 273 #define StMHARD1_Bluetooth _MB(2,7,1,1,0)
+ − 274
854
+ − 275 #define StMHARD2_Compass _MB(2,7,2,0,0)
38
+ − 276 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0)
+ − 277 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0)
+ − 278 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0)
539
+ − 279 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0)
776
45b8f3c2acce
Add support for a configurable compass declination in a range of -99 to 99 degrees.
heinrichsweikamp
diff
changeset
+ − 280 #define StMHARD2_Compass_Declination _MB(2,7,2,6,0)
38
+ − 281
+ − 282 //#define StMHARD2_Exit _MB(2,7,2,2,0)
+ − 283
718
+ − 284 #define StMHARD3_Sensors _MB(2,7,3,0,0)
38
+ − 285 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0)
+ − 286 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0)
+ − 287 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0)
707
+ − 288 #define StMHARD3_O2_Calibrate _MB(2,7,3,4,0)
734
+ − 289 #define StMHARD3_Sensor_Info _MB(2,7,3,5,0)
730
+ − 290 #define StMHARD3_Sensor_Detect _MB(2,7,3,6,0)
718
+ − 291
38
+ − 292
+ − 293 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0)
+ − 294 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0)
+ − 295 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0)
+ − 296 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0)
+ − 297
539
+ − 298 #define StMHARD5_Button1 _MB(2,7,5,1,0)
38
+ − 299 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0)
+ − 300 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0)
+ − 301 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0)
740
+ − 302 #define StMHARD5_ButtonLock _MB(2,7,5,5,0)
38
+ − 303
+ − 304 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0)
+ − 305 //#define StMHARD6_UpdateCPU2_Yes _MB(2,7,6,2,0)
+ − 306 //#define StMHARD6_UpdateCPU2_Now _MB(2,7,6,3,0)
+ − 307
+ − 308 /* PAGE 8 */
+ − 309 #define StMSYS _MB(2,8,0,0,0)
+ − 310
+ − 311 /* PAGE 8 EDIT FIELD CONTENT */
944
+ − 312 #define StMSYS1_DateTime _MB(2,8,1,0,0)
+ − 313 #define StMSYS1_Date _MB(2,8,1,1,0)
+ − 314 #define StMSYS1_Time _MB(2,8,1,2,0)
+ − 315 #define StMSYS1_FORMAT _MB(2,8,1,3,0)
+ − 316 #define StMSYS1_DDMMYY _MB(2,8,1,3,1)
+ − 317 #define StMSYS1_MMDDYY _MB(2,8,1,3,2)
+ − 318 #define StMSYS1_YYMMDD _MB(2,8,1,3,3)
949
+ − 319 #define StMSYS1_12HR _MB(2,8,1,4,0)
+ − 320 #define StMSYS1_GNSSDT _MB(2,8,1,5,0)
+ − 321 #define StMSYS1_ZONE _MB(2,8,1,6,0)
38
+ − 322
805
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 323 #define StMSYS_Timer _MB(2,8,2,1,0)
38
+ − 324
805
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 325 #define StMSYS2_English _MB(2,8,3,1,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 326 #define StMSYS2_German _MB(2,8,3,2,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 327 #define StMSYS2_French _MB(2,8,3,3,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 328 #define StMSYS2_Italian _MB(2,8,3,4,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 329 #define StMSYS2_Espanol _MB(2,8,3,5,0)
38
+ − 330
805
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 331 #define StMSYS3_Units _MB(2,8,4,1,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 332 #define StMSYS3_Colors _MB(2,8,4,2,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 333 #define StMSYS3_Debug _MB(2,8,4,3,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 334
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 335 #define StMSYS4_Info _MB(2,8,5,1,0)
38
+ − 336
805
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 337 #define StMSYS5_Exit _MB(2,8,6,1,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 338 #define StMSYS5_LogbookOffset _MB(2,8,6,7,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 339 #define StMSYS5_ResetAll _MB(2,8,6,2,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 340 #define StMSYS5_ResetDeco _MB(2,8,6,3,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 341 #define StMSYS5_Reboot _MB(2,8,6,4,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 342 #define StMSYS5_Maintenance _MB(2,8,6,5,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 343 #define StMSYS5_ResetLogbook _MB(2,8,6,6,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 344 #define StMSYS5_SetBattCharge _MB(2,8,6,7,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 345 #define StMSYS5_RebootRTE _MB(2,8,6,8,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 346 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 347 #define StMSYS5_ScreenTest _MB(2,8,6,10,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 348 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 349 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0)
dd7ce655db26
Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
diff
changeset
+ − 350 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
845
+ − 351 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0)
38
+ − 352
815
+ − 353 #define StMSYS_Custom0 _MB(2,8,1,0,0)
+ − 354 #define StMSYS_Custom1 _MB(2,8,2,0,0)
+ − 355 #define StMSYS_Custom2 _MB(2,8,3,0,0)
+ − 356 #define StMSYS_Custom3 _MB(2,8,4,0,0)
+ − 357 #define StMSYS_Custom4 _MB(2,8,5,0,0)
+ − 358 #define StMSYS_Custom5 _MB(2,8,6,0,0)
+ − 359
506
+ − 360 /* PAGE 9 */
+ − 361
+ − 362 # define StMCustom _MB(2,9,0,0,0)
+ − 363
+ − 364 /* PAGE 9 EDIT FIELD CONTENT */
+ − 365 //
+ − 366
+ − 367 #define StMCustom1_CViewTimeout _MB(2,9,1,1,0)
+ − 368 #define StMCustom1_CViewStandard _MB(2,9,1,2,0)
541
+ − 369 #define StMCustom1_CViewStandardBF _MB(2,9,1,3,0)
834
+ − 370 #define StMCustom1_CViewAutoFocusBF _MB(2,9,1,4,0)
+ − 371 #define StMCustom1_CornerTimeout _MB(2,9,1,5,0)
+ − 372 #define StMCustom1_CornerStandard _MB(2,9,1,6,0)
506
+ − 373
521
+ − 374 #define StMCustom2_BFSelection _MB(2,9,2,1,0)
38
+ − 375
521
+ − 376 #define StMCustom3_CViewSelection1 _MB(2,9,3,1,0)
+ − 377 #define StMCustom3_CViewSelection2 _MB(2,9,3,2,0)
+ − 378 #define StMCustom3_CViewSelection3 _MB(2,9,3,3,0)
+ − 379 #define StMCustom3_CViewSelection4 _MB(2,9,3,4,0)
+ − 380 #define StMCustom3_CViewSelection5 _MB(2,9,3,5,0)
+ − 381 #define StMCustom3_CViewSelection6 _MB(2,9,3,6,0)
506
+ − 382
531
+ − 383 #define StMCustom4_CViewSelection1 _MB(2,9,4,1,0)
553
+ − 384
951
+ − 385 #ifdef ENABLE_MOTION_CONTROL
604
+ − 386 #define StMCustom5_CViewPortCalib _MB(2,9,5,1,0)
626
+ − 387 #define StMCustom5_CViewPortSpotSize _MB(2,9,5,2,0)
+ − 388 #define StMCustom5_CViewPortLayout _MB(2,9,5,3,0)
+ − 389 #define StMCustom5_CViewPortAmbient _MB(2,9,5,4,0)
+ − 390 #define StMCustom5_CViewPortControl _MB(2,9,5,5,0)
951
+ − 391 #endif
+ − 392 #ifdef ENABLE_GPIO_V2
+ − 393 #define StMCustom5_CViewWarningBuz _MB(2,9,5,1,0)
+ − 394 #endif
506
+ − 395
+ − 396 /* PAGE 10 */
+ − 397 #define StMPLAN _MB(2,10,0,0,0)
+ − 398
+ − 399 /* PAGE 10 EDIT FIELD CONTENT */
+ − 400 #define StMPLAN2_Interval _MB(2,10,2,1,0)
+ − 401 #define StMPLAN3_DiveTime _MB(2,10,3,1,0)
+ − 402 #define StMPLAN4_MaxDepth _MB(2,10,4,1,0)
604
+ − 403 #define StMPLAN5_ExitResult _MB(2,10,5,1,0)
506
+ − 404 #define StMPLAN4_Settings _MB(2,10,6,1,0)
+ − 405
+ − 406
+ − 407
38
+ − 408
+ − 409
+ − 410 //#define StMDECO6_SALINITY _MB(2,5,6,1,0)
+ − 411 //#define StMDECO6_DefaultSAL _MB(2,5,6,2,0)
+ − 412
+ − 413
+ − 414
+ − 415
506
+ − 416 //#define StMDECO7_AMV _MB(2,5,7,1,0)
38
+ − 417 //#define StMDECO7_DefaultAMV _MB(2,5,7,2,0)
+ − 418 //#define StMDECO7_RESERVE _MB(2,5,7,3,0)
+ − 419
+ − 420
+ − 421 /*
+ − 422 typedef struct
+ − 423 {
+ − 424 uint32_t id;
+ − 425 int8_t implemented;
+ − 426 int8_t enabled;
+ − 427 uint32_t pointer;
+ − 428 uint8_t type;
+ − 429 } SStateOfMachine;
+ − 430 */
+ − 431
+ − 432 typedef struct
+ − 433 {
+ − 434 uint8_t base;
+ − 435 uint8_t page;
+ − 436 uint8_t line;
+ − 437 uint8_t field;
+ − 438 uint8_t mode;
+ − 439 } SStateList;
+ − 440
+ − 441
+ − 442
+ − 443 #endif /* TSTRUCTURE_H */
+ − 444
+ − 445 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/