annotate Discovery/Inc/tStructure.h @ 481:89f6857276f8 Improve_Button_Sleep

Bugfix calculation of string center position: Strings shown on the right side at surface mode use special characters ('\016' and '\017') to switch font size. Headline strings like "Desaturation" could also be set to the target font directly, because they do not contain mixed font sizes, but nethertheless they are using the special characters. The function calculating the offset needed to display the strinter with center alignment did not consider the small font size => misalignment during string display. To avoid this an evaluation of the special characters has been added to the helper function.
author ideenmodellierer
date Mon, 18 May 2020 21:51:08 +0200
parents 2b31cf1ebbcc
children 998529b3e142
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)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
61 #define MaskFieldDigit _MB(7,15,255,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
62 #define MaskAllButLine _MB(0,0,255,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
63 #define MaskLineDigit _MB(7,15,0,255,0)
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
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
67
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
68 #define StI _MB(0,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
69 #define StILOGLIST _MB(0,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
70 #define StILOGSHOW _MB(0,3,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
71 #define StIDIVE _MB(0,4,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
72 #define StISIM _MB(0,5,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
73 #define StICOMPASS _MB(0,6,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
74 #define StIDEBUG _MB(0,7,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
75
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
76 #define StI_GoToLogbook _MB(0,1,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
77 #define StI_GoToPlanner _MB(0,1,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
78 #define StI_StartSimulator _MB(0,1,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
79
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
80 #define StISIM_Descend _MB(0,5,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
81 #define StISIM_Ascend _MB(0,5,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
82 #define StISIM_Divetime _MB(0,5,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
83 #define StISIM_Exit _MB(0,5,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
84 #define StISIM_FollowDeco _MB(0,5,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
85
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
86
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
87 #define StDEBUG _MB(1,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
88 #define StS _MB(1,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
89 #define StD _MB(1,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
90 #define StDMGAS _MB(1,2,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
91 #define StDMSPT _MB(1,2,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
92 #define StDMENU _MB(1,2,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
93 #define StDSIM1 _MB(1,2,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
94 #define StDSIM2 _MB(1,2,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
95 #define StDSIM3 _MB(1,2,6,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
96 #define StDSIM4 _MB(1,2,7,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
97 #define StDBEAR _MB(1,2,8,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
98 #define StDRAVG _MB(1,2,9,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
99 #define StDQUIT _MB(1,2,10,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
100
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
101
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
102 #define StUART_STANDARD _MB(3,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
103 #define StUART_RTECONNECT _MB(3,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
104
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
105 #define StStop _MB(6,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
106 #define StBoot0 _MB(7,0,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
107
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
108 /* globalState defines in which visible range the cursor can move */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
109 /* position of the cursor does not affect globalState */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
110 /* next page is a different globalState */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
111 /* next line, field or digit is not a different state */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
112 /* digit is empty at the moment and be reused for future features */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
113
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
114 /* PAGE 1 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
115 #define StMOG _MB(2,1,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
116
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
117 /* PAGE 1 MENU EDIT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
118
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
119 /* PAGE 1 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
120 /* used for PAGE 2 AS WELL */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
121 #define StMOG_Mix _MB(2,1,255,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
122 #define StMOG_GasType _MB(2,1,255,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
123 #define StMOG_ChangeDepth _MB(2,1,255,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
124 #define StMOG_SetToMOD _MB(2,1,255,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
125 #define StMOG_Bottle _MB(2,1,255,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
126
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
127 #define StMOG_MOD _MB(2,1,255,9,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
128
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
129 #define StMOG_First _MB(2,1,255,21,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
130 #define StMOG_Deco _MB(2,1,255,22,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
131 #define StMOG_Travel _MB(2,1,255,23,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
132 #define StMOG_Inactive _MB(2,1,255,24,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
133
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
134 #define StMOG_NoTransmitter _MB(2,1,255,30,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
135 #define StMOG_Transmitter1 _MB(2,1,255,31,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
136 #define StMOG_Transmitter2 _MB(2,1,255,32,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
137 #define StMOG_Transmitter3 _MB(2,1,255,33,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
138 #define StMOG_Transmitter4 _MB(2,1,255,34,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
139 #define StMOG_Transmitter5 _MB(2,1,255,35,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
140 //#define StMOG_Transmitter6 _MB(2,1,255,36,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
141 //#define StMOG_Transmitter7 _MB(2,1,255,37,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
142 //#define StMOG_Transmitter8 _MB(2,1,255,38,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
143 //#define StMOG_Transmitter9 _MB(2,1,255,39,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
144
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
145 #define StMOG_DM_ActiveBase _MB(2,1,6,255,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
146 #define StMOG_DM_ExtraMix _MB(2,1,6,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
147 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
148 #define StMOG_DM_Active1 _MB(2,1,6,255,1)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
149 #define StMOG_DM_Active2 _MB(2,1,6,255,2)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
150 #define StMOG_DM_Active3 _MB(2,1,6,255,3)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
151 #define StMOG_DM_Active4 _MB(2,1,6,255,4)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
152 #define StMOG_DM_Active5 _MB(2,1,6,255,5)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
153 #define StMOG_DM_Active6 _MB(2,1,6,255,6)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
154 #define StMOG_DM_Active7 _MB(2,1,6,255,7)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
155 #define StMOG_DM_Active8 _MB(2,1,6,1,8)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
156 #define StMOG_DM_Active9 _MB(2,1,6,1,9)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
157 #define StMOG_DM_Active10 _MB(2,1,6,1,10)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
158 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
159
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
160 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
161 #define StMOG_Depth _MB(2,1,255, 2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
162 #define StMOG_DefaultDepth _MB(2,1,255, 4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
163 #define StMOG_Reset _MB(2,1,255, 5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
164 #define StMOG_ToggleDefault _MB(2,1,255, 6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
165 #define StMOG_SensorLink _MB(2,1,255, 9,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
166 #define StMOG_Size _MB(2,1,255,10,0)
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 /* PAGE 2 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
170 #define StMCG _MB(2,2,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
171 /* PAGE 3 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
172 #define StMSP _MB(2,3,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
173
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
174 /* PAGE 3 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
175 #define StMSP_ppo2_setting _MB(2,3,255,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
176 #define StMSP_Depth _MB(2,3,255,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
177 #define StMSP_Active _MB(2,3,255,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
178 #define StMSP_First _MB(2,3,255,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
179 #define StMSP_Select _MB(2,3,255,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
180 #define StMSP_Sensor1 _MB(2,3,255,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
181 #define StMSP_Sensor2 _MB(2,3,255,7,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
182 #define StMSP_Sensor3 _MB(2,3,255,8,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
183
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
184 /* PAGE 4 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
185 #define StMXTRA _MB(2,4,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
186
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
187 /* PAGE 4 MENU EDIT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
188 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
189 #define StMXTRA_CompassHeading _MB(2,4,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
190
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
191 /* PAGE 5 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
192 #define StMDECO _MB(2,5,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
193
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
194 /* PAGE 5 MENU EDIT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
195 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
196 #define StMDECO1 _MB(2,5,1,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
197 #define StMDECO2 _MB(2,5,2,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
198 #define StMDECO3 _MB(2,5,3,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
199 #define StMDECO4 _MB(2,5,4,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
200 #define StMDECO5 _MB(2,5,5,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
201 #define StMDECO6 _MB(2,5,6,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
202 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
203
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
204 /* PAGE 5 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
205 #define StMDECO1_OC _MB(2,5,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
206 #define StMDECO1_CC _MB(2,5,1,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
207 #define StMDECO1_Apnea _MB(2,5,1,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
208 #define StMDECO1_Gauge _MB(2,5,1,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
209
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
210 #define StMDECO2_CCRmode _MB(2,5,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
211 #define StMDECO3_PPO2Max _MB(2,5,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
212 #define StMDECO4_SafetyStop _MB(2,5,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
213 #define StMDECO5_FUTURE _MB(2,5,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
214 #define StMDECO6_SALINITY _MB(2,5,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
215
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
216 /* PAGE 6 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
217 #define StMDECOP _MB(2,6,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
218
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
219 #define StMDECOP1_Algorithm _MB(2,6,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
220 #define StMDECOP2_VPM _MB(2,6,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
221 #define StMDECOP3_GF _MB(2,6,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
222 #define StMDECOP4_AltGF _MB(2,6,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
223 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
224
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
225 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
226 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
227 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
228
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
229 /* PAGE 7 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
230 #define StMHARD _MB(2,7,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
231
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
232 /* PAGE 7 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
233
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
234
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
235 #define StMHARD1_Bluetooth _MB(2,7,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
236
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
237 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
238 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
239 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
240
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
241 //#define StMHARD2_Exit _MB(2,7,2,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
242
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
243 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
244 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
245 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
246 #define StMHARD3_O2_Fallback _MB(2,7,3,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
247
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
248 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
249 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
250 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
251 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
252
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
253 #define StMHARD5_Button1 _MB(2,7,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
254 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
255 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
256 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
257
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
258 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
259 //#define StMHARD6_UpdateCPU2_Yes _MB(2,7,6,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
260 //#define StMHARD6_UpdateCPU2_Now _MB(2,7,6,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
261
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
262 /* PAGE 8 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
263 #define StMSYS _MB(2,8,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
264
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
265 /* PAGE 8 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
266 #define StMSYS1_Date _MB(2,8,1,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
267 #define StMSYS1_Time _MB(2,8,1,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
268 #define StMSYS1_DDMMYY _MB(2,8,1,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
269 #define StMSYS1_MMDDYY _MB(2,8,1,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
270 #define StMSYS1_YYMMDD _MB(2,8,1,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
271 #define StMSYS1_DST _MB(2,8,1,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
272
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
273 #define StMSYS2_English _MB(2,8,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
274 #define StMSYS2_German _MB(2,8,2,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
275 #define StMSYS2_French _MB(2,8,2,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
276 #define StMSYS2_Italian _MB(2,8,2,4,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
277 #define StMSYS2_Espanol _MB(2,8,2,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
278
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
279 #define StMSYS3_Units _MB(2,8,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
280 #define StMSYS3_Colors _MB(2,8,3,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
281 #define StMSYS3_Debug _MB(2,8,3,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
282
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
283 #define StMSYS4_CViewTimeout _MB(2,8,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
284 #define StMSYS4_CViewStandard _MB(2,8,4,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
285 #define StMSYS4_CornerTimeout _MB(2,8,4,3,0)
368
50ea68c7a153 Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents: 138
diff changeset
286 #define StMSYS4_CornerStandard _MB(2,8,4,4,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
287 #define StMSYS4_ExtraDisplay _MB(2,8,4,5,0)
368
50ea68c7a153 Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents: 138
diff changeset
288 #define StMSYS4_MotionCtrl _MB(2,8,4,6,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
289
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
290 #define StMSYS5_Info _MB(2,8,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
291
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
292
424
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
293 #define StMSYS6_Exit _MB(2,8,6,1,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
294 #define StMSYS6_LogbookOffset _MB(2,8,6,7,0)
424
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
295 #define StMSYS6_ResetAll _MB(2,8,6,2,0)
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
296 #define StMSYS6_ResetDeco _MB(2,8,6,3,0)
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
297 #define StMSYS6_Reboot _MB(2,8,6,4,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
298 #define StMSYS6_Maintenance _MB(2,8,6,5,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
299 #define StMSYS6_ResetLogbook _MB(2,8,6,6,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
300 #define StMSYS6_SetBattCharge _MB(2,8,6,7,0)
424
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
301 #define StMSYS6_RebootRTE _MB(2,8,6,8,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
302 #define StMSYS6_RebootMainCPU _MB(2,8,6,9,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
303 #define StMSYS6_ScreenTest _MB(2,8,6,10,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
304 #define StMSYS6_SetFactoryBC _MB(2,8,6,11,0)
424
2b31cf1ebbcc Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents: 382
diff changeset
305 #define StMSYS6_SetSampleIndx _MB(2,8,6,12,0)
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
306
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
307 /* PAGE 9 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
308 #define StMPLAN _MB(2,9,0,0,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
309
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
310 /* PAGE 9 EDIT FIELD CONTENT */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
311 #define StMPLAN2_Interval _MB(2,9,2,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
312 #define StMPLAN3_DiveTime _MB(2,9,3,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
313 #define StMPLAN4_MaxDepth _MB(2,9,4,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
314 #define StMPLAN5_ExitResult _MB(2,9,5,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
315 #define StMPLAN4_Settings _MB(2,9,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
316
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
317
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
318 //#define StMDECO6_SALINITY _MB(2,5,6,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
319 //#define StMDECO6_DefaultSAL _MB(2,5,6,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
320
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
321
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
322
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
323
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
324 //#define StMDECO7_AMV _MB(2,5,7,1,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
325 //#define StMDECO7_DefaultAMV _MB(2,5,7,2,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
326 //#define StMDECO7_RESERVE _MB(2,5,7,3,0)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
327
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
328
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
329 /*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
330 typedef struct
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
331 {
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
332 uint32_t id;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
333 int8_t implemented;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
334 int8_t enabled;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
335 uint32_t pointer;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
336 uint8_t type;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
337 } SStateOfMachine;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
338 */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
339
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
340 typedef struct
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
341 {
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
342 uint8_t base;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
343 uint8_t page;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
344 uint8_t line;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
345 uint8_t field;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
346 uint8_t mode;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
347 } SStateList;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
348
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
349
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
350
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
351 #endif /* TSTRUCTURE_H */
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
352
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
353 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/