Mercurial > public > mk2
changeset 659:ef198c1669f1
minor, docu update
author | heinrichsweikamp |
---|---|
date | Thu, 08 Nov 2012 08:40:13 +0100 |
parents | 75dc320f4681 |
children | 99dea4fe641f |
files | code_part1/OSTC_code_asm_part1/divemode.asm docu/ostc_interface_description.odt |
diffstat | 2 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Fri Nov 02 00:57:09 2012 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Thu Nov 08 08:40:13 2012 +0100 @@ -286,8 +286,8 @@ return ; Yes, return warn_gf1: - movlw d'2' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'2' ; Type of alarm (Deco Stop missed/GF violated) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag return @@ -732,7 +732,7 @@ clrf EventByte ; reset EventByte - movf AlarmType,W ; Type of Alarm Bit 0-3 + movf AlarmType,W ; Type of alarm Bit 0-3 addwf EventByte,F ; Copy to EventByte Bit 0-3 clrf AlarmType ; Reset AlarmType @@ -1052,8 +1052,8 @@ check_ppO2_bail2: bsf ppO2_show_value ; set flag if required - movlw d'5' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'5' ; Type of alarm (ppO High Warning) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag check_ppO2_0: @@ -1068,8 +1068,8 @@ bra check_ppO2_1 ; Not too low bsf ppO2_show_value ; show ppO2 if below threshold! - movlw d'4' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'4' ; Type of alarm (ppO Low Warning) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag check_ppO2_1: @@ -1842,8 +1842,8 @@ return set_powersafe1: - movlw d'7' ; Type of Alarm (Battery Low) - movwf AlarmType ; Copy to Alarm Register + movlw d'7' ; Type of alarm (Battery Low) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag bsf low_battery_state ; set flag for battery warning return ; return