Mercurial > public > ostc4
comparison Discovery/Inc/tStructure.h @ 981:c6c781a2e85b default
Merge into default
| author | heinrichsweikamp |
|---|---|
| date | Tue, 11 Feb 2025 18:12:00 +0100 |
| parents | 9b418e63dbc2 |
| children | c317130aaafc |
comparison
equal
deleted
inserted
replaced
| 871:f7318457df4d | 981:c6c781a2e85b |
|---|---|
| 63 #define MaskLineDigit _MB(7,15,0,255,0) | 63 #define MaskLineDigit _MB(7,15,0,255,0) |
| 64 #define InfoPageLogList 2 | 64 #define InfoPageLogList 2 |
| 65 #define InfoPageLogShow 3 | 65 #define InfoPageLogShow 3 |
| 66 #define InfoPageCompass 6 | 66 #define InfoPageCompass 6 |
| 67 #define InfoPageSensor 8 | 67 #define InfoPageSensor 8 |
| 68 #define InfoPagePreDive 9 | |
| 68 | 69 |
| 69 #define StI _MB(0,1,0,0,0) | 70 #define StI _MB(0,1,0,0,0) |
| 70 #define StILOGLIST _MB(0,2,0,0,0) | 71 #define StILOGLIST _MB(0,2,0,0,0) |
| 71 #define StILOGSHOW _MB(0,3,0,0,0) | 72 #define StILOGSHOW _MB(0,3,0,0,0) |
| 72 #define StIDIVE _MB(0,4,0,0,0) | 73 #define StIDIVE _MB(0,4,0,0,0) |
| 73 #define StISIM _MB(0,5,0,0,0) | 74 #define StISIM _MB(0,5,0,0,0) |
| 74 #define StICOMPASS _MB(0,6,0,0,0) | 75 #define StICOMPASS _MB(0,6,0,0,0) |
| 75 #define StIDEBUG _MB(0,7,0,0,0) | 76 #define StIDEBUG _MB(0,7,0,0,0) |
| 76 #define StISENINFO _MB(0,8,0,0,0) | 77 #define StISENINFO _MB(0,8,0,0,0) |
| 78 #define StIPREDIVE _MB(0,9,0,0,0) | |
| 77 | 79 |
| 78 #define StI_GoToLogbook _MB(0,1,1,0,0) | 80 #define StI_GoToLogbook _MB(0,1,1,0,0) |
| 79 #define StI_GoToPlanner _MB(0,1,2,0,0) | 81 #define StI_GoToPlanner _MB(0,1,2,0,0) |
| 80 #define StI_StartSimulator _MB(0,1,3,0,0) | 82 #define StI_StartSimulator _MB(0,1,3,0,0) |
| 81 | 83 |
| 127 /* used for PAGE 2 AS WELL */ | 129 /* used for PAGE 2 AS WELL */ |
| 128 #define StMOG_Mix _MB(2,1,255,1,0) | 130 #define StMOG_Mix _MB(2,1,255,1,0) |
| 129 #define StMOG_GasType _MB(2,1,255,2,0) | 131 #define StMOG_GasType _MB(2,1,255,2,0) |
| 130 #define StMOG_ChangeDepth _MB(2,1,255,3,0) | 132 #define StMOG_ChangeDepth _MB(2,1,255,3,0) |
| 131 #define StMOG_SetToMOD _MB(2,1,255,4,0) | 133 #define StMOG_SetToMOD _MB(2,1,255,4,0) |
| 132 #define StMOG_Bottle _MB(2,1,255,5,0) | 134 #define StMOG_CalcDeco _MB(2,1,255,5,0) |
| 135 /* #define StMOG_Bottle _MB(2,1,255,5,0) */ | |
| 133 | 136 |
| 134 #define StMOG_MOD _MB(2,1,255,9,0) | 137 #define StMOG_MOD _MB(2,1,255,9,0) |
| 135 | 138 |
| 136 #define StMOG_First _MB(2,1,255,21,0) | 139 #define StMOG_First _MB(2,1,255,21,0) |
| 137 #define StMOG_Deco _MB(2,1,255,22,0) | 140 #define StMOG_Deco _MB(2,1,255,22,0) |
| 199 | 202 |
| 200 /* PAGE 4 MENU EDIT */ | 203 /* PAGE 4 MENU EDIT */ |
| 201 /* DIVE MODE */ | 204 /* DIVE MODE */ |
| 202 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0) | 205 #define StMXTRA_ResetStopwatch _MB(2,4,1,1,0) |
| 203 #define StMXTRA_CompassHeading _MB(2,4,2,1,0) | 206 #define StMXTRA_CompassHeading _MB(2,4,2,1,0) |
| 204 #define StMXTRA_CompassHeadingClear _MB(2,4,2,2,0) | 207 #define StMXTRA_CompassHeadingReverse _MB(2,4,2,2,0) |
| 205 #define StMXTRA_CompassHeadingReset _MB(2,4,2,3,0) | 208 #define StMXTRA_CompassHeadingClear _MB(2,4,2,3,0) |
| 209 #define StMXTRA_CompassHeadingReset _MB(2,4,2,4,0) | |
| 210 #define StMXTRA_CompassHeadingLog _MB(2,4,2,5,0) | |
| 206 | 211 |
| 207 /* SURFACE MODE */ | 212 /* SURFACE MODE */ |
| 208 | 213 |
| 209 #define StMXTRA_CCRmode _MB(2,4,1,1,0) | 214 #define StMXTRA_CCRmode _MB(2,4,1,1,0) |
| 210 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0) | 215 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0) |
| 211 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0) | 216 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0) |
| 212 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0) | 217 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0) |
| 213 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0) | 218 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0) |
| 214 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0) | 219 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0) |
| 215 | |
| 216 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0) | 220 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0) |
| 217 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0) | 221 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0) |
| 218 #define StMXTRA_CO2_Sensor _MB(2,4,5,1,0) | 222 #define StMXTRA_Predive_Check _MB(2,4,5,1,0) |
| 219 #define StMXTRA_CO2_Sensor_Calib _MB(2,4,5,2,0) | 223 |
| 220 | 224 |
| 221 | 225 |
| 222 | 226 |
| 223 | 227 |
| 224 /* PAGE 5 */ | 228 /* PAGE 5 */ |
| 241 #define StMDECO1_Gauge _MB(2,5,1,4,0) | 245 #define StMDECO1_Gauge _MB(2,5,1,4,0) |
| 242 #define StMDECO1_PSCR _MB(2,5,1,5,0) | 246 #define StMDECO1_PSCR _MB(2,5,1,5,0) |
| 243 | 247 |
| 244 #define StMDECO3_PPO2Max _MB(2,5,2,1,0) | 248 #define StMDECO3_PPO2Max _MB(2,5,2,1,0) |
| 245 #define StMDECO4_SafetyStop _MB(2,5,3,1,0) | 249 #define StMDECO4_SafetyStop _MB(2,5,3,1,0) |
| 246 #define StMDECO5_FUTURE _MB(2,5,4,1,0) | 250 #define StMDECO_SlowExit _MB(2,5,4,1,0) |
| 247 #define StMDECO6_SALINITY _MB(2,5,5,1,0) | 251 #define StMDECO5_FUTURE _MB(2,5,5,1,0) |
| 252 #define StMDECO6_SALINITY _MB(2,5,6,1,0) | |
| 248 | 253 |
| 249 /* PAGE 6 */ | 254 /* PAGE 6 */ |
| 250 #define StMDECOP _MB(2,6,0,0,0) | 255 #define StMDECOP _MB(2,6,0,0,0) |
| 251 | 256 |
| 252 #define StMDECOP1_Algorithm _MB(2,6,1,1,0) | 257 #define StMDECOP1_Algorithm _MB(2,6,1,1,0) |
| 253 #define StMDECOP2_VPM _MB(2,6,2,1,0) | 258 #define StMDECOP2_VPM _MB(2,6,2,1,0) |
| 254 #define StMDECOP3_GF _MB(2,6,3,1,0) | 259 #define StMDECOP3_GF _MB(2,6,3,1,0) |
| 255 #define StMDECOP4_AltGF _MB(2,6,4,1,0) | 260 #define StMDECOP4_AltGF _MB(2,6,4,1,0) |
| 256 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0) | 261 #define StMDECOP5_LASTSTOP _MB(2,6,5,1,0) |
| 262 #define StMDECOP6_VPMTable _MB(2,6,6,1,0) | |
| 257 | 263 |
| 258 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0) | 264 #define StMDECOP7_ActiveGF _MB(2,6,7,1,0) |
| 259 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0) | 265 #define StMDECOP8_ActiveVPM _MB(2,6,8,1,0) |
| 260 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0) | 266 #define StMDECOP9_ActiveAltGF _MB(2,6,9,1,0) |
| 261 | 267 |
| 265 /* PAGE 7 EDIT FIELD CONTENT */ | 271 /* PAGE 7 EDIT FIELD CONTENT */ |
| 266 | 272 |
| 267 | 273 |
| 268 #define StMHARD1_Bluetooth _MB(2,7,1,1,0) | 274 #define StMHARD1_Bluetooth _MB(2,7,1,1,0) |
| 269 | 275 |
| 276 #define StMHARD2_Compass _MB(2,7,2,0,0) | |
| 270 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) | 277 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) |
| 271 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) | 278 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) |
| 272 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) | 279 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) |
| 273 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) | 280 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) |
| 274 #define StMHARD2_Compass_Declination _MB(2,7,2,6,0) | 281 #define StMHARD2_Compass_Declination _MB(2,7,2,6,0) |
| 301 | 308 |
| 302 /* PAGE 8 */ | 309 /* PAGE 8 */ |
| 303 #define StMSYS _MB(2,8,0,0,0) | 310 #define StMSYS _MB(2,8,0,0,0) |
| 304 | 311 |
| 305 /* PAGE 8 EDIT FIELD CONTENT */ | 312 /* PAGE 8 EDIT FIELD CONTENT */ |
| 306 #define StMSYS1_Date _MB(2,8,1,1,0) | 313 #define StMSYS1_DateTime _MB(2,8,1,0,0) |
| 307 #define StMSYS1_Time _MB(2,8,1,2,0) | 314 #define StMSYS1_Date _MB(2,8,1,1,0) |
| 308 #define StMSYS1_DDMMYY _MB(2,8,1,3,0) | 315 #define StMSYS1_Time _MB(2,8,1,2,0) |
| 309 #define StMSYS1_MMDDYY _MB(2,8,1,4,0) | 316 #define StMSYS1_FORMAT _MB(2,8,1,3,0) |
| 310 #define StMSYS1_YYMMDD _MB(2,8,1,5,0) | 317 #define StMSYS1_DDMMYY _MB(2,8,1,3,1) |
| 311 #define StMSYS1_DST _MB(2,8,1,6,0) | 318 #define StMSYS1_MMDDYY _MB(2,8,1,3,2) |
| 312 #define StMSYS1_12HR _MB(2,8,1,7,0) | 319 #define StMSYS1_YYMMDD _MB(2,8,1,3,3) |
| 320 #define StMSYS1_12HR _MB(2,8,1,4,0) | |
| 321 #define StMSYS1_GNSSDT _MB(2,8,1,5,0) | |
| 322 #define StMSYS1_ZONE _MB(2,8,1,6,0) | |
| 313 | 323 |
| 314 #define StMSYS_Timer _MB(2,8,2,1,0) | 324 #define StMSYS_Timer _MB(2,8,2,1,0) |
| 315 | 325 |
| 316 #define StMSYS2_English _MB(2,8,3,1,0) | 326 #define StMSYS2_English _MB(2,8,3,1,0) |
| 317 #define StMSYS2_German _MB(2,8,3,2,0) | 327 #define StMSYS2_German _MB(2,8,3,2,0) |
| 337 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0) | 347 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0) |
| 338 #define StMSYS5_ScreenTest _MB(2,8,6,10,0) | 348 #define StMSYS5_ScreenTest _MB(2,8,6,10,0) |
| 339 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0) | 349 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0) |
| 340 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0) | 350 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0) |
| 341 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0) | 351 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0) |
| 352 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0) | |
| 342 | 353 |
| 343 #define StMSYS_Custom0 _MB(2,8,1,0,0) | 354 #define StMSYS_Custom0 _MB(2,8,1,0,0) |
| 344 #define StMSYS_Custom1 _MB(2,8,2,0,0) | 355 #define StMSYS_Custom1 _MB(2,8,2,0,0) |
| 345 #define StMSYS_Custom2 _MB(2,8,3,0,0) | 356 #define StMSYS_Custom2 _MB(2,8,3,0,0) |
| 346 #define StMSYS_Custom3 _MB(2,8,4,0,0) | 357 #define StMSYS_Custom3 _MB(2,8,4,0,0) |
| 355 // | 366 // |
| 356 | 367 |
| 357 #define StMCustom1_CViewTimeout _MB(2,9,1,1,0) | 368 #define StMCustom1_CViewTimeout _MB(2,9,1,1,0) |
| 358 #define StMCustom1_CViewStandard _MB(2,9,1,2,0) | 369 #define StMCustom1_CViewStandard _MB(2,9,1,2,0) |
| 359 #define StMCustom1_CViewStandardBF _MB(2,9,1,3,0) | 370 #define StMCustom1_CViewStandardBF _MB(2,9,1,3,0) |
| 360 #define StMCustom1_CornerTimeout _MB(2,9,1,4,0) | 371 #define StMCustom1_CViewAutoFocusBF _MB(2,9,1,4,0) |
| 361 #define StMCustom1_CornerStandard _MB(2,9,1,5,0) | 372 #define StMCustom1_CornerTimeout _MB(2,9,1,5,0) |
| 373 #define StMCustom1_CornerStandard _MB(2,9,1,6,0) | |
| 362 | 374 |
| 363 #define StMCustom2_BFSelection _MB(2,9,2,1,0) | 375 #define StMCustom2_BFSelection _MB(2,9,2,1,0) |
| 364 | 376 |
| 365 #define StMCustom3_CViewSelection1 _MB(2,9,3,1,0) | 377 #define StMCustom3_CViewSelection1 _MB(2,9,3,1,0) |
| 366 #define StMCustom3_CViewSelection2 _MB(2,9,3,2,0) | 378 #define StMCustom3_CViewSelection2 _MB(2,9,3,2,0) |
| 369 #define StMCustom3_CViewSelection5 _MB(2,9,3,5,0) | 381 #define StMCustom3_CViewSelection5 _MB(2,9,3,5,0) |
| 370 #define StMCustom3_CViewSelection6 _MB(2,9,3,6,0) | 382 #define StMCustom3_CViewSelection6 _MB(2,9,3,6,0) |
| 371 | 383 |
| 372 #define StMCustom4_CViewSelection1 _MB(2,9,4,1,0) | 384 #define StMCustom4_CViewSelection1 _MB(2,9,4,1,0) |
| 373 | 385 |
| 386 #ifdef ENABLE_MOTION_CONTROL | |
| 374 #define StMCustom5_CViewPortCalib _MB(2,9,5,1,0) | 387 #define StMCustom5_CViewPortCalib _MB(2,9,5,1,0) |
| 375 #define StMCustom5_CViewPortSpotSize _MB(2,9,5,2,0) | 388 #define StMCustom5_CViewPortSpotSize _MB(2,9,5,2,0) |
| 376 #define StMCustom5_CViewPortLayout _MB(2,9,5,3,0) | 389 #define StMCustom5_CViewPortLayout _MB(2,9,5,3,0) |
| 377 #define StMCustom5_CViewPortAmbient _MB(2,9,5,4,0) | 390 #define StMCustom5_CViewPortAmbient _MB(2,9,5,4,0) |
| 378 #define StMCustom5_CViewPortControl _MB(2,9,5,5,0) | 391 #define StMCustom5_CViewPortControl _MB(2,9,5,5,0) |
| 379 | 392 #endif |
| 393 #ifdef ENABLE_GPIO_V2 | |
| 394 #define StMCustom5_CViewWarningBuz _MB(2,9,5,1,0) | |
| 395 #endif | |
| 380 | 396 |
| 381 /* PAGE 10 */ | 397 /* PAGE 10 */ |
| 382 #define StMPLAN _MB(2,10,0,0,0) | 398 #define StMPLAN _MB(2,10,0,0,0) |
| 383 | 399 |
| 384 /* PAGE 10 EDIT FIELD CONTENT */ | 400 /* PAGE 10 EDIT FIELD CONTENT */ |
