comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 482:8e1fb9cdd62a

lock sensor for surfacemode until value is stable
author heinrichsweikamp
date Thu, 13 Oct 2011 08:37:26 +0200
parents a863fd56189c
children 65850b513f1b
comparison
equal deleted inserted replaced
481:a863fd56189c 482:8e1fb9cdd62a
108 CONFIG LVP = OFF ;Single-Supply ICSP disabled 108 CONFIG LVP = OFF ;Single-Supply ICSP disabled
109 CONFIG STVREN = OFF ;Stack full/underflow will not cause Reset 109 CONFIG STVREN = OFF ;Stack full/underflow will not cause Reset
110 110
111 ;============================================================================= 111 ;=============================================================================
112 112
113 #include "../OSTC_code_c_part2/shared_definitions.h" 113 ;#include "../OSTC_code_c_part2/shared_definitions.h"
114 #include "ostc2_code/code_part1/OSTC_code_c_part2/shared_definitions.h" 114 #include "ostc2_code/code_part1/OSTC_code_c_part2/shared_definitions.h"
115 115
116 ;============================================================================= 116 ;=============================================================================
117 ; Reserve space for C-code data space. Eg.when calling log. 117 ; Reserve space for C-code data space. Eg.when calling log.
118 ; Note: overlayed with md_hash temporary space. 118 ; Note: overlayed with md_hash temporary space.
539 #DEFINE is_bailout flag14,2 ;=1: CC mode, but bailout active! 539 #DEFINE is_bailout flag14,2 ;=1: CC mode, but bailout active!
540 #DEFINE standalone_simulator flag14,3 ;=1: Standalone Simulator active 540 #DEFINE standalone_simulator flag14,3 ;=1: Standalone Simulator active
541 #DEFINE display_set_simulator flag14,4 ;=1: Show Divemode simulator menu 541 #DEFINE display_set_simulator flag14,4 ;=1: Show Divemode simulator menu
542 #DEFINE displaytext_high flag14,5 ;=1: Show/Use Texts 255-511 in Texttable 542 #DEFINE displaytext_high flag14,5 ;=1: Show/Use Texts 255-511 in Texttable
543 #DEFINE better_gas_available flag14,6 ;=1: A better gas is available and a gas change is advised in divemode 543 #DEFINE better_gas_available flag14,6 ;=1: A better gas is available and a gas change is advised in divemode
544 #DEFINE Flag_5 flag14,7 ;=1: unused 544 #DEFINE s_unlock_after_sleep flag14,7 ;=1: Sensor unlocked for divemode and battery history
545 545
546 #DEFINE restore_deco_data flag15,0 ;=1: Restore Decodata after the dive from 0x380 buffer 546 #DEFINE restore_deco_data flag15,0 ;=1: Restore Decodata after the dive from 0x380 buffer
547 #DEFINE uart_store_tissue_data flag15,1 ;=1: Store tissue data for next simualted dive! 547 #DEFINE uart_store_tissue_data flag15,1 ;=1: Store tissue data for next simualted dive!
548 #DEFINE reset_average_depth flag15,2 ;=1: Average Depth will be resetted 548 #DEFINE reset_average_depth flag15,2 ;=1: Average Depth will be resetted
549 #DEFINE blinking_better_gas flag15,3 ;=1: Gas is currently blinking 549 #DEFINE blinking_better_gas flag15,3 ;=1: Gas is currently blinking