comparison Discovery/Inc/tStructure.h @ 1037:2af07aa38531 GasConsumption

Merge with external development branches: Some features have been prepared for integration: Profiles, DMA UART on Firmware part, Bluetooth discovery and messges logging for development phase. All these new function are deactivated by compile switch and may be activated using the configuration.h for testing purpose.
author Ideenmodellierer
date Mon, 15 Sep 2025 21:12:44 +0200
parents 158100a84ebd 5b913cdaa9dc
children f8e2895c91e5
comparison
equal deleted inserted replaced
1029:e938901f6386 1037:2af07aa38531
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 #define InfoPagePreDive 9
69 #define InfoPageLogger 10
69 70
70 #define StI _MB(0,1,0,0,0) 71 #define StI _MB(0,1,0,0,0)
71 #define StILOGLIST _MB(0,2,0,0,0) 72 #define StILOGLIST _MB(0,2,0,0,0)
72 #define StILOGSHOW _MB(0,3,0,0,0) 73 #define StILOGSHOW _MB(0,3,0,0,0)
73 #define StIDIVE _MB(0,4,0,0,0) 74 #define StIDIVE _MB(0,4,0,0,0)
74 #define StISIM _MB(0,5,0,0,0) 75 #define StISIM _MB(0,5,0,0,0)
75 #define StICOMPASS _MB(0,6,0,0,0) 76 #define StICOMPASS _MB(0,6,0,0,0)
76 #define StIDEBUG _MB(0,7,0,0,0) 77 #define StIDEBUG _MB(0,7,0,0,0)
77 #define StISENINFO _MB(0,8,0,0,0) 78 #define StISENINFO _MB(0,8,0,0,0)
78 #define StIPREDIVE _MB(0,9,0,0,0) 79 #define StIPREDIVE _MB(0,9,0,0,0)
80 #define StILOGGER _MB(0,10,0,0,0)
79 81
80 #define StI_GoToLogbook _MB(0,1,1,0,0) 82 #define StI_GoToLogbook _MB(0,1,1,0,0)
81 #define StI_GoToPlanner _MB(0,1,2,0,0) 83 #define StI_GoToPlanner _MB(0,1,2,0,0)
82 #define StI_StartSimulator _MB(0,1,3,0,0) 84 #define StI_StartSimulator _MB(0,1,3,0,0)
83 85
311 #define StMSYS1_YYMMDD _MB(2,8,1,3,3) 313 #define StMSYS1_YYMMDD _MB(2,8,1,3,3)
312 #define StMSYS1_12HR _MB(2,8,1,4,0) 314 #define StMSYS1_12HR _MB(2,8,1,4,0)
313 #define StMSYS1_GNSSDT _MB(2,8,1,5,0) 315 #define StMSYS1_GNSSDT _MB(2,8,1,5,0)
314 #define StMSYS1_ZONE _MB(2,8,1,6,0) 316 #define StMSYS1_ZONE _MB(2,8,1,6,0)
315 317
318 #ifdef ENABLE_SETTING_PROFILES
316 #define StMSYS_Profile _MB(2,8,2,0,0) 319 #define StMSYS_Profile _MB(2,8,2,0,0)
317 #define StMSYS_ProfileA _MB(2,8,2,1,0) 320 #define StMSYS_ProfileA _MB(2,8,2,1,0)
318 #define StMSYS_ProfileB _MB(2,8,2,2,0) 321 #define StMSYS_ProfileB _MB(2,8,2,2,0)
319 #define StMSYS_ProfileC _MB(2,8,2,3,0) 322 #define StMSYS_ProfileC _MB(2,8,2,3,0)
320 #define StMSYS_ProfileD _MB(2,8,2,4,0) 323 #define StMSYS_ProfileD _MB(2,8,2,4,0)
329 #define StMSYS3_Colors _MB(2,8,4,2,0) 332 #define StMSYS3_Colors _MB(2,8,4,2,0)
330 #ifdef HAVE_DEBUG_VIEW 333 #ifdef HAVE_DEBUG_VIEW
331 #define StMSYS3_Debug _MB(2,8,4,3,0) 334 #define StMSYS3_Debug _MB(2,8,4,3,0)
332 #endif 335 #endif
333 336
334 #define StMSYS4_Info _MB(2,8,5,1,0) 337 #define StMSYS4_Info _MB(2,8,5,1,0)
335 338
336 #define StMSYS5_Exit _MB(2,8,6,1,0) 339 #define StMSYS5_Exit _MB(2,8,6,1,0)
337 #define StMSYS5_LogbookOffset _MB(2,8,6,7,0) 340 #define StMSYS5_LogbookOffset _MB(2,8,6,7,0)
338 #define StMSYS5_ResetAll _MB(2,8,6,2,0) 341 #define StMSYS5_ResetAll _MB(2,8,6,2,0)
339 #define StMSYS5_ResetDeco _MB(2,8,6,3,0) 342 #define StMSYS5_ResetDeco _MB(2,8,6,3,0)
348 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0) 351 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0)
349 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0) 352 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
350 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0) 353 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0)
351 #define StMSYS5_FlashBoot _MB(2,8,6,15,0) 354 #define StMSYS5_FlashBoot _MB(2,8,6,15,0)
352 355
356 #else
357
358 #define StMSYS2_English _MB(2,8,2,1,0)
359 #define StMSYS2_German _MB(2,8,2,2,0)
360 #define StMSYS2_French _MB(2,8,2,3,0)
361 #define StMSYS2_Italian _MB(2,8,2,4,0)
362 #define StMSYS2_Espanol _MB(2,8,2,5,0)
363
364 #define StMSYS3_Units _MB(2,8,3,1,0)
365 #define StMSYS3_Colors _MB(2,8,3,2,0)
366 #ifdef HAVE_DEBUG_VIEW
367 #define StMSYS3_Debug _MB(2,8,3,3,0)
368 #endif
369
370 #define StMSYS4_Info _MB(2,8,4,1,0)
371
372 #define StMSYS5_Exit _MB(2,8,5,1,0)
373 #define StMSYS5_LogbookOffset _MB(2,8,5,7,0)
374 #define StMSYS5_ResetAll _MB(2,8,5,2,0)
375 #define StMSYS5_ResetDeco _MB(2,8,5,3,0)
376 #define StMSYS5_Reboot _MB(2,8,5,4,0)
377 #define StMSYS5_Maintenance _MB(2,8,5,5,0)
378 #define StMSYS5_ResetLogbook _MB(2,8,5,6,0)
379 #define StMSYS5_SetBattCharge _MB(2,8,5,7,0)
380 #define StMSYS5_RebootRTE _MB(2,8,5,8,0)
381 #define StMSYS5_RebootMainCPU _MB(2,8,5,9,0)
382 #define StMSYS5_ScreenTest _MB(2,8,5,10,0)
383 #define StMSYS5_SetFactoryBC _MB(2,8,5,11,0)
384 #define StMSYS5_ResetBluetooth _MB(2,8,5,12,0)
385 #define StMSYS5_SetSampleIndx _MB(2,8,5,13,0)
386 #define StMSYS5_AdjustSurfPres _MB(2,8,5,14,0)
387 #define StMSYS5_FlashBoot _MB(2,8,5,15,0)
388 #endif
353 389
354 390
355 #define StMSYS_Custom0 _MB(2,8,1,0,0) 391 #define StMSYS_Custom0 _MB(2,8,1,0,0)
356 #define StMSYS_Custom1 _MB(2,8,2,0,0) 392 #define StMSYS_Custom1 _MB(2,8,2,0,0)
357 #define StMSYS_Custom2 _MB(2,8,3,0,0) 393 #define StMSYS_Custom2 _MB(2,8,3,0,0)
403 #define StMOption_Compass_Inertia _MB(2,10,1,4,0) 439 #define StMOption_Compass_Inertia _MB(2,10,1,4,0)
404 #define StMOption_Compass_Declination _MB(2,10,1,5,0) 440 #define StMOption_Compass_Declination _MB(2,10,1,5,0)
405 441
406 #define StMOption_Timer _MB(2,10,2,0,0) 442 #define StMOption_Timer _MB(2,10,2,0,0)
407 #define StMOption_Timer_Value _MB(2,10,2,1,0) 443 #define StMOption_Timer_Value _MB(2,10,2,1,0)
444
445 #define StMOption_Heartbeat _MB(2,10,3,0,0)
408 446
409 /* PAGE 11 */ 447 /* PAGE 11 */
410 #define StMPLAN _MB(2,11,0,0,0) 448 #define StMPLAN _MB(2,11,0,0,0)
411 449
412 /* PAGE 11 EDIT FIELD CONTENT */ 450 /* PAGE 11 EDIT FIELD CONTENT */