annotate Discovery/Inc/tStructure.h @ 819:24b39a432bc2

Added debug information in case an error in the settings has been detected: The "Check Settings" warning now provides the index of the first parameter which has been corrected as well as the number of corrections.
author Ideenmodellierer
date Sun, 24 Sep 2023 18:39:26 +0200
parents ce8f71217f45
children 7b0033246b12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
1 ///////////////////////////////////////////////////////////////////////////////
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
2 /// -*- coding: UTF-8 -*-
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
3 ///
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
4 /// \file Discovery/Inc/tStructure.h
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
5 /// \brief Header file for All
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
6 /// \author heinrichs weikamp gmbh
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
7 /// \date 04-July-2014
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
8 ///
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
9 /// $Id$
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////////////////////
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
11 /// \par Copyright (c) 2014-2018 Heinrichs Weikamp gmbh
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
12 ///
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
13 /// This program is free software: you can redistribute it and/or modify
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
14 /// it under the terms of the GNU General Public License as published by
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
15 /// the Free Software Foundation, either version 3 of the License, or
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
16 /// (at your option) any later version.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
17 ///
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
18 /// This program is distributed in the hope that it will be useful,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
21 /// GNU General Public License for more details.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
22 ///
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
23 /// You should have received a copy of the GNU General Public License
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
25 //////////////////////////////////////////////////////////////////////////////
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
26
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
27 /* Define to prevent recursive inclusion -------------------------------------*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
28 #ifndef TSTRUCTURE_H
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
29 #define TSTRUCTURE_H
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
30
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
31 #ifdef __cplusplus
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
32 extern "C" {
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
33 #endif
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
34
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
35 /* Includes ------------------------------------------------------------------*/
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
36 #include "stdint.h"
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
37
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
38 /** @addtogroup Template
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
39 * @{
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
40 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
41
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
42
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
43 #ifdef __cplusplus
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
44 }
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
45 #endif
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
46
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
47 #define _MB(base,menuPage,menuLine,menuEditField,menuEditWhichMode) ((base << 28) + (menuPage << 24) + (menuLine << 16) + (menuEditField << 8) + menuEditWhichMode)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
48
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
49 #define BaseInfo 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
50 #define BaseHome 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
51 #define BaseMenu 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
52 #define BaseComm 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
53 #define BaseStop 6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
54 #define BaseBoot 7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
55
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
56 #define PageDebug 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
57 #define PageSurface 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
58 #define PageDive 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
59
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
60 #define MaskLineFieldDigit _MB(7,15,0,0,0)
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
61 #define MaskFieldDigit _MB(7,15,255,0,0)
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
62 #define MaskAllButLine _MB(0,0,255,0,0)
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
63 #define MaskLineDigit _MB(7,15,0,255,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
64 #define InfoPageLogList 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
65 #define InfoPageLogShow 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
66 #define InfoPageCompass 6
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
67 #define InfoPageSensor 8
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
68
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
69 #define StI _MB(0,1,0,0,0)
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
70 #define StILOGLIST _MB(0,2,0,0,0)
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
71 #define StILOGSHOW _MB(0,3,0,0,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
72 #define StIDIVE _MB(0,4,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
73 #define StISIM _MB(0,5,0,0,0)
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
74 #define StICOMPASS _MB(0,6,0,0,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
75 #define StIDEBUG _MB(0,7,0,0,0)
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
76 #define StISENINFO _MB(0,8,0,0,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
77
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
78 #define StI_GoToLogbook _MB(0,1,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
79 #define StI_GoToPlanner _MB(0,1,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
80 #define StI_StartSimulator _MB(0,1,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
81
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
82 #define StISIM_Descend _MB(0,5,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
83 #define StISIM_Ascend _MB(0,5,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
84 #define StISIM_Divetime _MB(0,5,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
85 #define StISIM_Exit _MB(0,5,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
86 #define StISIM_FollowDeco _MB(0,5,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
87
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
88
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
89 #define StDEBUG _MB(1,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
90 #define StS _MB(1,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
91 #define StD _MB(1,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
92 #define StDMGAS _MB(1,2,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
93 #define StDMSPT _MB(1,2,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
94 #define StDMENU _MB(1,2,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
95 #define StDSIM1 _MB(1,2,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
96 #define StDSIM2 _MB(1,2,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
97 #define StDSIM3 _MB(1,2,6,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
98 #define StDSIM4 _MB(1,2,7,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
99 #define StDBEAR _MB(1,2,8,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
100 #define StDRAVG _MB(1,2,9,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
101 #define StDQUIT _MB(1,2,10,0,0)
614
7d6a51bb21d1 Added "Set Marker" to T3 quick menu:
Ideenmodellierer
parents: 604
diff changeset
102 #define StDMARK _MB(1,2,11,0,0)
619
8fa2de4414a8 Added t3 quick menu for marker synchronisation:
Ideenmodellierer
parents: 614
diff changeset
103 #define StDCHECK _MB(1,2,12,0,0)
633
68d95049f11a Added menu structure to allow ppo2 modification in simulator mode:
Ideenmodellierer
parents: 626
diff changeset
104 #define StDSIM5 _MB(1,2,13,0,0)
68d95049f11a Added menu structure to allow ppo2 modification in simulator mode:
Ideenmodellierer
parents: 626
diff changeset
105 #define StDSIM6 _MB(1,2,14,0,0)
773
2c243233c999 Menu shortcut for bailout / return to circuit when diving in CCR mode (mikeller)
heinrichsweikamp
parents: 740
diff changeset
106 #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
parents: 774
diff changeset
107 #define StDSETPOINT _MB(1,2,16,0,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
108
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
109 #define StUART_STANDARD _MB(3,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
110 #define StUART_RTECONNECT _MB(3,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
111
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
112 #define StStop _MB(6,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
113 #define StBoot0 _MB(7,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
114
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
115 /* globalState defines in which visible range the cursor can move */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
116 /* position of the cursor does not affect globalState */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
117 /* next page is a different globalState */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
118 /* next line, field or digit is not a different state */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
119 /* digit is empty at the moment and be reused for future features */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
120
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
121 /* PAGE 1 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
122 #define StMOG _MB(2,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
123
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
124 /* PAGE 1 MENU EDIT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
125
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
126 /* PAGE 1 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
127 /* used for PAGE 2 AS WELL */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
128 #define StMOG_Mix _MB(2,1,255,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
129 #define StMOG_GasType _MB(2,1,255,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
130 #define StMOG_ChangeDepth _MB(2,1,255,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
131 #define StMOG_SetToMOD _MB(2,1,255,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
132 #define StMOG_Bottle _MB(2,1,255,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
133
526
88c626d01ee5 Added new option to gas configuration: "Off":
Ideenmodellierer
parents: 521
diff changeset
134 #define StMOG_MOD _MB(2,1,255,9,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
135
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
136 #define StMOG_First _MB(2,1,255,21,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
137 #define StMOG_Deco _MB(2,1,255,22,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
138 #define StMOG_Travel _MB(2,1,255,23,0)
526
88c626d01ee5 Added new option to gas configuration: "Off":
Ideenmodellierer
parents: 521
diff changeset
139 #define StMOG_Inactive _MB(2,1,255,24,0)
88c626d01ee5 Added new option to gas configuration: "Off":
Ideenmodellierer
parents: 521
diff changeset
140 #define StMOG_Off _MB(2,1,255,25,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
141
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
142 #define StMOG_NoTransmitter _MB(2,1,255,30,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
143 #define StMOG_Transmitter1 _MB(2,1,255,31,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
144 #define StMOG_Transmitter2 _MB(2,1,255,32,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
145 #define StMOG_Transmitter3 _MB(2,1,255,33,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
146 #define StMOG_Transmitter4 _MB(2,1,255,34,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
147 #define StMOG_Transmitter5 _MB(2,1,255,35,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
148 //#define StMOG_Transmitter6 _MB(2,1,255,36,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
149 //#define StMOG_Transmitter7 _MB(2,1,255,37,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
150 //#define StMOG_Transmitter8 _MB(2,1,255,38,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
151 //#define StMOG_Transmitter9 _MB(2,1,255,39,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
152
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
153 #define StMOG_DM_ActiveBase _MB(2,1,6,255,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
154 #define StMOG_DM_ExtraMix _MB(2,1,6,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
155 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
156 #define StMOG_DM_Active1 _MB(2,1,6,255,1)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
157 #define StMOG_DM_Active2 _MB(2,1,6,255,2)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
158 #define StMOG_DM_Active3 _MB(2,1,6,255,3)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
159 #define StMOG_DM_Active4 _MB(2,1,6,255,4)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
160 #define StMOG_DM_Active5 _MB(2,1,6,255,5)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
161 #define StMOG_DM_Active6 _MB(2,1,6,255,6)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
162 #define StMOG_DM_Active7 _MB(2,1,6,255,7)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
163 #define StMOG_DM_Active8 _MB(2,1,6,1,8)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
164 #define StMOG_DM_Active9 _MB(2,1,6,1,9)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
165 #define StMOG_DM_Active10 _MB(2,1,6,1,10)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
166 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
167
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
168 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
169 #define StMOG_Depth _MB(2,1,255, 2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
170 #define StMOG_DefaultDepth _MB(2,1,255, 4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
171 #define StMOG_Reset _MB(2,1,255, 5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
172 #define StMOG_ToggleDefault _MB(2,1,255, 6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
173 #define StMOG_SensorLink _MB(2,1,255, 9,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
174 #define StMOG_Size _MB(2,1,255,10,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
175 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
176
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
177 /* PAGE 2 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
178 #define StMCG _MB(2,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
179 /* PAGE 3 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
180 #define StMSP _MB(2,3,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
181
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
182 /* PAGE 3 EDIT FIELD CONTENT */
811
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
183 #define StMSP_SPLow _MB(2,3,1,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
184 #define StMSP_SPHigh _MB(2,3,2,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
185 #define StMSP_SPDeco _MB(2,3,3,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
186 #define StMSP_Blank _MB(2,3,4,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
187 #define StMSP_DelayDeco _MB(2,3,5,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
188 #define StMSP_Auto _MB(2,3,6,0,0)
4c41d9a18c7f Added function to skip lines which are not needed for operation:
Ideenmodellierer
parents: 805
diff changeset
189
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
190 #define StMSP_ppo2_setting _MB(2,3,255,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
191 #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
parents: 776
diff changeset
192
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
193 #define StMSP_Sensor1 _MB(2,3,255,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
194 #define StMSP_Sensor2 _MB(2,3,255,7,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
195 #define StMSP_Sensor3 _MB(2,3,255,8,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
196
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
197 /* PAGE 4 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
198 #define StMXTRA _MB(2,4,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
199
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
200 /* PAGE 4 MENU EDIT */
654
890440ab993a Introduced new menu tab for addition CCR options:
Ideenmodellierer
parents: 633
diff changeset
201 /* DIVE MODE */
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
202 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
203 #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
parents: 773
diff changeset
204 #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
parents: 773
diff changeset
205 #define StMXTRA_CompassHeadingReset _MB(2,4,2,3,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
206
654
890440ab993a Introduced new menu tab for addition CCR options:
Ideenmodellierer
parents: 633
diff changeset
207 /* SURFACE MODE */
707
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
208
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
209 #define StMXTRA_CCRmode _MB(2,4,1,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
210 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
211 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0)
710
8adf9b8fc7fa Extension scrubber time:
Ideenmodellierer
parents: 707
diff changeset
212 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0)
8adf9b8fc7fa Extension scrubber time:
Ideenmodellierer
parents: 707
diff changeset
213 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0)
8adf9b8fc7fa Extension scrubber time:
Ideenmodellierer
parents: 707
diff changeset
214 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0)
707
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
215
662
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 661
diff changeset
216 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0)
707
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
217 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
218 #define StMXTRA_CO2_Sensor _MB(2,4,5,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
219 #define StMXTRA_CO2_Sensor_Calib _MB(2,4,5,2,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
220
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
221
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
222
654
890440ab993a Introduced new menu tab for addition CCR options:
Ideenmodellierer
parents: 633
diff changeset
223
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
224 /* PAGE 5 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
225 #define StMDECO _MB(2,5,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
226
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
227 /* PAGE 5 MENU EDIT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
228 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
229 #define StMDECO1 _MB(2,5,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
230 #define StMDECO2 _MB(2,5,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
231 #define StMDECO3 _MB(2,5,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
232 #define StMDECO4 _MB(2,5,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
233 #define StMDECO5 _MB(2,5,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
234 #define StMDECO6 _MB(2,5,6,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
235 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
236
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
237 /* PAGE 5 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
238 #define StMDECO1_OC _MB(2,5,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
239 #define StMDECO1_CC _MB(2,5,1,2,0)
662
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 661
diff changeset
240 #define StMDECO1_Apnea _MB(2,5,1,3,0)
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 661
diff changeset
241 #define StMDECO1_Gauge _MB(2,5,1,4,0)
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 661
diff changeset
242 #define StMDECO1_PSCR _MB(2,5,1,5,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
243
707
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
244 #define StMDECO3_PPO2Max _MB(2,5,2,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
245 #define StMDECO4_SafetyStop _MB(2,5,3,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
246 #define StMDECO5_FUTURE _MB(2,5,4,1,0)
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
247 #define StMDECO6_SALINITY _MB(2,5,5,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
248
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
249 /* PAGE 6 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
250 #define StMDECOP _MB(2,6,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
251
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
252 #define StMDECOP1_Algorithm _MB(2,6,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
253 #define StMDECOP2_VPM _MB(2,6,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
254 #define StMDECOP3_GF _MB(2,6,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
255 #define StMDECOP4_AltGF _MB(2,6,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
256 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
257
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
258 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
259 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
260 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
261
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
262 /* PAGE 7 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
263 #define StMHARD _MB(2,7,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
264
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
265 /* PAGE 7 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
266
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
267
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
268 #define StMHARD1_Bluetooth _MB(2,7,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
269
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
270 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
271 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
272 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0)
539
d784f281833a Added inertia simulation for compass heading:
Ideenmodellierer
parents: 531
diff changeset
273 #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
parents: 775
diff changeset
274 #define StMHARD2_Compass_Declination _MB(2,7,2,6,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
275
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
276 //#define StMHARD2_Exit _MB(2,7,2,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
277
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
278 #define StMHARD3_Sensors _MB(2,7,3,0,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
279 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
280 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
281 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0)
707
e81afd727993 Menu cleanup rebreather specific settings:
Ideenmodellierer
parents: 662
diff changeset
282 #define StMHARD3_O2_Calibrate _MB(2,7,3,4,0)
734
190e5814b2f5 Removed interface selection from sensor menu:
Ideenmodellierer
parents: 730
diff changeset
283 #define StMHARD3_Sensor_Info _MB(2,7,3,5,0)
730
9c65d226f4f6 Update sensor menu support for automatic sensor detection:
Ideenmodellierer
parents: 718
diff changeset
284 #define StMHARD3_Sensor_Detect _MB(2,7,3,6,0)
718
b9f699d2e3d0 Updated menu structure to support new sensor information page:
Ideenmodellierer
parents: 710
diff changeset
285
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
286
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
287 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
288 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
289 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
290 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
291
539
d784f281833a Added inertia simulation for compass heading:
Ideenmodellierer
parents: 531
diff changeset
292 #define StMHARD5_Button1 _MB(2,7,5,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
293 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
294 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
295 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0)
740
5078da3845c0 Added button lock after wakeup in surface mode:
Ideenmodellierer
parents: 734
diff changeset
296 #define StMHARD5_ButtonLock _MB(2,7,5,5,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
297
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
298 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
299 //#define StMHARD6_UpdateCPU2_Yes _MB(2,7,6,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
300 //#define StMHARD6_UpdateCPU2_Now _MB(2,7,6,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
301
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
302 /* PAGE 8 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
303 #define StMSYS _MB(2,8,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
304
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
305 /* PAGE 8 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
306 #define StMSYS1_Date _MB(2,8,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
307 #define StMSYS1_Time _MB(2,8,1,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
308 #define StMSYS1_DDMMYY _MB(2,8,1,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
309 #define StMSYS1_MMDDYY _MB(2,8,1,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
310 #define StMSYS1_YYMMDD _MB(2,8,1,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
311 #define StMSYS1_DST _MB(2,8,1,6,0)
567
1c95f811967c -Add 12HR Time Support
izzni
parents: 562
diff changeset
312 #define StMSYS1_12HR _MB(2,8,1,7,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
313
805
dd7ce655db26 Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
parents: 788
diff changeset
314 #define StMSYS_Timer _MB(2,8,2,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
315
805
dd7ce655db26 Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
parents: 788
diff changeset
316 #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
parents: 788
diff changeset
317 #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
parents: 788
diff changeset
318 #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
parents: 788
diff changeset
319 #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
parents: 788
diff changeset
320 #define StMSYS2_Espanol _MB(2,8,3,5,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
321
805
dd7ce655db26 Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
parents: 788
diff changeset
322 #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
parents: 788
diff changeset
323 #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
parents: 788
diff changeset
324 #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
parents: 788
diff changeset
325
dd7ce655db26 Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
parents: 788
diff changeset
326 #define StMSYS4_Info _MB(2,8,5,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
327
805
dd7ce655db26 Adds a simple countdown timer, available as a custom view in surface and dive mode.
heinrichsweikamp
parents: 788
diff changeset
328 #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
parents: 788
diff changeset
329 #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
parents: 788
diff changeset
330 #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
parents: 788
diff changeset
331 #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
parents: 788
diff changeset
332 #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
parents: 788
diff changeset
333 #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
parents: 788
diff changeset
334 #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
parents: 788
diff changeset
335 #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
parents: 788
diff changeset
336 #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
parents: 788
diff changeset
337 #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
parents: 788
diff changeset
338 #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
parents: 788
diff changeset
339 #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
parents: 788
diff changeset
340 #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
parents: 788
diff changeset
341 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
342
815
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
343 #define StMSYS_Custom0 _MB(2,8,1,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
344 #define StMSYS_Custom1 _MB(2,8,2,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
345 #define StMSYS_Custom2 _MB(2,8,3,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
346 #define StMSYS_Custom3 _MB(2,8,4,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
347 #define StMSYS_Custom4 _MB(2,8,5,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
348 #define StMSYS_Custom5 _MB(2,8,6,0,0)
ce8f71217f45 Bugfix CustomView selection during dive mode:
Ideenmodellierer
parents: 811
diff changeset
349
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
350 /* PAGE 9 */
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
351
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
352 # define StMCustom _MB(2,9,0,0,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
353
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
354 /* PAGE 9 EDIT FIELD CONTENT */
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
355 //
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
356
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
357 #define StMCustom1_CViewTimeout _MB(2,9,1,1,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
358 #define StMCustom1_CViewStandard _MB(2,9,1,2,0)
541
6fbf7cd391cb Added default view selection and auto return to view to t3 visualization:
Ideenmodellierer
parents: 539
diff changeset
359 #define StMCustom1_CViewStandardBF _MB(2,9,1,3,0)
6fbf7cd391cb Added default view selection and auto return to view to t3 visualization:
Ideenmodellierer
parents: 539
diff changeset
360 #define StMCustom1_CornerTimeout _MB(2,9,1,4,0)
6fbf7cd391cb Added default view selection and auto return to view to t3 visualization:
Ideenmodellierer
parents: 539
diff changeset
361 #define StMCustom1_CornerStandard _MB(2,9,1,5,0)
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
362
521
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
363 #define StMCustom2_BFSelection _MB(2,9,2,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
364
521
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
365 #define StMCustom3_CViewSelection1 _MB(2,9,3,1,0)
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
366 #define StMCustom3_CViewSelection2 _MB(2,9,3,2,0)
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
367 #define StMCustom3_CViewSelection3 _MB(2,9,3,3,0)
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
368 #define StMCustom3_CViewSelection4 _MB(2,9,3,4,0)
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
369 #define StMCustom3_CViewSelection5 _MB(2,9,3,5,0)
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
370 #define StMCustom3_CViewSelection6 _MB(2,9,3,6,0)
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
371
531
1721b26335f1 Bugfix custom view selection dialog:
Ideenmodellierer
parents: 526
diff changeset
372 #define StMCustom4_CViewSelection1 _MB(2,9,4,1,0)
553
43a2dd4ba30f Added color indicator for focus state:
Ideenmodellierer
parents: 541
diff changeset
373
604
fb5bb04ad914 Merged menu items of viewport and motion control:
Ideenmodellierer
parents: 567
diff changeset
374 #define StMCustom5_CViewPortCalib _MB(2,9,5,1,0)
626
3e1a0e267f38 Added option to select sensitivity of focus detection:
Ideenmodellierer
parents: 619
diff changeset
375 #define StMCustom5_CViewPortSpotSize _MB(2,9,5,2,0)
3e1a0e267f38 Added option to select sensitivity of focus detection:
Ideenmodellierer
parents: 619
diff changeset
376 #define StMCustom5_CViewPortLayout _MB(2,9,5,3,0)
3e1a0e267f38 Added option to select sensitivity of focus detection:
Ideenmodellierer
parents: 619
diff changeset
377 #define StMCustom5_CViewPortAmbient _MB(2,9,5,4,0)
3e1a0e267f38 Added option to select sensitivity of focus detection:
Ideenmodellierer
parents: 619
diff changeset
378 #define StMCustom5_CViewPortControl _MB(2,9,5,5,0)
3e1a0e267f38 Added option to select sensitivity of focus detection:
Ideenmodellierer
parents: 619
diff changeset
379
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
380
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
381 /* PAGE 10 */
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
382 #define StMPLAN _MB(2,10,0,0,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
383
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
384 /* PAGE 10 EDIT FIELD CONTENT */
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
385 #define StMPLAN2_Interval _MB(2,10,2,1,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
386 #define StMPLAN3_DiveTime _MB(2,10,3,1,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
387 #define StMPLAN4_MaxDepth _MB(2,10,4,1,0)
604
fb5bb04ad914 Merged menu items of viewport and motion control:
Ideenmodellierer
parents: 567
diff changeset
388 #define StMPLAN5_ExitResult _MB(2,10,5,1,0)
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
389 #define StMPLAN4_Settings _MB(2,10,6,1,0)
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
390
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
391
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
392
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
393
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
394
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
395 //#define StMDECO6_SALINITY _MB(2,5,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
396 //#define StMDECO6_DefaultSAL _MB(2,5,6,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
397
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
398
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
399
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
400
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents: 424
diff changeset
401 //#define StMDECO7_AMV _MB(2,5,7,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
402 //#define StMDECO7_DefaultAMV _MB(2,5,7,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
403 //#define StMDECO7_RESERVE _MB(2,5,7,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
404
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
405
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
406 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
407 typedef struct
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
408 {
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
409 uint32_t id;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
410 int8_t implemented;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
411 int8_t enabled;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
412 uint32_t pointer;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
413 uint8_t type;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
414 } SStateOfMachine;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
415 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
416
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
417 typedef struct
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
418 {
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
419 uint8_t base;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
420 uint8_t page;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
421 uint8_t line;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
422 uint8_t field;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
423 uint8_t mode;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
424 } SStateList;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
425
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
426
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
427
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
428 #endif /* TSTRUCTURE_H */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
429
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
430 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/