Mercurial > public > hwos_code
annotate src/tft_outputs.inc @ 631:185ba2f91f59
3.09 beta 1 release
author | heinrichsweikamp |
---|---|
date | Fri, 28 Feb 2020 15:45:07 +0100 |
parents | cd58f7fc86db |
children | 4050675965ea |
rev | line source |
---|---|
0 | 1 ;============================================================================= |
2 ; | |
631 | 3 ; File tft_outputs.inc next combined generation V3.08.8 |
0 | 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 | |
604 | 11 ; Surface Mode |
503
4542d03f748a
NEW: Last Dive customviews in surface mode with divetime, depth and interval
heinrichsweikamp
parents:
482
diff
changeset
|
12 extern TFT_surface_lastdive |
623 | 13 extern TFT_show_OC_startgas_surface ; first gas and "OSTC2-like" active gases |
14 extern TFT_time_surfmode | |
15 extern TFT_date_surfmode | |
0 | 16 extern TFT_desaturation_time |
17 extern TFT_nofly_time | |
18 extern TFT_gaslist_surfmode | |
623 | 19 extern TFT_pres_surfmode |
20 extern TFT_temp_surfmode ; current temperature (common core with divemode temp) | |
21 extern TFT_batt_surfmode | |
22 extern TFT_decotype_surface | |
23 extern TFT_decotype_logbook ; used from logbook | |
604 | 24 extern TFT_custom_text ; the custom text |
623 | 25 extern TFT_surface_tissues ; tissue diagram in surface mode |
26 extern TFT_surface_decosettings ; all deco settings | |
27 extern show_fw_mesg_update ; firmware is updated message | |
28 extern show_fw_mesg_kept ; firmware is kept message | |
604 | 29 extern TFT_cat_serial ; add serial to current string |
30 extern TFT_cat_firmware ; add firmware version to current string | |
31 extern TFT_cat_beta_release ; add beta/release to current string | |
623 | 32 |
33 IFDEF _compass | |
604 | 34 extern TFT_surf_set_bearing |
623 | 35 ENDIF |
36 | |
37 IFDEF _ccr_pscr | |
38 extern TFT_dillist_surfmode | |
39 extern TFT_splist_surfmode ; setpoint list | |
40 ENDIF | |
41 | |
42 IFDEF _external_sensor | |
43 extern TFT_menu_calibrate ; update mV data in menu | |
44 extern TFT_surface_sensor ; update sensor data in surface mode | |
45 extern TFT_sensor_surface_warning ; sensor end-of-lifetime symbol | |
46 ENDIF | |
47 | |
560 | 48 |
0 | 49 ; Menu |
623 | 50 extern TFT_LogOffset |
604 | 51 extern TFT_show_color_schemes ; update the color schemes |
52 extern TFT_show_time_date_menu | |
623 | 53 extern TFT_show_time_date_menu_fast |
54 extern TFT_show_serial_and_firmware | |
55 extern TFT_show_firmware | |
628 | 56 extern info_menu_total_dives |
0 | 57 |
604 | 58 ; Dive Mode |
623 | 59 extern TFT_show_cns |
60 extern TFT_show_divetime | |
61 extern TFT_show_depth | |
62 extern TFT_show_max_depth | |
63 extern TFT_show_temp_divemode ; current temperature (common core with surface temp) | |
64 extern TFT_show_active_gas_divemode ; active gas and setpoint | |
65 extern TFT_show_divemode_mask | |
66 extern TFT_show_menu_cursor_divemode ; the divemode cursor | |
67 extern TFT_show_ndl_mask | |
68 extern TFT_show_ndl | |
69 extern TFT_show_tts | |
70 extern TFT_show_deco_mask | |
71 extern TFT_show_deco | |
72 extern TFT_divemode_sign_show | |
73 extern TFT_divemode_sign_clear | |
74 extern TFT_velocity_show | |
315
4f83470dcece
VSIbar #3: remaining changes for the split style bar
Janos Kovacs <kovjanos@gmail.com>
parents:
292
diff
changeset
|
75 extern TFT_velocity_clear |
623 | 76 extern TFT_show_ppo2_mask |
77 extern TFT_show_ppo2_warning | |
78 extern TFT_msg_batt_percent_divemode | |
79 extern TFT_show_apnoe_times | |
80 extern TFT_clear_apnoe_surface | |
81 extern TFT_show_apnoe_surface | |
82 extern TFT_show_apnoe_max_depth | |
83 extern TFT_show_ftts | |
604 | 84 extern TFT_clear_divemode_menu ; clear the divemode menu |
623 | 85 extern TFT_clear_message_window |
86 extern TFT_clear_message_window_row2 | |
631 | 87 extern TFT_warning_saturation |
604 | 88 extern TFT_warning_agf ; show a warning if aGF is selected |
89 extern TFT_divetimeout ; show timeout counter | |
623 | 90 extern TFT_safety_stop_show ; show the safety stop |
91 extern TFT_safety_stop_clear ; clear safety stop | |
92 extern TFT_clear_deco_data ; clear deco data (NDL or stop & TTS) | |
604 | 93 extern TFT_warning_fallback ; show fallback warning |
631 | 94 extern TFT_warning_gas_needs |
95 extern TFT_attention_gas_needs | |
604 | 96 extern TFT_advice_gas_change |
97 extern TFT_warning_no_BO_gas | |
623 | 98 extern TFT_warning_eod_cns |
560 | 99 extern TFT_warning_mbubbles |
100 extern TFT_warning_outside | |
623 | 101 extern TFT_warning_depth |
560 | 102 extern TFT_info_deco |
604 | 103 |
623 | 104 IFDEF _helium |
105 extern TFT_warning_IBCD | |
106 ENDIF | |
107 | |
108 IFDEF _external_sensor | |
109 extern TFT_warning_sensor_disagree | |
110 ENDIF | |
111 | |
631 | 112 ; Date |
113 extern TFT_convert_date ; print day, month and year | |
114 extern TFT_convert_date_short ; print day and month | |
623 | 115 |
604 | 116 ; Divemode Custom Views |
117 extern TFT_avr_stopwatch_mask ; mask for average depth and stopwatch | |
118 extern TFT_avr_stopwatch ; data for average depth and stopwatch | |
631 | 119 extern TFT_gas_needs_mask ; mask for gas needs ascent |
120 extern TFT_gas_needs ; data for gas needs ascent | |
604 | 121 extern TFT_decoplan_mask ; mask for deco plan |
122 extern TFT_decoplan ; data for deco plan | |
123 extern TFT_ceiling_GF_tissue_mask ; mask for ceiling, current GF and tissues | |
124 extern TFT_ceiling_GF_tissue ; data for ceiling, current GF and tissues | |
125 extern TFT_CNS_mask ; mask for CNS values | |
126 extern TFT_CNS ; data for CNS values | |
628 | 127 extern TFT_ppo2_ead_end_cns_mask ; mask for ppO2, END/EAD and CNS / gas density |
128 extern TFT_ppo2_ead_end_cns ; data for ppO2, END/EAD and CNS / gas density | |
604 | 129 extern TFT_gf_factors_mask ; mask for GF factors |
623 | 130 ; extern ; data for GF factors (none) |
604 | 131 extern TFT_clock_batt_surfpress_mask ; mask for clock, battery and surface pressure |
132 extern TFT_clock_batt_surfpress ; data for clock, battery and surface pressure | |
133 | |
623 | 134 IFDEF _ccr_pscr |
135 extern TFT_sensor_check_mask ; mask for sensor check | |
136 extern TFT_sensor_check ; data for sensor check | |
137 extern TFT_pscr_info_mask ; mask for pSCR info | |
138 extern TFT_pscr_info ; data for pSCR info | |
139 ENDIF | |
140 | |
141 IFDEF _external_sensor | |
142 extern TFT_ppo2_sensors_mask ; mask for ppO2 sensors | |
143 extern TFT_ppo2_sensors ; data for ppO2 sensors | |
144 ENDIF | |
145 | |
631 | 146 IFDEF _cave_mode |
147 extern TFT_cave_tts_mask ; mask for cave mode TTS, total stops and runtime | |
148 extern TFT_cave_tts ; data for cave mode TTS, total stops and runtime | |
149 extern TFT_cave_waypoints ; data for cave mode waypoints | |
150 ENDIF | |
151 | |
604 | 152 |
153 ; Surface Custom Views | |
623 | 154 |
155 IFDEF _external_sensor | |
604 | 156 extern TFT_sensor_mV |
623 | 157 ENDIF |
158 | |
0 | 159 |
631 | 160 ; Color-coding |
582 | 161 extern TFT_standard_color |
162 extern TFT_disabled_color | |
604 | 163 extern TFT_memo_color |
164 extern TFT_advice_color | |
582 | 165 extern TFT_attention_color |
623 | 166 extern TFT_warning_color |
582 | 167 extern TFT_divemask_color |
604 | 168 |
169 extern TFT_color_code_gas | |
170 extern TFT_color_code_gaslist | |
171 extern TFT_color_code_cns | |
172 extern TFT_color_code_tank_pres_sac | |
173 | |
631 | 174 ; Misc |
175 extern convert_pres_to_depth ; converts pressure in [mbar] to depth in [cm] | |
176 extern convert_cm_to_feet ; converts depth in [cm] to depth in [feet] | |
177 extern convert_meter_to_feet ; converts depth in [m] to depth in [feet] | |
178 extern convert_celsius_to_fahrenheit ; converts temperature from celsius to fahrenheit | |
582 | 179 extern TFT_convert_signed_16bit |
180 | |
631 | 181 ; Debug output |
604 | 182 extern TFT_debug_output |
183 | |
184 | |
185 IFDEF _rx_functions | |
186 extern TFT_pressures_SAC_mask ; mask for pressures and SAC | |
187 extern TFT_pressures_SAC ; data for pressures and SAC | |
188 extern TFT_menu_tank_pres ; update tank data when in tank setup menu | |
189 extern TFT_surface_tank_pres ; update tank data when in surface mode | |
190 extern TFT_surface_tankdata ; show the tank pressure data in surface customview | |
191 extern TFT_attention_transmitter ; show attention for transmitter | |
192 extern TFT_attention_pres_reading ; show attention for pressure reading | |
193 extern TFT_warning_pres_reading ; show warning for pressure reading | |
194 extern TFT_attention_sac ; show attention for SAC | |
623 | 195 extern TFT_advice_switch ; show switch advice for ind.double mode |
196 extern TFT_print_firmware_rx ; show rx firmware version | |
604 | 197 ENDIF |
198 | |
199 IFDEF _cave_mode | |
631 | 200 extern TFT_info_cave_mode ; show info that cave mode is active |
201 extern TFT_cave_shutdown_attention ; show attention that cave mode will shut down soon | |
202 extern TFT_cave_shutdown_warning ; show warning that cave mode has shut down | |
623 | 203 ENDIF |