comparison 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
comparison
equal deleted inserted replaced
630:4cd81bdbf15c 631:185ba2f91f59
1 ;============================================================================= 1 ;=============================================================================
2 ; 2 ;
3 ; File tft_outputs.inc next combined generation V3.03.8 3 ; File tft_outputs.inc next combined generation V3.08.8
4 ; 4 ;
5 ; 5 ;
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
7 ;============================================================================= 7 ;=============================================================================
8 ; HISTORY 8 ; HISTORY
82 extern TFT_show_apnoe_max_depth 82 extern TFT_show_apnoe_max_depth
83 extern TFT_show_ftts 83 extern TFT_show_ftts
84 extern TFT_clear_divemode_menu ; clear the divemode menu 84 extern TFT_clear_divemode_menu ; clear the divemode menu
85 extern TFT_clear_message_window 85 extern TFT_clear_message_window
86 extern TFT_clear_message_window_row2 86 extern TFT_clear_message_window_row2
87 extern TFT_warning_sat 87 extern TFT_warning_saturation
88 extern TFT_warning_agf ; show a warning if aGF is selected 88 extern TFT_warning_agf ; show a warning if aGF is selected
89 extern TFT_divetimeout ; show timeout counter 89 extern TFT_divetimeout ; show timeout counter
90 extern TFT_safety_stop_show ; show the safety stop 90 extern TFT_safety_stop_show ; show the safety stop
91 extern TFT_safety_stop_clear ; clear safety stop 91 extern TFT_safety_stop_clear ; clear safety stop
92 extern TFT_clear_deco_data ; clear deco data (NDL or stop & TTS) 92 extern TFT_clear_deco_data ; clear deco data (NDL or stop & TTS)
93 extern TFT_warning_fallback ; show fallback warning 93 extern TFT_warning_fallback ; show fallback warning
94 extern TFT_warning_gas_needs_warn 94 extern TFT_warning_gas_needs
95 extern TFT_warning_gas_needs_att 95 extern TFT_attention_gas_needs
96 extern TFT_advice_gas_change 96 extern TFT_advice_gas_change
97 extern TFT_warning_no_BO_gas 97 extern TFT_warning_no_BO_gas
98 extern TFT_warning_eod_cns 98 extern TFT_warning_eod_cns
99 extern TFT_warning_mbubbles 99 extern TFT_warning_mbubbles
100 extern TFT_warning_outside 100 extern TFT_warning_outside
107 107
108 IFDEF _external_sensor 108 IFDEF _external_sensor
109 extern TFT_warning_sensor_disagree 109 extern TFT_warning_sensor_disagree
110 ENDIF 110 ENDIF
111 111
112 ; Date
113 extern TFT_convert_date ; print day, month and year
114 extern TFT_convert_date_short ; print day and month
112 115
113 ; Divemode Custom Views 116 ; Divemode Custom Views
114 extern TFT_avr_stopwatch_mask ; mask for average depth and stopwatch 117 extern TFT_avr_stopwatch_mask ; mask for average depth and stopwatch
115 extern TFT_avr_stopwatch ; data for average depth and stopwatch 118 extern TFT_avr_stopwatch ; data for average depth and stopwatch
116 extern TFT_gas_needs_ascent_mask ; mask for gas needs ascent 119 extern TFT_gas_needs_mask ; mask for gas needs ascent
117 extern TFT_gas_needs_ascent ; data for gas needs ascent 120 extern TFT_gas_needs ; data for gas needs ascent
118 extern TFT_decoplan_mask ; mask for deco plan 121 extern TFT_decoplan_mask ; mask for deco plan
119 extern TFT_decoplan ; data for deco plan 122 extern TFT_decoplan ; data for deco plan
120 extern TFT_ceiling_GF_tissue_mask ; mask for ceiling, current GF and tissues 123 extern TFT_ceiling_GF_tissue_mask ; mask for ceiling, current GF and tissues
121 extern TFT_ceiling_GF_tissue ; data for ceiling, current GF and tissues 124 extern TFT_ceiling_GF_tissue ; data for ceiling, current GF and tissues
122 extern TFT_CNS_mask ; mask for CNS values 125 extern TFT_CNS_mask ; mask for CNS values
138 IFDEF _external_sensor 141 IFDEF _external_sensor
139 extern TFT_ppo2_sensors_mask ; mask for ppO2 sensors 142 extern TFT_ppo2_sensors_mask ; mask for ppO2 sensors
140 extern TFT_ppo2_sensors ; data for ppO2 sensors 143 extern TFT_ppo2_sensors ; data for ppO2 sensors
141 ENDIF 144 ENDIF
142 145
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
143 152
144 ; Surface Custom Views 153 ; Surface Custom Views
145 154
146 IFDEF _external_sensor 155 IFDEF _external_sensor
147 extern TFT_sensor_mV 156 extern TFT_sensor_mV
148 ENDIF 157 ENDIF
149 158
150 159
151 ; Misc 160 ; Color-coding
152 extern TFT_standard_color 161 extern TFT_standard_color
153 extern TFT_disabled_color 162 extern TFT_disabled_color
154 extern TFT_memo_color 163 extern TFT_memo_color
155 extern TFT_advice_color 164 extern TFT_advice_color
156 extern TFT_attention_color 165 extern TFT_attention_color
160 extern TFT_color_code_gas 169 extern TFT_color_code_gas
161 extern TFT_color_code_gaslist 170 extern TFT_color_code_gaslist
162 extern TFT_color_code_cns 171 extern TFT_color_code_cns
163 extern TFT_color_code_tank_pres_sac 172 extern TFT_color_code_tank_pres_sac
164 173
165 extern adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] 174 ; Misc
166 extern adjust_depth_with_salinity_log ; computes salinity setting (FROM WREG!) into lo:hi [mbar] 175 extern convert_pres_to_depth ; converts pressure in [mbar] to depth in [cm]
167 extern TFT_convert_date_short 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
168 extern TFT_convert_signed_16bit 179 extern TFT_convert_signed_16bit
169 extern TFT_convert_date 180
170 extern convert_mbar_to_feet ; convert value in hi:lo from mbar to feet 181 ; Debug output
171 extern convert_meter_to_feet ; convert value in lo from meters to feet
172 extern convert_celsius_to_fahrenheit ; convert value in hi:lo from celsius to fahrenheit
173
174 extern TFT_debug_output 182 extern TFT_debug_output
175 183
176 184
177 IFDEF _rx_functions 185 IFDEF _rx_functions
178 extern TFT_pressures_SAC_mask ; mask for pressures and SAC 186 extern TFT_pressures_SAC_mask ; mask for pressures and SAC
187 extern TFT_advice_switch ; show switch advice for ind.double mode 195 extern TFT_advice_switch ; show switch advice for ind.double mode
188 extern TFT_print_firmware_rx ; show rx firmware version 196 extern TFT_print_firmware_rx ; show rx firmware version
189 ENDIF 197 ENDIF
190 198
191 IFDEF _cave_mode 199 IFDEF _cave_mode
192 extern TFT_info_cave_mode ; show info that in cave mode 200 extern TFT_info_cave_mode ; show info that cave mode is active
193 extern TFT_info_dive_turned ; show info that dive is turned 201 extern TFT_cave_shutdown_attention ; show attention that cave mode will shut down soon
194 extern TFT_warn_cave_shutdown ; show warning that cave mode has shut down 202 extern TFT_cave_shutdown_warning ; show warning that cave mode has shut down
195 ENDIF 203 ENDIF