Mercurial > public > hwos_code
comparison src/hwos.inc @ 587:e81cf407261a
V2.97 SP1
author | heinrichsweikamp |
---|---|
date | Sat, 10 Mar 2018 15:34:47 +0100 |
parents | b455b31ce022 |
children | 1719de53e497 |
comparison
equal
deleted
inserted
replaced
586:06642f6ffe59 | 587:e81cf407261a |
---|---|
1 ;============================================================================= | 1 ;============================================================================= |
2 ; | 2 ; |
3 ; File hwos.inc REFACTORED VERSION V2.98 | 3 ; File hwos.inc REFACTORED VERSION V2.97 SP1 |
4 ; | 4 ; |
5 ; OSTC Platform definitions | 5 ; OSTC Platform definitions |
6 ; | 6 ; |
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | 7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. |
8 ;============================================================================= | 8 ;============================================================================= |
21 #include <ports.inc> ; Portmap | 21 #include <ports.inc> ; Portmap |
22 | 22 |
23 ; Firmware definition | 23 ; Firmware definition |
24 #DEFINE softwareversion_x .2 ; Software version XX.YY | 24 #DEFINE softwareversion_x .2 ; Software version XX.YY |
25 #DEFINE softwareversion_y .97 ; Software version XX.YY | 25 #DEFINE softwareversion_y .97 ; Software version XX.YY |
26 #DEFINE softwareversion_beta .0 ; (and 0 for release) | 26 #DEFINE softwareversion_beta .2 ; 0= release, 1=beta, 2=SP1, 3=SP2, ... |
27 | 27 |
28 ; Firmware version will appear in "Change Firmware" style | 28 ; Firmware version will appear in "Change Firmware" style |
29 #DEFINE firmware_expire_year .19 | 29 #DEFINE firmware_expire_year .19 |
30 #DEFINE firmware_expire_month .2 | 30 #DEFINE firmware_expire_month .2 |
31 #DEFINE firmware_expire_day .24 | 31 #DEFINE firmware_expire_day .24 |
416 #DEFINE voting_logic_sensor2 flag11,4 ; =1: This sensor is within the voting logic threshold | 416 #DEFINE voting_logic_sensor2 flag11,4 ; =1: This sensor is within the voting logic threshold |
417 #DEFINE voting_logic_sensor3 flag11,5 ; =1: This sensor is within the voting logic threshold | 417 #DEFINE voting_logic_sensor3 flag11,5 ; =1: This sensor is within the voting logic threshold |
418 #DEFINE cc_active flag11,6 ; =1: Constant Current active (cR Hardware) | 418 #DEFINE cc_active flag11,6 ; =1: Constant Current active (cR Hardware) |
419 #DEFINE cv_active flag11,7 ; =1: Constant Voltage active (cR Hardware) | 419 #DEFINE cv_active flag11,7 ; =1: Constant Voltage active (cR Hardware) |
420 | 420 |
421 #DEFINE compass_bearing_set flag12,0 ; bearing set | 421 #DEFINE neg_flag_velocity flag12,0 ; neg_flag backup for velocity logic |
422 #DEFINE compass_bearing_eq flag12,1 ; bearing is in direction? do not show << or >> | 422 #DEFINE compass_bearing_eq flag12,1 ; bearing is in direction? do not show << or >> |
423 #DEFINE compass_bearing_lft flag12,2 ; bearing is to the left/<< if set, otherwise to the right/>> | 423 #DEFINE compass_bearing_lft flag12,2 ; bearing is to the left/<< if set, otherwise to the right/>> |
424 #DEFINE compass_bearing_vis flag12,3 ; bearing is visible? (either ahead or behind/-180°) | 424 #DEFINE compass_bearing_vis flag12,3 ; bearing is visible? (either ahead or behind/-180°) |
425 #DEFINE compass_bearing_ahd flag12,4 ; bearing is ahead or behind? | 425 #DEFINE compass_bearing_ahd flag12,4 ; bearing is ahead or behind? |
426 #DEFINE blinking_depth_warning flag12,5 ; set by the color_depth. =1: warning color | 426 #DEFINE blinking_depth_warning flag12,5 ; set by the color_depth. =1: warning color |
427 #DEFINE blinking_depth_prev flag12,6 ; set by the TFT_depth. =1: prev display had warning color | 427 #DEFINE blinking_depth_prev flag12,6 ; set by the TFT_depth. =1: prev display had warning color |
428 #DEFINE blinking_depth_toggle flag12,7 ; toggle to blink | 428 #DEFINE blinking_depth_toggle flag12,7 ; toggle to blink |
429 | 429 |
430 #DEFINE neg_flag_velocity flag13,0 ; neg_flag backup for velocity logic | 430 #DEFINE compass_bearing_set flag13,0 ; bearing set |
431 #DEFINE analog_sw1_pressed flag13,1 ; =1: Analog switch 1 pressed | 431 #DEFINE analog_sw1_pressed flag13,1 ; =1: Analog switch 1 pressed |
432 #DEFINE analog_sw2_pressed flag13,2 ; =1: Analog switch 2 pressed | 432 #DEFINE analog_sw2_pressed flag13,2 ; =1: Analog switch 2 pressed |
433 #DEFINE sp2_switched flag13,3 ; =1: This setpoint has been autoselected already | 433 #DEFINE sp2_switched flag13,3 ; =1: This setpoint has been autoselected already |
434 #DEFINE sp3_switched flag13,4 ; =1: This setpoint has been autoselected already | 434 #DEFINE sp3_switched flag13,4 ; =1: This setpoint has been autoselected already |
435 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already | 435 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already |