comparison src/hwos.inc @ 378:7faa688db105

BUGFIX: BLE timings for MAC issues
author heinrichsweikamp
date Tue, 15 Sep 2015 18:11:08 +0200
parents e99bb91f6f92
children e32f424223fb
comparison
equal deleted inserted replaced
377:f0828110d864 378:7faa688db105
394 up res 1 394 up res 1
395 395
396 ;---- RS232 temp variables 396 ;---- RS232 temp variables
397 uart1_temp res 1 397 uart1_temp res 1
398 uart2_temp res 1 398 uart2_temp res 1
399 uart3_temp res 1
399 400
400 ;---- Data for math subroutines 401 ;---- Data for math subroutines
401 divA res 2 402 divA res 2
402 divB res 1 403 divB res 1
403 xC res 4 404 xC res 4
489 o2_mv_sensor2 res 2 ; in 0.1mV steps 490 o2_mv_sensor2 res 2 ; in 0.1mV steps
490 o2_mv_sensor3 res 2 ; in 0.1mV steps 491 o2_mv_sensor3 res 2 ; in 0.1mV steps
491 o2_ppo2_sensor1 res 1 ; Sensor1 ppO2 (in 0.01bar steps) 492 o2_ppo2_sensor1 res 1 ; Sensor1 ppO2 (in 0.01bar steps)
492 o2_ppo2_sensor2 res 1 ; Sensor2 ppO2 (in 0.01bar steps) 493 o2_ppo2_sensor2 res 1 ; Sensor2 ppO2 (in 0.01bar steps)
493 o2_ppo2_sensor3 res 1 ; Sensor3 ppO2 (in 0.01bar steps) 494 o2_ppo2_sensor3 res 1 ; Sensor3 ppO2 (in 0.01bar steps)
494 hud_battery_mv res 2
495 hud_status_byte res 1 495 hud_status_byte res 1
496 ;Status Byte/ 496 ;Status Byte/
497 #DEFINE hud_connection_ok hud_status_byte,0 ;Bit0 = 1 -> HUD connection ok 497 #DEFINE hud_connection_ok hud_status_byte,0 ;Bit0 = 1 -> HUD connection ok
498 ;Bit1 = 1 -> HUD is calibrated 498 ;Bit1 = 1 -> HUD is calibrated
499 ;Bit2 = 1 -> HUD Battery is low (<3000mV) 499 ;Bit2 = 1 -> HUD Battery is low (<3000mV)
524 common2 udata_ovr common2 ; Bank1 general variables 524 common2 udata_ovr common2 ; Bank1 general variables
525 525
526 s8_rawdata_sensor1 res 3 ; 24bit A/D raw data from S8 HUD sensor 1 526 s8_rawdata_sensor1 res 3 ; 24bit A/D raw data from S8 HUD sensor 1
527 s8_rawdata_sensor2 res 3 ; 24bit A/D raw data from S8 HUD sensor 2 527 s8_rawdata_sensor2 res 3 ; 24bit A/D raw data from S8 HUD sensor 2
528 s8_rawdata_sensor3 res 3 ; 24bit A/D raw data from S8 HUD sensor 3 528 s8_rawdata_sensor3 res 3 ; 24bit A/D raw data from S8 HUD sensor 3
529
530 hud_battery_mv res 2 ; hud/ppo2 monitor battery voltage in mV
529 531
530 ;----------------------------------------------------------------------------- 532 ;-----------------------------------------------------------------------------
531 ; Reserve BANK2 for general purpose buffer (strings, images, etc). 533 ; Reserve BANK2 for general purpose buffer (strings, images, etc).
532 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0). 534 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0).
533 buffer udata_ovr 0x200 535 buffer udata_ovr 0x200