Mercurial > public > ostc4
annotate Discovery/Inc/tStructure.h @ 538:b1eee27cd02b
BugFix firmware downgrade to version with less settings:
If a downgrade to a firmware version using less setting parameter were done then the settings had been reset to the default values. Root cause was that only increased number of settings was accepted by the read function. Because the layout of the setting structure is fixed (only bytes attached, no change in the order of data values) a downgrade just discarding the no longer used settings is possible => Updated read function to handle reduction of setting parameters.
author | Ideenmodellierer |
---|---|
date | Sat, 10 Oct 2020 13:51:44 +0200 |
parents | 1721b26335f1 |
children | d784f281833a |
rev | line source |
---|---|
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) | |
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) | |
64 #define InfoPageLogList 2 | |
65 #define InfoPageLogShow 3 | |
66 #define InfoPageCompass 6 | |
67 | |
68 #define StI _MB(0,1,0,0,0) | |
69 #define StILOGLIST _MB(0,2,0,0,0) | |
70 #define StILOGSHOW _MB(0,3,0,0,0) | |
71 #define StIDIVE _MB(0,4,0,0,0) | |
72 #define StISIM _MB(0,5,0,0,0) | |
73 #define StICOMPASS _MB(0,6,0,0,0) | |
74 #define StIDEBUG _MB(0,7,0,0,0) | |
75 | |
76 #define StI_GoToLogbook _MB(0,1,1,0,0) | |
77 #define StI_GoToPlanner _MB(0,1,2,0,0) | |
78 #define StI_StartSimulator _MB(0,1,3,0,0) | |
79 | |
80 #define StISIM_Descend _MB(0,5,1,0,0) | |
81 #define StISIM_Ascend _MB(0,5,2,0,0) | |
82 #define StISIM_Divetime _MB(0,5,3,0,0) | |
83 #define StISIM_Exit _MB(0,5,4,0,0) | |
84 #define StISIM_FollowDeco _MB(0,5,5,0,0) | |
85 | |
86 | |
87 #define StDEBUG _MB(1,0,0,0,0) | |
88 #define StS _MB(1,1,0,0,0) | |
89 #define StD _MB(1,2,0,0,0) | |
90 #define StDMGAS _MB(1,2,1,0,0) | |
91 #define StDMSPT _MB(1,2,2,0,0) | |
92 #define StDMENU _MB(1,2,3,0,0) | |
93 #define StDSIM1 _MB(1,2,4,0,0) | |
94 #define StDSIM2 _MB(1,2,5,0,0) | |
95 #define StDSIM3 _MB(1,2,6,0,0) | |
96 #define StDSIM4 _MB(1,2,7,0,0) | |
97 #define StDBEAR _MB(1,2,8,0,0) | |
98 #define StDRAVG _MB(1,2,9,0,0) | |
99 #define StDQUIT _MB(1,2,10,0,0) | |
100 | |
101 | |
102 #define StUART_STANDARD _MB(3,1,0,0,0) | |
103 #define StUART_RTECONNECT _MB(3,2,0,0,0) | |
104 | |
105 #define StStop _MB(6,0,0,0,0) | |
106 #define StBoot0 _MB(7,0,0,0,0) | |
107 | |
108 /* globalState defines in which visible range the cursor can move */ | |
109 /* position of the cursor does not affect globalState */ | |
110 /* next page is a different globalState */ | |
111 /* next line, field or digit is not a different state */ | |
112 /* digit is empty at the moment and be reused for future features */ | |
113 | |
114 /* PAGE 1 */ | |
115 #define StMOG _MB(2,1,0,0,0) | |
116 | |
117 /* PAGE 1 MENU EDIT */ | |
118 | |
119 /* PAGE 1 EDIT FIELD CONTENT */ | |
120 /* used for PAGE 2 AS WELL */ | |
121 #define StMOG_Mix _MB(2,1,255,1,0) | |
122 #define StMOG_GasType _MB(2,1,255,2,0) | |
123 #define StMOG_ChangeDepth _MB(2,1,255,3,0) | |
124 #define StMOG_SetToMOD _MB(2,1,255,4,0) | |
125 #define StMOG_Bottle _MB(2,1,255,5,0) | |
126 | |
526
88c626d01ee5
Added new option to gas configuration: "Off":
Ideenmodellierer
parents:
521
diff
changeset
|
127 #define StMOG_MOD _MB(2,1,255,9,0) |
38 | 128 |
129 #define StMOG_First _MB(2,1,255,21,0) | |
130 #define StMOG_Deco _MB(2,1,255,22,0) | |
131 #define StMOG_Travel _MB(2,1,255,23,0) | |
526
88c626d01ee5
Added new option to gas configuration: "Off":
Ideenmodellierer
parents:
521
diff
changeset
|
132 #define StMOG_Inactive _MB(2,1,255,24,0) |
88c626d01ee5
Added new option to gas configuration: "Off":
Ideenmodellierer
parents:
521
diff
changeset
|
133 #define StMOG_Off _MB(2,1,255,25,0) |
38 | 134 |
135 #define StMOG_NoTransmitter _MB(2,1,255,30,0) | |
136 #define StMOG_Transmitter1 _MB(2,1,255,31,0) | |
137 #define StMOG_Transmitter2 _MB(2,1,255,32,0) | |
138 #define StMOG_Transmitter3 _MB(2,1,255,33,0) | |
139 #define StMOG_Transmitter4 _MB(2,1,255,34,0) | |
140 #define StMOG_Transmitter5 _MB(2,1,255,35,0) | |
141 //#define StMOG_Transmitter6 _MB(2,1,255,36,0) | |
142 //#define StMOG_Transmitter7 _MB(2,1,255,37,0) | |
143 //#define StMOG_Transmitter8 _MB(2,1,255,38,0) | |
144 //#define StMOG_Transmitter9 _MB(2,1,255,39,0) | |
145 | |
146 #define StMOG_DM_ActiveBase _MB(2,1,6,255,0) | |
147 #define StMOG_DM_ExtraMix _MB(2,1,6,6,0) | |
148 /* | |
149 #define StMOG_DM_Active1 _MB(2,1,6,255,1) | |
150 #define StMOG_DM_Active2 _MB(2,1,6,255,2) | |
151 #define StMOG_DM_Active3 _MB(2,1,6,255,3) | |
152 #define StMOG_DM_Active4 _MB(2,1,6,255,4) | |
153 #define StMOG_DM_Active5 _MB(2,1,6,255,5) | |
154 #define StMOG_DM_Active6 _MB(2,1,6,255,6) | |
155 #define StMOG_DM_Active7 _MB(2,1,6,255,7) | |
156 #define StMOG_DM_Active8 _MB(2,1,6,1,8) | |
157 #define StMOG_DM_Active9 _MB(2,1,6,1,9) | |
158 #define StMOG_DM_Active10 _MB(2,1,6,1,10) | |
159 */ | |
160 | |
161 /* | |
162 #define StMOG_Depth _MB(2,1,255, 2,0) | |
163 #define StMOG_DefaultDepth _MB(2,1,255, 4,0) | |
164 #define StMOG_Reset _MB(2,1,255, 5,0) | |
165 #define StMOG_ToggleDefault _MB(2,1,255, 6,0) | |
166 #define StMOG_SensorLink _MB(2,1,255, 9,0) | |
167 #define StMOG_Size _MB(2,1,255,10,0) | |
168 */ | |
169 | |
170 /* PAGE 2 */ | |
171 #define StMCG _MB(2,2,0,0,0) | |
172 /* PAGE 3 */ | |
173 #define StMSP _MB(2,3,0,0,0) | |
174 | |
175 /* PAGE 3 EDIT FIELD CONTENT */ | |
176 #define StMSP_ppo2_setting _MB(2,3,255,1,0) | |
177 #define StMSP_Depth _MB(2,3,255,2,0) | |
178 #define StMSP_Active _MB(2,3,255,3,0) | |
179 #define StMSP_First _MB(2,3,255,4,0) | |
180 #define StMSP_Select _MB(2,3,255,5,0) | |
181 #define StMSP_Sensor1 _MB(2,3,255,6,0) | |
182 #define StMSP_Sensor2 _MB(2,3,255,7,0) | |
183 #define StMSP_Sensor3 _MB(2,3,255,8,0) | |
184 | |
185 /* PAGE 4 */ | |
186 #define StMXTRA _MB(2,4,0,0,0) | |
187 | |
188 /* PAGE 4 MENU EDIT */ | |
189 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0) | |
190 #define StMXTRA_CompassHeading _MB(2,4,2,1,0) | |
191 | |
192 /* PAGE 5 */ | |
193 #define StMDECO _MB(2,5,0,0,0) | |
194 | |
195 /* PAGE 5 MENU EDIT */ | |
196 /* | |
197 #define StMDECO1 _MB(2,5,1,0,0) | |
198 #define StMDECO2 _MB(2,5,2,0,0) | |
199 #define StMDECO3 _MB(2,5,3,0,0) | |
200 #define StMDECO4 _MB(2,5,4,0,0) | |
201 #define StMDECO5 _MB(2,5,5,0,0) | |
202 #define StMDECO6 _MB(2,5,6,0,0) | |
203 */ | |
204 | |
205 /* PAGE 5 EDIT FIELD CONTENT */ | |
206 #define StMDECO1_OC _MB(2,5,1,1,0) | |
207 #define StMDECO1_CC _MB(2,5,1,2,0) | |
208 #define StMDECO1_Apnea _MB(2,5,1,3,0) | |
209 #define StMDECO1_Gauge _MB(2,5,1,4,0) | |
210 | |
211 #define StMDECO2_CCRmode _MB(2,5,2,1,0) | |
212 #define StMDECO3_PPO2Max _MB(2,5,3,1,0) | |
213 #define StMDECO4_SafetyStop _MB(2,5,4,1,0) | |
214 #define StMDECO5_FUTURE _MB(2,5,5,1,0) | |
215 #define StMDECO6_SALINITY _MB(2,5,6,1,0) | |
216 | |
217 /* PAGE 6 */ | |
218 #define StMDECOP _MB(2,6,0,0,0) | |
219 | |
220 #define StMDECOP1_Algorithm _MB(2,6,1,1,0) | |
221 #define StMDECOP2_VPM _MB(2,6,2,1,0) | |
222 #define StMDECOP3_GF _MB(2,6,3,1,0) | |
223 #define StMDECOP4_AltGF _MB(2,6,4,1,0) | |
224 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0) | |
225 | |
226 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0) | |
227 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0) | |
228 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0) | |
229 | |
230 /* PAGE 7 */ | |
231 #define StMHARD _MB(2,7,0,0,0) | |
232 | |
233 /* PAGE 7 EDIT FIELD CONTENT */ | |
234 | |
235 | |
236 #define StMHARD1_Bluetooth _MB(2,7,1,1,0) | |
237 | |
238 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) | |
239 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) | |
240 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) | |
241 | |
242 //#define StMHARD2_Exit _MB(2,7,2,2,0) | |
243 | |
244 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) | |
245 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0) | |
246 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0) | |
247 #define StMHARD3_O2_Fallback _MB(2,7,3,4,0) | |
248 | |
249 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0) | |
250 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0) | |
251 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0) | |
252 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0) | |
253 | |
254 #define StMHARD5_Button1 _MB(2,7,5,1,0) | |
255 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0) | |
256 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0) | |
257 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0) | |
258 | |
259 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0) | |
260 //#define StMHARD6_UpdateCPU2_Yes _MB(2,7,6,2,0) | |
261 //#define StMHARD6_UpdateCPU2_Now _MB(2,7,6,3,0) | |
262 | |
263 /* PAGE 8 */ | |
264 #define StMSYS _MB(2,8,0,0,0) | |
265 | |
266 /* PAGE 8 EDIT FIELD CONTENT */ | |
267 #define StMSYS1_Date _MB(2,8,1,1,0) | |
268 #define StMSYS1_Time _MB(2,8,1,2,0) | |
269 #define StMSYS1_DDMMYY _MB(2,8,1,3,0) | |
270 #define StMSYS1_MMDDYY _MB(2,8,1,4,0) | |
271 #define StMSYS1_YYMMDD _MB(2,8,1,5,0) | |
272 #define StMSYS1_DST _MB(2,8,1,6,0) | |
273 | |
274 #define StMSYS2_English _MB(2,8,2,1,0) | |
275 #define StMSYS2_German _MB(2,8,2,2,0) | |
276 #define StMSYS2_French _MB(2,8,2,3,0) | |
277 #define StMSYS2_Italian _MB(2,8,2,4,0) | |
278 #define StMSYS2_Espanol _MB(2,8,2,5,0) | |
279 | |
280 #define StMSYS3_Units _MB(2,8,3,1,0) | |
281 #define StMSYS3_Colors _MB(2,8,3,2,0) | |
282 #define StMSYS3_Debug _MB(2,8,3,3,0) | |
283 | |
521
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
284 #define StMSYS4_Info _MB(2,8,4,1,0) |
38 | 285 |
521
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
286 #define StMSYS5_Exit _MB(2,8,5,1,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
287 #define StMSYS5_LogbookOffset _MB(2,8,5,7,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
288 #define StMSYS5_ResetAll _MB(2,8,5,2,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
289 #define StMSYS5_ResetDeco _MB(2,8,5,3,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
290 #define StMSYS5_Reboot _MB(2,8,5,4,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
291 #define StMSYS5_Maintenance _MB(2,8,5,5,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
292 #define StMSYS5_ResetLogbook _MB(2,8,5,6,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
293 #define StMSYS5_SetBattCharge _MB(2,8,5,7,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
294 #define StMSYS5_RebootRTE _MB(2,8,5,8,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
295 #define StMSYS5_RebootMainCPU _MB(2,8,5,9,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
296 #define StMSYS5_ScreenTest _MB(2,8,5,10,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
297 #define StMSYS5_SetFactoryBC _MB(2,8,5,11,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
298 #define StMSYS5_SetSampleIndx _MB(2,8,5,12,0) |
38 | 299 |
506
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
300 /* PAGE 9 */ |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
301 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
302 # define StMCustom _MB(2,9,0,0,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
303 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
304 /* PAGE 9 EDIT FIELD CONTENT */ |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
305 // |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
306 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
307 #define StMCustom1_CViewTimeout _MB(2,9,1,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
308 #define StMCustom1_CViewStandard _MB(2,9,1,2,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
309 #define StMCustom1_CornerTimeout _MB(2,9,1,3,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
310 #define StMCustom1_CornerStandard _MB(2,9,1,4,0) |
521
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
311 #define StMCustom1_ExtraDisplay _MB(2,9,1,5,0) |
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
312 #define StMCustom1_MotionCtrl _MB(2,9,1,6,0) |
506
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
313 |
521
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
314 #define StMCustom2_BFSelection _MB(2,9,2,1,0) |
38 | 315 |
521
e221cf762f45
Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents:
506
diff
changeset
|
316 #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
|
317 #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
|
318 #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
|
319 #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
|
320 #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
|
321 #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
|
322 |
531 | 323 #define StMCustom4_CViewSelection1 _MB(2,9,4,1,0) |
506
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
324 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
325 /* PAGE 10 */ |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
326 #define StMPLAN _MB(2,10,0,0,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
327 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
328 /* PAGE 10 EDIT FIELD CONTENT */ |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
329 #define StMPLAN2_Interval _MB(2,10,2,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
330 #define StMPLAN3_DiveTime _MB(2,10,3,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
331 #define StMPLAN4_MaxDepth _MB(2,10,4,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
332 #define StMPLAN5_ExitResult _MB(2,10,5,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
333 #define StMPLAN4_Settings _MB(2,10,6,1,0) |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
334 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
335 |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
336 |
38 | 337 |
338 | |
339 //#define StMDECO6_SALINITY _MB(2,5,6,1,0) | |
340 //#define StMDECO6_DefaultSAL _MB(2,5,6,2,0) | |
341 | |
342 | |
343 | |
344 | |
506
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
424
diff
changeset
|
345 //#define StMDECO7_AMV _MB(2,5,7,1,0) |
38 | 346 //#define StMDECO7_DefaultAMV _MB(2,5,7,2,0) |
347 //#define StMDECO7_RESERVE _MB(2,5,7,3,0) | |
348 | |
349 | |
350 /* | |
351 typedef struct | |
352 { | |
353 uint32_t id; | |
354 int8_t implemented; | |
355 int8_t enabled; | |
356 uint32_t pointer; | |
357 uint8_t type; | |
358 } SStateOfMachine; | |
359 */ | |
360 | |
361 typedef struct | |
362 { | |
363 uint8_t base; | |
364 uint8_t page; | |
365 uint8_t line; | |
366 uint8_t field; | |
367 uint8_t mode; | |
368 } SStateList; | |
369 | |
370 | |
371 | |
372 #endif /* TSTRUCTURE_H */ | |
373 | |
374 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/ |