Mercurial > public > mk2
view code_part1/OSTC_code_c_part2/p2_definitions.h @ 181:0651d5dc3f42
1st. gas not grey in simulator
author | heinrichsweikamp |
---|---|
date | Sun, 06 Feb 2011 17:30:11 +0100 |
parents | cb055a7d75f3 |
children | 016c45a0caaf |
line wrap: on
line source
// ********************************************************* // ** Common definitions for the OSTC decompression code ** // ********************************************************* ////////////////////////////////////////////////////////////////////////////// // OSTC - diving computer code // Copyright (C) 2008 HeinrichsWeikamp GbR // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // ////////////////////////////////////////////////////////////////////////////// // history: // 12/25/10 v110: [jDG] split in three files (deco.c, main.c, definitions.h) # define DBG_c_gas 0b0000000000000001 # define DBG_c_ppO2 0b0000000000000010 # define DBG_RUN 0b0000000000000100 # define DBG_RESTART 0b0000000000001000 # define DBG_CdeSAT 0b0000000000010000 # define DBG_C_MODE 0b0000000000100000 # define DBG_C_SURF 0b0000000001000000 # define DBG_HEwoHE 0b0000000010000000 # define DBG_C_DPPO2 0b0000000100000000 # define DBG_C_DGAS 0b0000001000000000 # define DBG_C_DIST 0b0000010000000000 # define DBG_C_LAST 0b0000100000000000 # define DBG_C_GF 0b0001000000000000 # define DBG_ZH16ERR 0b0010000000000000 # define DBG_PHIGH 0b0100000000000000 # define DBG_PLOW 0b1000000000000000 # define DBS_mode 0b0000000000000001 # define DBS_ppO2 0b0000000000000010 # define DBS_HE_sat 0b0000000000000100 # define DBS_ppO2chg 0b0000000000001000 # define DBS_SAT2l 0b0000000000010000 # define DBS_SAT2h 0b0000000000100000 # define DBS_GFLOW2l 0b0000000001000000 # define DBS_GFLOW2h 0b0000000010000000 # define DBS_GFHGH2l 0b0000000100000000 # define DBS_GFHGH2h 0b0000001000000000 # define DBS_GASO22l 0b0000010000000000 # define DBS_GASO22h 0b0000100000000000 # define DBS_DIST2h 0b0001000000000000 # define DBS_LAST2h 0b0010000000000000 # define DBS_DECOO2l 0b0100000000000000 # define DBS_DECOO2h 0b1000000000000000 # define DBS2_PRES2h 0b0000000000000001 # define DBS2_PRES2l 0b0000000000000010 # define DBS2_SURF2l 0b0000000000000100 # define DBS2_SURF2h 0b0000000000001000 # define DBS2_DESAT2l 0b0000000000010000 # define DBS2_DESAT2h 0b0000000000100000 # define DBS2_GFDneg 0b0000000001000000 # define DBS2_ 0b000000000000000 # define DBS2_ 0b000000000000000 # define DBS2_ 0b000000000000000 # define DBS2_ 0b000000000000000 # define DBS2_ 0b000000000000000 # define MBAR_REACH_GASCHANGE_AUTO_CHANGE_OFF 150 // ************************* // ** P R O T O T Y P E S ** // ************************* extern void calc_percentage(void); extern void deco_calc_hauptroutine(void); extern void deco_calc_without_deco(void); extern void deco_clear_tissue(void); extern void deco_calc_percentage(void); extern void deco_calc_wo_deco_step_1_min(void); extern void deco_debug(void); extern void deco_gradient_array(void); extern void deco_hash(void); extern void deco_calc_desaturation_time(void); extern void deco_calc_CNS_fraction(void); extern void deco_clear_CNS_fraction(void); extern void deco_push_tissues_to_vault(void); extern void deco_pull_tissues_from_vault(void); //////////////////////////////////////////////////////////////////////////////