Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/definitions.asm @ 760:e16e636def61
2.74 release
author | heinrichsweikamp |
---|---|
date | Sun, 01 Dec 2013 10:33:12 +0100 |
parents | 4f3c91ef3bfe |
children | ff2b4f5fad9c |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm Sat Nov 30 20:41:43 2013 +0100 +++ b/code_part1/OSTC_code_asm_part1/definitions.asm Sun Dec 01 10:33:12 2013 +0100 @@ -57,8 +57,9 @@ ; #DEFINE SSPADD_VALUE d'16' ; 400kHz I2C clock @ 32MHz Fcy #DEFINE SSPADD_VALUE d'32' ; 200kHz I2C clock @ 32MHz Fcy #DEFINE SSPSTAT_VALUE b'00000000' ; with slew rate control -; #DEFINE T0CON_VALUE b'00010000' ; Timer0 1:2 -> 32ms - #DEFINE T0CON_VALUE b'00010011' ; Timer0 1:16 -> 256ms +; #DEFINE T0CON_VALUE b'00010000' ; Timer0 1:2 -> 32ms +; #DEFINE T0CON_VALUE b'00010011' ; Timer0 1:16 -> 256ms + #DEFINE T0CON_VALUE b'00010010' ; Timer0 1:8 -> 128ms #DEFINE SPEED_32MHz #DEFINE FT_SMALL .0 @@ -364,6 +365,11 @@ marker_depth res 2 ; rel. pressure [mbar] of last set marker marker_time res 3 ; divetime mins:2 and sec of last marker +sim_btm_time res 1 ; Simulated bottom time +sim_btm_depth res 1 ; Simulated max depth +sim_CNS res 1 ; Backup CNS value during decoplanning. + + ASSERT_BANK1 MACRO tag Ifdef __DEBUG