Mercurial > public > hwos_code
annotate src/tft_outputs.inc @ 108:24e8bac09013
language updates
author | heinrichsweikamp |
---|---|
date | Wed, 04 Jun 2014 19:19:18 +0200 |
parents | 223579e905c3 |
children | f3062a611eef |
rev | line source |
---|---|
0 | 1 ;============================================================================= |
2 ; | |
3 ; File tft_outputs.inc | |
4 ; | |
5 ; | |
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | |
7 ;============================================================================= | |
8 ; HISTORY | |
9 ; 2011-08-07 : [mH] moving from OSTC code | |
10 | |
11 ; Macros | |
12 extern TFT_color_code1 | |
13 TFT_color_code macro color_code_temp | |
14 movlw color_code_temp | |
15 call TFT_color_code1 | |
16 endm | |
17 | |
18 ; Surface mode | |
19 extern TFT_serial | |
20 extern TFT_clock | |
21 extern TFT_date | |
22 extern TFT_desaturation_time | |
23 extern TFT_nofly_time | |
24 extern TFT_interval | |
25 extern TFT_gaslist_surfmode | |
26 extern TFT_dillist_surfmode | |
27 extern TFT_splist_surfmode ; Show Setpoint list | |
28 extern TFT_temp_surfmode | |
29 extern TFT_update_batt_voltage | |
30 extern TFT_display_decotype_surface | |
31 extern TFT_display_decotype_surface1 ; Used from logbook! | |
32 extern TFT_update_surf_press | |
33 extern TFT_surface_hud ; Update HUD data in surface mode | |
34 ; extern TFT_user_image | |
35 ; extern TFT_clear_customview_surfacemode | |
36 extern TFT_menu_hud ; Update HUD data in menu (including mV) | |
37 extern TFT_custom_text ; The custom text | |
38 extern TFT_surface_tissues ; Show Tissue diagram in surface mode | |
39 extern TFT_surface_compass_mask ; Compass heading mask | |
40 extern TFT_surface_compass_heading ; Compass heading value | |
41 | 41 extern TFT_surface_decosettings ; Show all deco settings |
76 | 42 extern TFT_cat_serial ; Add serial to current string |
43 extern TFT_cat_firmware ; Add firmware version to current string | |
90
3274e87fd027
NEW: automatic compass gain makes calibration quicker
heinrichsweikamp
parents:
76
diff
changeset
|
44 extern TFT_compass_show_gain ; Show the current compass gain |
94
f2201aa374db
BUGFIX: compass calibration does now timeout automatically after 60s
heinrichsweikamp
parents:
90
diff
changeset
|
45 extern TFT_show_timeout_testmode ; Show the timeout during calibration |
0 | 46 ; Menu |
47 extern TFT_LogOffset_Logtitle | |
50 | 48 extern TFT_show_color_schemes ; Yes, update the color schemes |
0 | 49 |
50 ; Debug and useless stuff | |
51 extern TFT_update_raw_data | |
67 | 52 extern TFT_update_raw_data2 |
0 | 53 extern TFT_compass_fast |
54 | |
55 ; Dive mode | |
56 extern TFT_display_cns | |
57 extern TFT_divemins | |
58 extern TFT_depth | |
59 extern TFT_temp_divemode | |
60 extern TFT_max_pressure | |
61 extern TFT_active_gas_divemode | |
62 extern TFT_divemode_mask | |
63 extern TFT_display_ndl_mask | |
64 extern TFT_show_TTS_divemode | |
65 extern TFT_display_ndl | |
66 extern TFT_display_deko_mask | |
67 extern TFT_divemode_warning | |
68 extern TFT_divemode_warning_clear | |
69 extern TFT_display_velocity_clear | |
70 extern TFT_display_velocity | |
71 extern TFT_clear_customview_divemode | |
72 extern TFT_display_deko | |
73 extern TFT_display_ppo2 | |
74 extern TFT_update_batt_percent_divemode | |
75 extern TFT_display_apnoe_descent | |
76 extern TFT_apnoe_clear_surface | |
77 extern TFT_display_apnoe_surface | |
78 extern TFT_display_apnoe_last_max | |
79 extern TFT_ftts | |
80 extern TFT_clear_warning_text | |
81 extern TFT_clear_warning_text_2nd_row | |
82 extern TFT_warning_gf | |
83 extern TFT_update_hud ; Update HUD data | |
84 extern TFT_hud_mask ; The HUD mask | |
85 extern TFT_mask_avr_stopwatch ; Show mask for average depth and stopwatch | |
86 extern TFT_update_avr_stopwatch ; Update average depth and stopwatch | |
87 extern TFT_decoplan ; Decoplan | |
88 extern TFT_clear_divemode_menu ; Clear the divemode menu | |
89 extern TFT_divemode_menu_cursor ; the divemode cursor | |
90 extern TFT_ead_end_tissues_clock_mask ; Setup Mask | |
91 extern TFT_ead_end_tissues_clock ; Show EAD/END, Tissues and clock | |
92 extern TFT_gf_mask ; Setup Mask | |
93 extern TFT_gf_info ; Show GF informations | |
94 extern TFT_warning_agf ; Show a warning if aGF is selected | |
95 extern TFT_dive_compass_mask ; Compass mask | |
96 extern TFT_dive_compass_heading ; Compass heading | |
53
2825f1d2262f
NEW: Dynamic Gaslist in OC mode (Divemode, Customview 7)
heinrichsweikamp
parents:
50
diff
changeset
|
97 extern TFT_dyn_gaslist ; Show the dyn gaslist |
55 | 98 extern TFT_divetimeout ; Show timeout counter |
102
37275e0fa7f5
NEW: Show End-of-Dive time together with clock during deco
heinrichsweikamp
parents:
99
diff
changeset
|
99 extern TFT_hud_voltages ; Show HUD details |
104
223579e905c3
Show a Safety Stop if enabled (Menu "Deco Parameters")
heinrichsweikamp
parents:
102
diff
changeset
|
100 extern TFT_show_safety_stop ; Show the safety stop |
223579e905c3
Show a Safety Stop if enabled (Menu "Deco Parameters")
heinrichsweikamp
parents:
102
diff
changeset
|
101 extern TFT_clear_decoarea ; Cleanup deco area on screen |
0 | 102 |
103 ; Misc | |
104 extern TFT_standard_color | |
105 extern TFT_disabled_color | |
50 | 106 extern TFT_attention_color |
107 extern TFT_warnings_color | |
99
87cc1adfe4da
show event "bailout" in the internal logbook
heinrichsweikamp
parents:
94
diff
changeset
|
108 extern adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |
87cc1adfe4da
show event "bailout" in the internal logbook
heinrichsweikamp
parents:
94
diff
changeset
|
109 extern adjust_depth_with_salinity_log ; computes salinity setting (FROM WREG!) into lo:hi [mbar] |
0 | 110 extern TFT_convert_date_short |
111 extern TFT_convert_signed_16bit | |
112 extern TFT_convert_date | |
113 extern TFT_debug_output | |
114 extern TFT_show_time_date_menu | |
115 extern convert_mbar_to_feet ; convert value in lo:hi from mbar to feet | |
116 extern convert_celsius_to_fahrenheit ; convert value in lo:hi from celsius to fahrenheit |