comparison src/options.asm @ 79:0fc8113ddf6d

new command in download mode: "r" - read setting
author mh@mh-THINK.localdomain
date Thu, 27 Feb 2014 12:56:52 +0100
parents 50697bd41c54
children 7ca1105751c7
comparison
equal deleted inserted replaced
78:668b432dcae9 79:0fc8113ddf6d
528 OPTION_UINT8p10 odiveInterval, .0, .240, .0, tMinutes, -1, char_I_dive_interval 528 OPTION_UINT8p10 odiveInterval, .0, .240, .0, tMinutes, -1, char_I_dive_interval
529 OPTION_UINT8p2 obottomTime, .1, .60, .5, tMinutes, -1, char_I_bottom_time 529 OPTION_UINT8p2 obottomTime, .1, .60, .5, tMinutes, -1, char_I_bottom_time
530 OPTION_UINT8p3 obottomDepth, .12,.120, .21, tMeters, -1, char_I_bottom_depth 530 OPTION_UINT8p3 obottomDepth, .12,.120, .21, tMeters, -1, char_I_bottom_depth
531 531
532 extern char_I_deco_model, char_I_saturation_multiplier, char_I_desaturation_multiplier 532 extern char_I_deco_model, char_I_saturation_multiplier, char_I_desaturation_multiplier
533 OPTION_ENUM8 oDiveMode, 4, 0, tDvOC, .8, opt_dive_mode 533 OPTION_ENUM8 oDiveMode, 4, 0, tDvOC, .8, opt_dive_mode ; 0=OC, 1=CC, 2=Gauge, 3=Apnea
534 OPTION_ENUM8 oDecoMode, 2, 1, tZHL16, .9, char_I_deco_model 534 OPTION_ENUM8 oDecoMode, 2, 1, tZHL16, .9, char_I_deco_model ; 0 = ZH-L16, 1 = ZH-L16-GF
535 OPTION_UINT8p10 oPPO2Max, .120, ppo2_warning_high, .160, 0, .10, opt_ppO2_max 535 OPTION_UINT8p10 oPPO2Max, .120, ppo2_warning_high, .160, 0, .10, opt_ppO2_max
536 OPTION_UINT8 oLastDeco, .3, .6, .3, tMeters, .11, opt_last_stop 536 OPTION_UINT8 oLastDeco, .3, .6, .3, tMeters, .11, opt_last_stop
537 OPTION_UINT8 oGF_low, .10, .100, .30, tPercent, .12, opt_GF_low 537 OPTION_UINT8 oGF_low, .10, .100, .30, tPercent, .12, opt_GF_low
538 OPTION_UINT8 oGF_high, .60, .110, .85, tPercent, .13, opt_GF_high 538 OPTION_UINT8 oGF_high, .60, .110, .85, tPercent, .13, opt_GF_high
539 OPTION_UINT8p10 osatmult, .100, .140, .110,tPercent, .14, char_I_saturation_multiplier 539 OPTION_UINT8p10 osatmult, .100, .140, .110,tPercent, .14, char_I_saturation_multiplier
540 OPTION_UINT8p10 odesatmult, .60, .100, .90,tPercent, .15, char_I_desaturation_multiplier 540 OPTION_UINT8p10 odesatmult, .60, .100, .90,tPercent, .15, char_I_desaturation_multiplier
541 OPTION_UINT8p10 oPPO2Min, .16, ppo2_warning_low, .19, 0, .16, opt_ppO2_min 541 OPTION_UINT8p10 oPPO2Min, .16, ppo2_warning_low, .19, 0, .16, opt_ppO2_min
542 OPTION_UINT8 oaGF_low, .60, .100, .60, tPercent, .17, opt_aGF_low 542 OPTION_UINT8 oaGF_low, .60, .100, .60, tPercent, .17, opt_aGF_low
543 OPTION_UINT8 oaGF_high, .70, .120, .85, tPercent, .18, opt_aGF_high 543 OPTION_UINT8 oaGF_high, .70, .120, .85, tPercent, .18, opt_aGF_high
544 OPTION_BOOL oEnable_aGF, 0, .19, opt_enable_aGF ; =1: aGF can be selected underwater 544 OPTION_BOOL oEnable_aGF, 0, .19, opt_enable_aGF ; =1: aGF can be selected underwater
545 OPTION_UINT8 oCompassGain, 0, 7, 6, tcharx, .20, opt_compass_gain ; 0-7 (230LSB/Gauss to 1370LSB/Gaus) 545 OPTION_UINT8 oCompassGain, 0, 7, 6, tcharx, .20, opt_compass_gain ; 0-7 (230LSB/Gauss to 1370LSB/Gauss)
546 OPTION_ENUM8 oSamplingRate, 2, 0, tSampling2s, .21, opt_sampling_rate ; =1: 10s, =0: 2s 546 OPTION_ENUM8 oSamplingRate, 2, 0, tSampling2s, .21, opt_sampling_rate ; =1: 10s, =0: 2s
547 547
548 ;============================================================================= 548 ;=============================================================================
549 ; Managing Settings 549 ; Managing Settings
550 extern char_I_extra_time 550 extern char_I_extra_time
551 OPTION_UINT8 oExtraTime, 0, .9, 0,tMinutes, .22, char_I_extra_time 551 OPTION_UINT8 oExtraTime, 0, .9, 0,tMinutes, .22, char_I_extra_time ; Future TTS
552 OPTION_ENUM8 oBrightness, 3, 0, tEco, .23, opt_brightness 552 OPTION_ENUM8 oBrightness, 3, 0, tEco, .23, opt_brightness ; =0: Eco, =1:Medium, =2:Full
553 OPTION_UINT8 oDiveSalinity, 0, 4, 0, tPercent, .24, opt_salinity 553 OPTION_UINT8 oDiveSalinity, 0, 4, 0, tPercent, .24, opt_salinity ; 0-5%
554 OPTION_ENUM8 oCCRMode, 2, 0, tCCRModeFixedSP, .25, opt_ccr_mode 554 OPTION_ENUM8 oCCRMode, 2, 0, tCCRModeFixedSP, .25, opt_ccr_mode ; =0: Fixed SP, =1: Sensor
555 extern tDefName 555 extern tDefName
556 OPTION_ENUM8 oLanguage, 4, 0, tEnglish, .26, opt_language 556 OPTION_ENUM8 oLanguage, 4, 0, tEnglish, .26, opt_language ; 0=EN, 1=DE, 2=FR, 3=SP
557 OPTION_ENUM8 oDateFormat, 3, 1, tDateformat,.27, opt_dateformat 557 OPTION_ENUM8 oDateFormat, 3, 1, tDateformat,.27, opt_dateformat ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD
558 OPTION_ENUM8 oUnits, 2, 0, tMetric, .28, opt_units ; 0=Meters, 1=Feets 558 OPTION_ENUM8 oUnits, 2, 0, tMetric, .28, opt_units ; 0=Meters, 1=Feets
559 559
560 ;============================================================================= 560 ;=============================================================================
561 ; Compass calibration data 561 ; Compass calibration data
562 OPTION_UINT8 oCalx0, 0,.255,.0, 0, .29, compass_CX_f+0 562 OPTION_UINT8 oCalx0, 0,.255,.0, 0, .29, compass_CX_f+0
563 OPTION_UINT8 oCalx1, 0,.255,.0, 0, .30, compass_CX_f+1 563 OPTION_UINT8 oCalx1, 0,.255,.0, 0, .30, compass_CX_f+1