rusefi-1/firmware/controllers/generated/engine_configuration_genera...

7114 lines
208 KiB
C
Raw Normal View History

2021-12-01 18:59:01 -08:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Dec 02 02:57:19 UTC 2021
2019-07-21 09:16:25 -07:00
// by class com.rusefi.output.CHeaderConsumer
2017-03-27 19:19:58 -07:00
// begin
2020-07-05 23:07:22 -07:00
#pragma once
2015-07-10 06:01:56 -07:00
#include "rusefi_types.h"
2021-11-30 18:00:42 -08:00
#define accelerometerSpiDevice_offset 2712
#define acFanPin_offset 762
#define acFanPinMode_offset 763
#define acIdleExtraOffset_offset 711
#define acIdleRpmBump_offset 1496
#define acRelayPin_offset 830
#define acRelayPinMode_offset 831
#define acSwitch_offset 1469
#define acSwitchMode_offset 4516
#define adc_channel_e_auto_enum "EFI_ADC_NONE", "EFI_ADC_0", "EFI_ADC_1", "EFI_ADC_2", "EFI_ADC_3", "EFI_ADC_4", "EFI_ADC_5", "EFI_ADC_6", "EFI_ADC_7", "EFI_ADC_8", "EFI_ADC_9", "EFI_ADC_10", "EFI_ADC_11", "EFI_ADC_12", "EFI_ADC_13", "EFI_ADC_14", "EFI_ADC_15", "EFI_ADC_LAST_CHANNEL", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "EFI_ADC_ERROR"
#define adc_channel_e_EFI_ADC_0 1
#define adc_channel_e_EFI_ADC_1 2
#define adc_channel_e_EFI_ADC_10 11
#define adc_channel_e_EFI_ADC_11 12
#define adc_channel_e_EFI_ADC_12 13
#define adc_channel_e_EFI_ADC_13 14
#define adc_channel_e_EFI_ADC_14 15
#define adc_channel_e_EFI_ADC_15 16
#define adc_channel_e_EFI_ADC_2 3
#define adc_channel_e_EFI_ADC_3 4
#define adc_channel_e_EFI_ADC_4 5
#define adc_channel_e_EFI_ADC_5 6
#define adc_channel_e_EFI_ADC_6 7
#define adc_channel_e_EFI_ADC_7 8
#define adc_channel_e_EFI_ADC_8 9
#define adc_channel_e_EFI_ADC_9 10
#define adc_channel_e_EFI_ADC_ERROR 50
#define adc_channel_e_EFI_ADC_LAST_CHANNEL 17
#define adc_channel_e_EFI_ADC_NONE 0
2021-12-01 18:59:01 -08:00
#define adc_channel_e_enum "NONE","18 - IN_O2S","55 - IN_O2S2","41 - IN_MAP3","78 - IN_PPS","16 - IN_TPS","13 - IN_VIGN","79 - IN_CAM","77 - IN_AUX4","74 - IN_AUX1","15 - IN_CRANK (A24)","37 - IN_MAP1","38 - IN_MAP2","39 - IN_CLT","40 - IN_IAT","75 - IN_AUX2","76 - IN_AUX3"
2021-11-30 18:00:42 -08:00
#define adc_channel_mode_e_ADC_FAST 2
#define adc_channel_mode_e_ADC_OFF 0
#define adc_channel_mode_e_ADC_SLOW 1
#define adc_channel_mode_e_auto_enum "ADC_OFF", "ADC_SLOW", "ADC_FAST"
#define adc_channel_mode_e_Force_4_bytes_size_adc_channel_mode ENUM_32_BITS
#define ADC_CHANNEL_NONE 0
#define adcVcc_offset 548
#define afr_alignmentFill_afr_offset 561
#define afr_hwChannel_offset 560
#define afr_offset 560
#define afr_override_e_AFR_AccPedal 3
#define afr_override_e_AFR_CylFilling 4
#define afr_override_e_AFR_MAP 1
#define afr_override_e_AFR_None 0
#define afr_override_e_AFR_Tps 2
#define afr_override_e_auto_enum "AFR_None", "AFR_MAP", "AFR_Tps", "AFR_AccPedal", "AFR_CylFilling"
#define afr_override_e_enum "None", "MAP", "TPS", "Acc Pedal", "Cyl Filling %"
#define afr_sensor_s_size 20
#define afr_type_offset 692
#define afr_v1_offset 564
#define afr_v2_offset 572
#define afr_value1_offset 568
#define afr_value2_offset 576
#define afrOverrideMode_offset 2111
#define afterCrankingIACtaperDuration_offset 2036
#define AFTERSTART_DECAY_CURVE_SIZE 8
#define AFTERSTART_ENRICH_CURVE_SIZE 8
#define AFTERSTART_HOLD_CURVE_SIZE 8
#define afterstartCoolantBins_offset 6120
#define afterstartDecayTime_offset 6216
#define afterstartEnrich_offset 6184
#define afterstartHoldTime_offset 6152
#define air_pressure_sensor_config_s_size 16
#define air_pressure_sensor_type_e_auto_enum "MT_CUSTOM", "MT_DENSO183", "MT_MPX4250", "MT_HONDA3BAR", "MT_DODGE_NEON_2003", "MT_SUBY_DENSO", "MT_GM_3_BAR", "MT_MPX4100", "MT_TOYOTA_89420_02010", "MT_MPX4250A", "MT_BOSCH_2_5", "MT_MAZDA_1_BAR", "MT_GM_2_BAR", "MT_GM_1_BAR", "MT_MPXH6400"
#define air_pressure_sensor_type_e_Force_4_bytes_size_cranking_map_type ENUM_32_BITS
#define air_pressure_sensor_type_e_MT_BOSCH_2_5 10
#define air_pressure_sensor_type_e_MT_CUSTOM 0
#define air_pressure_sensor_type_e_MT_DENSO183 1
#define air_pressure_sensor_type_e_MT_DODGE_NEON_2003 4
#define air_pressure_sensor_type_e_MT_GM_1_BAR 13
#define air_pressure_sensor_type_e_MT_GM_2_BAR 12
#define air_pressure_sensor_type_e_MT_GM_3_BAR 6
#define air_pressure_sensor_type_e_MT_HONDA3BAR 3
#define air_pressure_sensor_type_e_MT_MAZDA_1_BAR 11
#define air_pressure_sensor_type_e_MT_MPX4100 7
#define air_pressure_sensor_type_e_MT_MPX4250 2
#define air_pressure_sensor_type_e_MT_MPX4250A 9
#define air_pressure_sensor_type_e_MT_MPXH6400 14
#define air_pressure_sensor_type_e_MT_SUBY_DENSO 5
#define air_pressure_sensor_type_e_MT_TOYOTA_89420_02010 8
#define alignEngineSnifferAtTDC_offset 744
#define alignmentFill_at_2227_offset 2227
#define alignmentFill_at_2253_offset 2253
#define alignmentFill_at_4539_offset 4539
#define alignmentFill_at_5126_offset 5126
#define alternatorControl_dFactor_offset 1724
#define alternatorControl_iFactor_offset 1720
#define alternatorControl_maxValue_offset 1734
#define alternatorControl_minValue_offset 1732
#define alternatorControl_offset 1716
#define alternatorControl_offset_offset 1728
#define alternatorControl_periodMs_offset 1730
#define alternatorControl_pFactor_offset 1716
#define alternatorControlPin_offset 665
#define alternatorControlPinMode_offset 666
#define alternatorOffAboveTps_offset 2028
#define alternatorPwmFrequency_offset 2256
#define ambiguousOperationMode_offset 488
#define analogInputDividerCoefficient_offset 460
#define antiLagActivatePin_offset 990
#define antiLagActivationMode_e_ALWAYS_ON_ANTILAG 1
#define antiLagActivationMode_e_auto_enum "SWITCH_INPUT_ANTILAG", "ALWAYS_ON_ANTILAG"
#define antiLagActivationMode_e_enum "Always Active", "Switch Input"
#define antiLagActivationMode_e_Force_4bytes_size_antiLagActivationMode_e ENUM_32_BITS
#define antiLagActivationMode_e_SWITCH_INPUT_ANTILAG 0
#define antiLagActivationMode_offset 1024
#define antiLagEnabled_offset 76
#define antiLagRpmTreshold_offset 824
#define applyNonlinearBelowPulse_offset 2508
#define artificialTestMisfire_offset 76
#define AUX_ANALOG_INPUT_COUNT 8
#define AUX_DIGITAL_VALVE_COUNT 2
#define auxAnalogInputs1_offset 2332
#define auxAnalogInputs2_offset 2333
#define auxAnalogInputs3_offset 2334
#define auxAnalogInputs4_offset 2335
#define auxAnalogInputs5_offset 2336
#define auxAnalogInputs6_offset 2337
#define auxAnalogInputs7_offset 2338
#define auxAnalogInputs8_offset 2339
#define auxFastSensor1_adcChannel_offset 680
#define auxPid1_dFactor_offset 2620
#define auxPid1_iFactor_offset 2616
#define auxPid1_maxValue_offset 2630
#define auxPid1_minValue_offset 2628
#define auxPid1_offset 2612
#define auxPid1_offset_offset 2624
#define auxPid1_periodMs_offset 2626
#define auxPid1_pFactor_offset 2612
#define auxPid2_dFactor_offset 2640
#define auxPid2_iFactor_offset 2636
#define auxPid2_maxValue_offset 2650
#define auxPid2_minValue_offset 2648
#define auxPid2_offset 2632
#define auxPid2_offset_offset 2644
#define auxPid2_periodMs_offset 2646
#define auxPid2_pFactor_offset 2632
#define auxSerialRxPin_offset 2042
#define auxSerialSpeed_offset 2096
#define auxSerialTxPin_offset 2040
#define auxTempSensor1_adcChannel_offset 2472
#define auxTempSensor1_alignmentFill_at_29_offset 2473
#define auxTempSensor1_bias_resistor_offset 2468
#define auxTempSensor1_config_offset 2444
#define auxTempSensor1_offset 2444
#define auxTempSensor1_resistance_1_offset 2456
#define auxTempSensor1_resistance_2_offset 2460
#define auxTempSensor1_resistance_3_offset 2464
#define auxTempSensor1_tempC_1_offset 2444
#define auxTempSensor1_tempC_2_offset 2448
#define auxTempSensor1_tempC_3_offset 2452
#define auxTempSensor2_adcChannel_offset 2504
#define auxTempSensor2_alignmentFill_at_29_offset 2505
#define auxTempSensor2_bias_resistor_offset 2500
#define auxTempSensor2_config_offset 2476
#define auxTempSensor2_offset 2476
#define auxTempSensor2_resistance_1_offset 2488
#define auxTempSensor2_resistance_2_offset 2492
#define auxTempSensor2_resistance_3_offset 2496
#define auxTempSensor2_tempC_1_offset 2476
#define auxTempSensor2_tempC_2_offset 2480
#define auxTempSensor2_tempC_3_offset 2484
#define auxValves1_offset 1816
#define auxValves2_offset 1817
#define BANKS_COUNT 2
#define BARO_CORR_SIZE 4
#define baroCorrPressureBins_offset 1544
#define baroCorrRpmBins_offset 1560
#define baroCorrTable_offset 1576
#define baroSensor_alignmentFill_offset 597
#define baroSensor_highValue_offset 588
#define baroSensor_hwChannel_offset 596
#define baroSensor_lowValue_offset 584
#define baroSensor_offset 584
#define baroSensor_type_offset 592
#define bench_mode_e_BENCH_AC_COMPRESSOR_RELAY 6
#define bench_mode_e_BENCH_CHECK_ENGINE_LIGHT 7
#define bench_mode_e_BENCH_FAN_RELAY 4
#define bench_mode_e_BENCH_FAN_RELAY_2 5
#define bench_mode_e_BENCH_FUEL_PUMP 1
#define bench_mode_e_BENCH_GPPWM1_VALVE 10
#define bench_mode_e_BENCH_GPPWM2_VALVE 11
#define bench_mode_e_BENCH_GPPWM3_VALVE 12
#define bench_mode_e_BENCH_GPPWM4_VALVE 13
#define bench_mode_e_BENCH_HPFP_VALVE 9
#define bench_mode_e_BENCH_IDLE_VALVE 8
#define bench_mode_e_BENCH_MAIN_RELAY 0
#define bench_mode_e_BENCH_SECOND_IDLE_VALVE 14
#define bench_mode_e_BENCH_STARTER_DISABLE_RELAY 3
#define bench_mode_e_BENCH_STARTER_ENABLE_RELAY 2
#define binarySerialRxPin_offset 1815
#define binarySerialTxPin_offset 1814
#define BLOCKING_FACTOR 256
#define BOOST_LOAD_COUNT 8
#define BOOST_RPM_COUNT 8
#define boostControlPin_offset 988
#define boostControlPinMode_offset 989
#define boostControlSafeDutyCycle_offset 542
#define boostCutPressure_offset 2132
#define boostPid_dFactor_offset 1000
#define boostPid_iFactor_offset 996
#define boostPid_maxValue_offset 1010
#define boostPid_minValue_offset 1008
#define boostPid_offset 992
#define boostPid_offset_offset 1004
#define boostPid_periodMs_offset 1006
#define boostPid_pFactor_offset 992
#define boostPwmFrequency_offset 1016
#define boostRpmBins_offset 6320
#define boostTableClosedLoop_offset 6328
#define boostTableOpenLoop_offset 6248
#define boostTpsBins_offset 6392
#define boostType_e_auto_enum "OPEN_LOOP", "CLOSED_LOOP"
#define boostType_e_CLOSED_LOOP 1
#define boostType_e_Force_4bytes_size_boostType_e ENUM_32_BITS
#define boostType_e_OPEN_LOOP 0
#define boostType_offset 1012
2021-12-01 18:59:01 -08:00
#define brain_input_pin_e_enum "NONE","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","79 - IN_CAM","77 - IN_AUX4","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","74 - IN_AUX1","15 - IN_CRANK (A24)","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","75 - IN_AUX2","76 - IN_AUX3","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","59 - IN_VSS"
2021-11-30 18:00:42 -08:00
#define brain_pin_diag_e_PIN_DRIVER_OVERTEMP 0x10
#define brain_pin_diag_e_PIN_INVALID 0x80
#define brain_pin_diag_e_PIN_OK 0
#define brain_pin_diag_e_PIN_OPEN 0x01
#define brain_pin_diag_e_PIN_OVERLOAD 0x08
#define brain_pin_diag_e_PIN_SHORT_TO_BAT 0x04
#define brain_pin_diag_e_PIN_SHORT_TO_GND 0x02
#define brain_pin_e_auto_enum "GPIO_UNASSIGNED", "GPIO_INVALID", "GPIOA_0", "GPIOA_1", "GPIOA_2", "GPIOA_3", "GPIOA_4", "GPIOA_5", "GPIOA_6", "GPIOA_7", "GPIOA_8", "GPIOA_9", "GPIOA_10", "GPIOA_11", "GPIOA_12", "GPIOA_13", "GPIOA_14", "GPIOA_15", "GPIOB_0", "GPIOB_1", "GPIOB_2", "GPIOB_3", "GPIOB_4", "GPIOB_5", "GPIOB_6", "GPIOB_7", "GPIOB_8", "GPIOB_9", "GPIOB_10", "GPIOB_11", "GPIOB_12", "GPIOB_13", "GPIOB_14", "GPIOB_15", "GPIOC_0", "GPIOC_1", "GPIOC_2", "GPIOC_3", "GPIOC_4", "GPIOC_5", "GPIOC_6", "GPIOC_7", "GPIOC_8", "GPIOC_9", "GPIOC_10", "GPIOC_11", "GPIOC_12", "GPIOC_13", "GPIOC_14", "GPIOC_15", "GPIOD_0", "GPIOD_1", "GPIOD_2", "GPIOD_3", "GPIOD_4", "GPIOD_5", "GPIOD_6", "GPIOD_7", "GPIOD_8", "GPIOD_9", "GPIOD_10", "GPIOD_11", "GPIOD_12", "GPIOD_13", "GPIOD_14", "GPIOD_15", "GPIOE_0", "GPIOE_1", "GPIOE_2", "GPIOE_3", "GPIOE_4", "GPIOE_5", "GPIOE_6", "GPIOE_7", "GPIOE_8", "GPIOE_9", "GPIOE_10", "GPIOE_11", "GPIOE_12", "GPIOE_13", "GPIOE_14", "GPIOE_15", "GPIOF_0", "GPIOF_1", "GPIOF_2", "GPIOF_3", "GPIOF_4", "GPIOF_5", "GPIOF_6", "GPIOF_7", "GPIOF_8", "GPIOF_9", "GPIOF_10", "GPIOF_11", "GPIOF_12", "GPIOF_13", "GPIOF_14", "GPIOF_15", "GPIOG_0", "GPIOG_1", "GPIOG_2", "GPIOG_3", "GPIOG_4", "GPIOG_5", "GPIOG_6", "GPIOG_7", "GPIOG_8", "GPIOG_9", "GPIOG_10", "GPIOG_11", "GPIOG_12", "GPIOG_13", "GPIOG_14", "GPIOG_15", "GPIOH_0", "GPIOH_1", "GPIOH_2", "GPIOH_3", "GPIOH_4", "GPIOH_5", "GPIOH_6", "GPIOH_7", "GPIOH_8", "GPIOH_9", "GPIOH_10", "GPIOH_11", "GPIOH_12", "GPIOH_13", "GPIOH_14", "GPIOH_15", "GPIOI_0", "GPIOI_1", "GPIOI_2", "GPIOI_3", "GPIOI_4", "GPIOI_5", "GPIOI_6", "GPIOI_7", "GPIOI_8", "GPIOI_9", "GPIOI_10", "GPIOI_11", "GPIOI_12", "GPIOI_13", "GPIOI_14", "GPIOI_15", "MC33972_PIN_1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "MC33972_PIN_21", "MC33972_PIN_22", "TLE8888_PIN_1", "TLE8888_PIN_2", "TLE8888_PIN_3", "TLE8888_PIN_4", "TLE8888_PIN_5", "TLE8888_PIN_6", "TLE8888_PIN_7", "TLE8888_PIN_8", "TLE8888_PIN_9", "TLE8888_PIN_10", "TLE8888_PIN_11", "TLE8888_PIN_12", "TLE8888_PIN_13", "TLE8888_PIN_14", "TLE8888_PIN_15", "TLE8888_PIN_16", "TLE8888_PIN_17", "TLE8888_PIN_18", "TLE8888_PIN_19", "TLE8888_PIN_20", "TLE8888_PIN_21", "TLE8888_PIN_22", "TLE8888_PIN_23", "TLE8888_PIN_24", "TLE8888_PIN_25", "TLE8888_PIN_26", "TLE8888_PIN_27", "TLE8888_PIN_28", "TLE8888_PIN_MR", "TLE8888_PIN_KEY", "TLE8888_PIN_WAKE", "TLE6240_PIN_1", "TLE6240_PIN_2", "TLE6240_PIN_3", "TLE6240_PIN_4", "TLE6240_PIN_5", "TLE6240_PIN_6", "TLE6240_PIN_7", "TLE6240_PIN_8", "TLE6240_PIN_9", "TLE6240_PIN_10", "TLE6240_PIN_11", "TLE6240_PIN_12", "TLE6240_PIN_13", "TLE6240_PIN_14", "TLE6240_PIN_15", "TLE6240_PIN_16"
#define brain_pin_e_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
#define brain_pin_e_GPIO_INVALID 1
#define brain_pin_e_GPIO_UNASSIGNED 0
#define brain_pin_e_GPIOA_0 2
#define brain_pin_e_GPIOA_1 3
#define brain_pin_e_GPIOA_10 12
#define brain_pin_e_GPIOA_11 13
#define brain_pin_e_GPIOA_12 14
#define brain_pin_e_GPIOA_13 15
#define brain_pin_e_GPIOA_14 16
#define brain_pin_e_GPIOA_15 17
#define brain_pin_e_GPIOA_2 4
#define brain_pin_e_GPIOA_3 5
#define brain_pin_e_GPIOA_4 6
#define brain_pin_e_GPIOA_5 7
#define brain_pin_e_GPIOA_6 8
#define brain_pin_e_GPIOA_7 9
#define brain_pin_e_GPIOA_8 10
#define brain_pin_e_GPIOA_9 11
#define brain_pin_e_GPIOB_0 18
#define brain_pin_e_GPIOB_1 19
#define brain_pin_e_GPIOB_10 28
#define brain_pin_e_GPIOB_11 29
#define brain_pin_e_GPIOB_12 30
#define brain_pin_e_GPIOB_13 31
#define brain_pin_e_GPIOB_14 32
#define brain_pin_e_GPIOB_15 33
#define brain_pin_e_GPIOB_2 20
#define brain_pin_e_GPIOB_3 21
#define brain_pin_e_GPIOB_4 22
#define brain_pin_e_GPIOB_5 23
#define brain_pin_e_GPIOB_6 24
#define brain_pin_e_GPIOB_7 25
#define brain_pin_e_GPIOB_8 26
#define brain_pin_e_GPIOB_9 27
#define brain_pin_e_GPIOC_0 34
#define brain_pin_e_GPIOC_1 35
#define brain_pin_e_GPIOC_10 44
#define brain_pin_e_GPIOC_11 45
#define brain_pin_e_GPIOC_12 46
#define brain_pin_e_GPIOC_13 47
#define brain_pin_e_GPIOC_14 48
#define brain_pin_e_GPIOC_15 49
#define brain_pin_e_GPIOC_2 36
#define brain_pin_e_GPIOC_3 37
#define brain_pin_e_GPIOC_4 38
#define brain_pin_e_GPIOC_5 39
#define brain_pin_e_GPIOC_6 40
#define brain_pin_e_GPIOC_7 41
#define brain_pin_e_GPIOC_8 42
#define brain_pin_e_GPIOC_9 43
#define brain_pin_e_GPIOD_0 50
#define brain_pin_e_GPIOD_1 51
#define brain_pin_e_GPIOD_10 60
#define brain_pin_e_GPIOD_11 61
#define brain_pin_e_GPIOD_12 62
#define brain_pin_e_GPIOD_13 63
#define brain_pin_e_GPIOD_14 64
#define brain_pin_e_GPIOD_15 65
#define brain_pin_e_GPIOD_2 52
#define brain_pin_e_GPIOD_3 53
#define brain_pin_e_GPIOD_4 54
#define brain_pin_e_GPIOD_5 55
#define brain_pin_e_GPIOD_6 56
#define brain_pin_e_GPIOD_7 57
#define brain_pin_e_GPIOD_8 58
#define brain_pin_e_GPIOD_9 59
#define brain_pin_e_GPIOE_0 66
#define brain_pin_e_GPIOE_1 67
#define brain_pin_e_GPIOE_10 76
#define brain_pin_e_GPIOE_11 77
#define brain_pin_e_GPIOE_12 78
#define brain_pin_e_GPIOE_13 79
#define brain_pin_e_GPIOE_14 80
#define brain_pin_e_GPIOE_15 81
#define brain_pin_e_GPIOE_2 68
#define brain_pin_e_GPIOE_3 69
#define brain_pin_e_GPIOE_4 70
#define brain_pin_e_GPIOE_5 71
#define brain_pin_e_GPIOE_6 72
#define brain_pin_e_GPIOE_7 73
#define brain_pin_e_GPIOE_8 74
#define brain_pin_e_GPIOE_9 75
#define brain_pin_e_GPIOF_0 82
#define brain_pin_e_GPIOF_1 83
#define brain_pin_e_GPIOF_10 92
#define brain_pin_e_GPIOF_11 93
#define brain_pin_e_GPIOF_12 94
#define brain_pin_e_GPIOF_13 95
#define brain_pin_e_GPIOF_14 96
#define brain_pin_e_GPIOF_15 97
#define brain_pin_e_GPIOF_2 84
#define brain_pin_e_GPIOF_3 85
#define brain_pin_e_GPIOF_4 86
#define brain_pin_e_GPIOF_5 87
#define brain_pin_e_GPIOF_6 88
#define brain_pin_e_GPIOF_7 89
#define brain_pin_e_GPIOF_8 90
#define brain_pin_e_GPIOF_9 91
#define brain_pin_e_GPIOG_0 98
#define brain_pin_e_GPIOG_1 99
#define brain_pin_e_GPIOG_10 108
#define brain_pin_e_GPIOG_11 109
#define brain_pin_e_GPIOG_12 110
#define brain_pin_e_GPIOG_13 111
#define brain_pin_e_GPIOG_14 112
#define brain_pin_e_GPIOG_15 113
#define brain_pin_e_GPIOG_2 100
#define brain_pin_e_GPIOG_3 101
#define brain_pin_e_GPIOG_4 102
#define brain_pin_e_GPIOG_5 103
#define brain_pin_e_GPIOG_6 104
#define brain_pin_e_GPIOG_7 105
#define brain_pin_e_GPIOG_8 106
#define brain_pin_e_GPIOG_9 107
#define brain_pin_e_GPIOH_0 114
#define brain_pin_e_GPIOH_1 115
#define brain_pin_e_GPIOH_10 124
#define brain_pin_e_GPIOH_11 125
#define brain_pin_e_GPIOH_12 126
#define brain_pin_e_GPIOH_13 127
#define brain_pin_e_GPIOH_14 128
#define brain_pin_e_GPIOH_15 129
#define brain_pin_e_GPIOH_2 116
#define brain_pin_e_GPIOH_3 117
#define brain_pin_e_GPIOH_4 118
#define brain_pin_e_GPIOH_5 119
#define brain_pin_e_GPIOH_6 120
#define brain_pin_e_GPIOH_7 121
#define brain_pin_e_GPIOH_8 122
#define brain_pin_e_GPIOH_9 123
#define brain_pin_e_GPIOI_0 130
#define brain_pin_e_GPIOI_1 131
#define brain_pin_e_GPIOI_10 140
#define brain_pin_e_GPIOI_11 141
#define brain_pin_e_GPIOI_12 142
#define brain_pin_e_GPIOI_13 143
#define brain_pin_e_GPIOI_14 144
#define brain_pin_e_GPIOI_15 145
#define brain_pin_e_GPIOI_2 132
#define brain_pin_e_GPIOI_3 133
#define brain_pin_e_GPIOI_4 134
#define brain_pin_e_GPIOI_5 135
#define brain_pin_e_GPIOI_6 136
#define brain_pin_e_GPIOI_7 137
#define brain_pin_e_GPIOI_8 138
#define brain_pin_e_GPIOI_9 139
#define brain_pin_e_MC33972_PIN_1 146
#define brain_pin_e_MC33972_PIN_21 166
#define brain_pin_e_MC33972_PIN_22 167
#define brain_pin_e_TLE6240_PIN_1 199
#define brain_pin_e_TLE6240_PIN_10 208
#define brain_pin_e_TLE6240_PIN_11 209
#define brain_pin_e_TLE6240_PIN_12 210
#define brain_pin_e_TLE6240_PIN_13 211
#define brain_pin_e_TLE6240_PIN_14 212
#define brain_pin_e_TLE6240_PIN_15 213
#define brain_pin_e_TLE6240_PIN_16 214
#define brain_pin_e_TLE6240_PIN_2 200
#define brain_pin_e_TLE6240_PIN_3 201
#define brain_pin_e_TLE6240_PIN_4 202
#define brain_pin_e_TLE6240_PIN_5 203
#define brain_pin_e_TLE6240_PIN_6 204
#define brain_pin_e_TLE6240_PIN_7 205
#define brain_pin_e_TLE6240_PIN_8 206
#define brain_pin_e_TLE6240_PIN_9 207
#define brain_pin_e_TLE8888_PIN_1 168
#define brain_pin_e_TLE8888_PIN_10 177
#define brain_pin_e_TLE8888_PIN_11 178
#define brain_pin_e_TLE8888_PIN_12 179
#define brain_pin_e_TLE8888_PIN_13 180
#define brain_pin_e_TLE8888_PIN_14 181
#define brain_pin_e_TLE8888_PIN_15 182
#define brain_pin_e_TLE8888_PIN_16 183
#define brain_pin_e_TLE8888_PIN_17 184
#define brain_pin_e_TLE8888_PIN_18 185
#define brain_pin_e_TLE8888_PIN_19 186
#define brain_pin_e_TLE8888_PIN_2 169
#define brain_pin_e_TLE8888_PIN_20 187
#define brain_pin_e_TLE8888_PIN_21 188
#define brain_pin_e_TLE8888_PIN_22 189
#define brain_pin_e_TLE8888_PIN_23 190
#define brain_pin_e_TLE8888_PIN_24 191
#define brain_pin_e_TLE8888_PIN_25 192
#define brain_pin_e_TLE8888_PIN_26 193
#define brain_pin_e_TLE8888_PIN_27 194
#define brain_pin_e_TLE8888_PIN_28 195
#define brain_pin_e_TLE8888_PIN_3 170
#define brain_pin_e_TLE8888_PIN_4 171
#define brain_pin_e_TLE8888_PIN_5 172
#define brain_pin_e_TLE8888_PIN_6 173
#define brain_pin_e_TLE8888_PIN_7 174
#define brain_pin_e_TLE8888_PIN_8 175
#define brain_pin_e_TLE8888_PIN_9 176
#define brain_pin_e_TLE8888_PIN_KEY 197
#define brain_pin_e_TLE8888_PIN_MR 196
#define brain_pin_e_TLE8888_PIN_WAKE 198
#define brakePedalPin_offset 2608
#define brakePedalPinMode_offset 2611
#define byFirmwareVersion_offset 500
#define CAM_INPUTS_COUNT 4
#define CAM_INPUTS_COUNT_padding 0
#define camInputs1_offset 556
#define camInputs2_offset 557
#define camInputs3_offset 558
#define camInputs4_offset 559
#define camInputsDebug1_offset 1492
#define camInputsDebug2_offset 1493
#define camInputsDebug3_offset 1494
#define camInputsDebug4_offset 1495
#define camInputsDebugPadding_offset 1496
#define camInputsPadding_offset 560
#define CAMS_PER_BANK 2
#define CAMS_PER_BANK_padding 0
#define can2BaudRate_offset 2110
#define can2NbcType_offset 2120
#define can2ReadEnabled_offset 2116
#define can2RxPin_offset 2125
#define can2SleepPeriodMs_offset 712
#define can2TxPin_offset 2124
#define can2WriteEnabled_offset 2116
#define can_baudrate_e_auto_enum "B100KBPS", "B250KBPS", "B500KBPS", "B1MBPS"
#define can_baudrate_e_B100KBPS 0
#define can_baudrate_e_B1MBPS 3
#define can_baudrate_e_B250KBPS 1
#define can_baudrate_e_B500KBPS 2
#define can_baudrate_e_enum "100kbps", "250kbps", "500kbps", "1Mbps"
#define CAN_DEFAULT_BASE 0x200
#define can_nbc_e_auto_enum "CAN_BUS_NBC_NONE", "CAN_BUS_NBC_FIAT", "CAN_BUS_NBC_VAG", "CAN_BUS_MAZDA_RX8", "CAN_BUS_NBC_BMW", "CAN_BUS_W202_C180", "CAN_BUS_BMW_E90", "CAN_BUS_Haltech", "CAN_BUS_MQB", "CAN_BUS_NISSAN_VQ", "CAN_BUS_GENESIS_COUPE", "CAN_BUS_HONDA_K"
#define can_nbc_e_CAN_BUS_BMW_E90 6
#define can_nbc_e_CAN_BUS_GENESIS_COUPE 10
#define can_nbc_e_CAN_BUS_Haltech 7
#define can_nbc_e_CAN_BUS_HONDA_K 11
#define can_nbc_e_CAN_BUS_MAZDA_RX8 3
#define can_nbc_e_CAN_BUS_MQB 8
#define can_nbc_e_CAN_BUS_NBC_BMW 4
#define can_nbc_e_CAN_BUS_NBC_FIAT 1
#define can_nbc_e_CAN_BUS_NBC_NONE 0
#define can_nbc_e_CAN_BUS_NBC_VAG 2
#define can_nbc_e_CAN_BUS_NISSAN_VQ 9
#define can_nbc_e_CAN_BUS_W202_C180 5
#define can_nbc_e_Internal_ForceMyEnumIntSize_can_nbc ENUM_32_BITS
#define CAN_RX_PREFIX "CAN_rx"
#define can_vss_nbc_e_auto_enum "BMW_e46", "W202"
#define can_vss_nbc_e_BMW_e46 0
#define can_vss_nbc_e_Force_4_bytes_size_can_vss_nbc_e ENUM_32_BITS
#define can_vss_nbc_e_W202 1
#define canBaudRate_offset 2108
#define canNbcType_offset 480
#define canReadEnabled_offset 1464
#define canRxPin_offset 709
#define canSleepPeriodMs_offset 484
#define canTxPin_offset 708
#define canVssNbcType_offset 4140
#define canWriteEnabled_offset 1464
#define cdmInputPin_offset 937
#define chamber_style_e_CS_CLOSED 1
#define chamber_style_e_CS_OPEN 0
#define chamber_style_e_CS_SWIRL_TUMBLE 2
#define chamber_style_e_Internal_ForceMyEnumIntSize_chamber_stype ENUM_32_BITS
#define cj125CsPin_offset 674
#define cj125CsPinMode_offset 2225
#define cj125isLsu49_offset 76
#define cj125isUaDivided_offset 76
#define cj125isUrDivided_offset 76
#define cj125SpiDevice_offset 2224
#define cj125ua_offset 2609
#define cj125ur_offset 2610
#define clt_adcChannel_offset 280
#define clt_alignmentFill_at_29_offset 281
#define clt_bias_resistor_offset 276
#define clt_config_offset 252
#define CLT_CRANKING_CURVE_SIZE 8
#define CLT_CURVE_SIZE 16
#define CLT_LIMITER_CURVE_SIZE 4
#define clt_offset 252
#define clt_resistance_1_offset 264
#define clt_resistance_2_offset 268
#define clt_resistance_3_offset 272
#define clt_tempC_1_offset 252
#define clt_tempC_2_offset 256
#define clt_tempC_3_offset 260
#define CLT_TIMING_CURVE_SIZE 8
#define cltCrankingCorr_offset 6512
#define cltCrankingCorrBins_offset 6480
2021-12-01 06:21:38 -08:00
#define cltFuelCorr_offset 10336
#define cltFuelCorrBins_offset 10272
#define cltIdleCorr_offset 10720
#define cltIdleCorrBins_offset 10656
2021-11-30 18:00:42 -08:00
#define cltIdleRpm_offset 1960
#define cltIdleRpmBins_offset 1896
#define cltRevLimitRpm_offset 3332
#define cltRevLimitRpmBins_offset 3328
#define cltTimingBins_offset 2352
#define cltTimingExtra_offset 2384
#define clutchDownPin_offset 664
#define clutchDownPinInverted_offset 976
#define clutchDownPinMode_offset 667
#define clutchUpPin_offset 969
#define clutchUpPinInverted_offset 976
#define clutchUpPinMode_offset 971
#define CMD_AC_RELAY_BENCH "acrelaybench"
#define CMD_ALTERNATOR_PIN "set_alternator_pin"
#define CMD_BOOST_PIN "set_boost_pin"
#define CMD_BURNCONFIG "burnconfig"
#define CMD_CALIBRATE_PEDAL_DOWN "calibrate_pedal_down"
#define CMD_CALIBRATE_PEDAL_UP "calibrate_pedal_up"
#define CMD_DATE "date"
#define CMD_DISABLE "disable"
#define CMD_ENABLE "enable"
#define CMD_ENGINE_TYPE "engine_type"
#define CMD_ENGINESNIFFERRPMTHRESHOLD "engineSnifferRpmThreshold"
#define CMD_ETB_DUTY "set_etb_duty"
#define CMD_EXTERNAL_STIMULATION "ext_stimulation"
#define CMD_FAN2_BENCH "fan2bench"
#define CMD_FAN_BENCH "fanbench"
#define CMD_FUEL_BENCH "fuelbench"
#define CMD_FUNCTIONAL_TEST_MODE "test_mode"
#define CMD_GET "get"
#define CMD_HPFP_BENCH "hpfpbench"
#define CMD_IDLE_PIN "set_idle_pin"
#define CMD_IGNITION "ignition"
#define CMD_IGNITION_PIN "set_ignition_pin"
#define CMD_INJECTION "injection"
#define CMD_INJECTION_PIN "set_injection_pin"
#define CMD_LOGIC_PIN "set_logic_input_pin"
#define CMD_MIL_BENCH "milbench"
#define CMD_PINS "pins"
#define CMD_PWM "pwm"
#define CMD_REBOOT "reboot"
#define CMD_REBOOT_DFU "reboot_dfu"
#define CMD_RESET_ENGINE_SNIFFER "reset_engine_chart"
#define CMD_RPM "rpm"
#define CMD_SELF_STIMULATION "self_stimulation"
#define CMD_SET "set"
#define CMD_SPARK_BENCH "sparkbench"
#define CMD_STARTER_BENCH "starterbench"
#define CMD_TRIGGER_HW_INPUT "trigger_hw_input"
#define CMD_TRIGGER_PIN "set_trigger_input_pin"
#define CMD_TRIGGER_SIMULATOR_PIN "set_trigger_simulator_pin"
#define CMD_TRIGGERINFO "triggerinfo"
#define CMD_TS_BENCH_CATEGORY 22
#define CMD_TS_FSIO_CATEGORY 33
#define CMD_TS_SOLENOID_CATEGORY 41
#define CMD_TS_X14 20
#define CMD_TS_X31 49
#define CMD_VSS_PIN "vss_pin"
#define CMD_WRITECONFIG "writeconfig"
#define coastingFuelCutClt_offset 3154
#define coastingFuelCutEnabled_offset 744
#define coastingFuelCutMap_offset 3158
#define coastingFuelCutRpmHigh_offset 3148
#define coastingFuelCutRpmLow_offset 3150
#define coastingFuelCutTps_offset 3152
#define communicationLedPin_offset 1812
#define COMPOSITE_DATA_LENGTH 2500
#define COMPOSITE_DATA_LENGTH_HALF 1250
#define COMPOSITE_PACKET_COUNT 500
#define COMPOSITE_PACKET_SIZE 5
#define compressionRatio_offset 732
#define CONSOLE_DATA_PROTOCOL_TAG " @"
#define consoleUartDevice_offset 943
#define consumeObdSensors_offset 976
#define CRANKING_ADVANCE_CURVE_SIZE 4
#define cranking_alignmentFill_at_6_offset 94
#define cranking_baseFuel_offset 88
#define CRANKING_CLT_IDLE_CURVE_SIZE 8
#define CRANKING_CURVE_SIZE 8
#define cranking_ignition_mode_e_CIM_DEFAULT 0
#define cranking_ignition_mode_e_CIM_FIXED_ANGLE 1
#define cranking_ignition_mode_e_Force_4_bytes_size_cranking_ignition_mode ENUM_32_BITS
#define cranking_offset 88
#define cranking_parameters_s_size 8
#define cranking_rpm_offset 92
#define crankingAdvance_offset 3124
#define crankingAdvanceBins_offset 3108
2021-12-01 06:21:38 -08:00
#define crankingCycleBins_offset 10624
#define crankingCycleCoef_offset 10592
#define crankingFuelBins_offset 10560
#define crankingFuelCoef_offset 10528
2021-11-30 18:00:42 -08:00
#define crankingIACposition_offset 2228
#define crankingInjectionMode_offset 424
#define crankingTimingAngle_offset 436
#define crankingTpsBins_offset 1672
#define crankingTpsCoef_offset 1640
#define CRITICAL_PREFIX "CRITICAL"
#define cutFuelOnHardLimit_offset 1464
#define cutSparkOnHardLimit_offset 1464
#define cylinderBankSelect10_offset 4025
#define cylinderBankSelect11_offset 4026
#define cylinderBankSelect12_offset 4027
#define cylinderBankSelect1_offset 4016
#define cylinderBankSelect2_offset 4017
#define cylinderBankSelect3_offset 4018
#define cylinderBankSelect4_offset 4019
#define cylinderBankSelect5_offset 4020
#define cylinderBankSelect6_offset 4021
#define cylinderBankSelect7_offset 4022
#define cylinderBankSelect8_offset 4023
#define cylinderBankSelect9_offset 4024
#define cylinderBore_offset 408
#define cylindersCount_offset 400
#define dc_io_size 4
#define DC_PER_STEPPER 2
#define debug_mode_e_auto_enum "DBG_0", "DBG_TPS_ACCEL", "DBG_GPPWM", "DBG_IDLE_CONTROL", "DBG_EL_ACCEL", "DBG_TRIGGER_COUNTERS", "DBG_SOFT_SPARK_CUT", "DBG_VVT_1_PID", "DBG_VVT", "DBG_9", "DBG_10", "DBG_11", "DBG_UNUSED12", "DBG_SD_CARD", "DBG_SR5_PROTOCOL", "DBG_KNOCK", "DBG_16", "DBG_ELECTRONIC_THROTTLE_PID", "DBG_EXECUTOR", "DBG_BENCH_TEST", "DBG_20", "DBG_ANALOG_INPUTS", "DBG_INSTANT_RPM", "UNUSED23", "DBG_STATUS", "DBG_CJ125", "DBG_CAN", "DBG_MAP", "DBG_METRICS", "DBG_29", "DBG_ION", "DBG_TLE8888", "DBG_ANALOG_INPUTS2", "DBG_DWELL_METRIC", "DBG_34", "DBG_35", "DBG_BOOST", "DBG_37", "DBG_LAUNCH", "DBG_ETB_AUTOTUNE", "DBG_COMPOSITE_LOG", "DBG_UNUSED41", "DBG_UNUSED_42", "DBG_43", "DBG_DYNO_VIEW", "DBG_LOGIC_ANALYZER", "DBG_RUSEFI_WIDEBAND", "DBG_TCU", "DBG_LUA", "DBG_VVT_2_PID", "DBG_VVT_3_PID", "DBG_VVT_4_PID"
#define debug_mode_e_DBG_0 0
#define debug_mode_e_DBG_10 10
#define debug_mode_e_DBG_11 11
#define debug_mode_e_DBG_16 16
#define debug_mode_e_DBG_20 20
#define debug_mode_e_DBG_29 29
#define debug_mode_e_DBG_34 34
#define debug_mode_e_DBG_35 35
#define debug_mode_e_DBG_37 37
#define debug_mode_e_DBG_43 43
#define debug_mode_e_DBG_9 9
#define debug_mode_e_DBG_ANALOG_INPUTS 21
#define debug_mode_e_DBG_ANALOG_INPUTS2 32
#define debug_mode_e_DBG_BENCH_TEST 19
#define debug_mode_e_DBG_BOOST 36
#define debug_mode_e_DBG_CAN 26
#define debug_mode_e_DBG_CJ125 25
#define debug_mode_e_DBG_COMPOSITE_LOG 40
#define debug_mode_e_DBG_DWELL_METRIC 33
#define debug_mode_e_DBG_DYNO_VIEW 44
#define debug_mode_e_DBG_EL_ACCEL 4
#define debug_mode_e_DBG_ELECTRONIC_THROTTLE_PID 17
#define debug_mode_e_DBG_ETB_AUTOTUNE 39
#define debug_mode_e_DBG_EXECUTOR 18
#define debug_mode_e_DBG_GPPWM 2
#define debug_mode_e_DBG_IDLE_CONTROL 3
#define debug_mode_e_DBG_INSTANT_RPM 22
#define debug_mode_e_DBG_ION 30
#define debug_mode_e_DBG_KNOCK 15
#define debug_mode_e_DBG_LAUNCH 38
#define debug_mode_e_DBG_LOGIC_ANALYZER 45
#define debug_mode_e_DBG_LUA 48
#define debug_mode_e_DBG_MAP 27
#define debug_mode_e_DBG_METRICS 28
#define debug_mode_e_DBG_RUSEFI_WIDEBAND 46
#define debug_mode_e_DBG_SD_CARD 13
#define debug_mode_e_DBG_SOFT_SPARK_CUT 6
#define debug_mode_e_DBG_SR5_PROTOCOL 14
#define debug_mode_e_DBG_STATUS 24
#define debug_mode_e_DBG_TCU 47
#define debug_mode_e_DBG_TLE8888 31
#define debug_mode_e_DBG_TPS_ACCEL 1
#define debug_mode_e_DBG_TRIGGER_COUNTERS 5
#define debug_mode_e_DBG_UNUSED12 12
#define debug_mode_e_DBG_UNUSED41 41
#define debug_mode_e_DBG_UNUSED_42 42
#define debug_mode_e_DBG_VVT 8
#define debug_mode_e_DBG_VVT_1_PID 7
#define debug_mode_e_DBG_VVT_2_PID 49
#define debug_mode_e_DBG_VVT_3_PID 50
#define debug_mode_e_DBG_VVT_4_PID 51
#define debug_mode_e_enum "Alternator PID", "TPS acceleration enrichment", "GPPWM", "Idle Control", "Engine Load accl enrich", "Trigger Counters", "Soft Spark Cut", "VVT1 PID", "VVT input", "Cranking", "Timing", "Closed-loop fuel corr PID", "INVALID", "SD card", "sr5", "Knock", "Wall Wetting", "Electronic Throttle", "Executor", "Bench Test / TS commands", "Aux Valves", "Analog inputs #1", "INSTANT_RPM", "INVALID", "Status", "CJ125", "CAN", "MAP", "Metrics", "ETB#2", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "INVALID", "ETB Logic", "Boost Control", "Start/Stop", "Launch", "ETB Autotune", "FSIO_COMPOSITE_LOG", "INVALID", "INVALID", "Injector Compensation", "Dyno_View", "Logic_Analyzer", "rusEFI Wideband", "TCU", "Lua", "VVT2 PID", "VVT3 PID", "VVT4 PID", "mode 52", "mode 53"
#define debug_mode_e_Force_4_bytes_size_debug_mode_e ENUM_32_BITS
#define debug_mode_e_UNUSED23 23
#define debugMapAveraging_offset 807
#define debugMode_offset 2092
#define debugTriggerSync_offset 676
#define DIGIPOT_COUNT 4
#define digitalPotentiometerChipSelect1_offset 668
#define digitalPotentiometerChipSelect2_offset 669
#define digitalPotentiometerChipSelect3_offset 670
#define digitalPotentiometerChipSelect4_offset 671
#define digitalPotentiometerSpiDevice_offset 677
#define disableEtbWhenEngineStopped_offset 744
#define disableFan1WhenStopped_offset 76
#define disableFan2WhenStopped_offset 76
#define displacement_offset 396
#define display_mode_e_auto_enum "DM_NONE", "DM_HD44780", "DM_HD44780_OVER_PCF8574"
#define display_mode_e_DM_HD44780 1
#define display_mode_e_DM_HD44780_OVER_PCF8574 2
#define display_mode_e_DM_NONE 0
#define display_mode_e_Force_4_bytes_size_display_mode ENUM_32_BITS
#define displayLogicLevelsInEngineSniffer_offset 76
#define displayMode_offset 492
#define driveWheelRevPerKm_offset 476
#define drv8860_cs_offset 1201
#define drv8860_csPinMode_offset 1202
#define drv8860_miso_offset 1203
#define drv8860spiDevice_offset 1200
#define DWELL_CURVE_SIZE 8
#define dwellVoltageCorrValues_offset 786
#define dwellVoltageCorrVoltBins_offset 770
#define ego_sensor_e_auto_enum "ES_BPSX_D1", "ES_Innovate_MTX_L", "ES_14Point7_Free", "ES_NarrowBand", "ES_PLX", "ES_Custom", "ES_AEM"
#define ego_sensor_e_enum "BPSX", "Innovate", "14Point7", "Narrow", "PLX", "Custom", "INVALID", "INVALID"
#define ego_sensor_e_ES_14Point7_Free 2
#define ego_sensor_e_ES_AEM 6
#define ego_sensor_e_ES_BPSX_D1 0
#define ego_sensor_e_ES_Custom 5
#define ego_sensor_e_ES_Innovate_MTX_L 1
#define ego_sensor_e_ES_NarrowBand 3
#define ego_sensor_e_ES_PLX 4
#define ego_sensor_e_Force_4_bytes_size_ego_sensor ENUM_32_BITS
#define egoValueShift_offset 2216
#define EGT_CHANNEL_COUNT 8
#define electronicThrottlePin1Mode_offset 672
#define enableAemXSeries_offset 744
#define enableCanVss_offset 976
#define enabledStep1Limiter_offset 744
#define enableFan1WithAc_offset 76
#define enableFan2WithAc_offset 76
#define enableInnovateLC2_offset 976
#define enableLaunchRetard_offset 976
#define enableMapEstimationTableFallback_offset 76
#define enableSoftwareKnock_offset 976
#define enableTrailingSparks_offset 76
#define enableVerboseCan2Tx_offset 2116
#define enableVerboseCanTx_offset 744
#define engine_configuration_s_size 6000
#define engine_load_mode_e_auto_enum "INVALID", "INVALID", "INVALID", "LM_SPEED_DENSITY", "LM_REAL_MAF", "LM_ALPHA_N", "LM_LUA", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "LM_MOCK"
#define engine_load_mode_e_enum "INVALID", "INVALID", "INVALID", "Speed Density", "MAF Air Charge", "Alpha-N", "Lua"
#define engine_load_mode_e_Force_4_bytes_size_engine_load_mode ENUM_32_BITS
#define engine_load_mode_e_LM_ALPHA_N 5
#define engine_load_mode_e_LM_LUA 6
#define engine_load_mode_e_LM_MOCK 100
#define engine_load_mode_e_LM_REAL_MAF 4
#define engine_load_mode_e_LM_SPEED_DENSITY 3
#define ENGINE_MAKE_BMW "BMW"
#define ENGINE_MAKE_GM "GM"
#define ENGINE_MAKE_HONDA "Honda"
#define ENGINE_MAKE_Hyundai "Hyundai"
#define ENGINE_MAKE_LADA "Lada"
#define ENGINE_MAKE_MAZDA "Mazda"
#define ENGINE_MAKE_MERCEDES "Mercedes"
#define ENGINE_MAKE_NISSAN "Nissan"
#define ENGINE_MAKE_SUBARU "Subaru"
#define ENGINE_MAKE_TOYOTA "Toyota"
#define ENGINE_MAKE_VAG "VAG"
#define ENGINE_NOISE_CURVE_SIZE 8
#define ENGINE_SNIFFER_UNIT_US 10
#define engine_type_e_auto_enum "DEFAULT_FRANKENSO", "MIATA_PROTEUS_TCU", "DODGE_NEON_1995", "FORD_ASPIRE_1996", "MRE_SECONDARY_CAN", "NISSAN_PRIMERA", "PROTEUS_HARLEY", "FORD_INLINE_6_1995", "GY6_139QMB", "UNUSED9", "UNUSED10", "MRE_MIATA_NB2_MAP", "MRE_MIATA_NA6_VAF", "MRE_MIATA_NB2_ETB", "FORD_ESCORT_GT", "MRE_MIATA_NB2_MAF", "MITSU_4G93", "HONDA_ACCORD_CD_TWO_WIRES", "UNUSED18", "UNUSED_19", "MRE_MIATA_94_MAP", "MIATA_1996", "SUBARU_2003_WRX", "MRE_BODY_CONTROL", "BMW_M73_M", "PROTEUS_LUA_DEMO", "TEST_ENGINE", "TEST_ISSUE_898", "UNUSED28", "SACHS", "UNUSED30", "MRE_BOARD_NEW_TEST", "VW_ABA", "HELLEN72_ETB", "HELLEN_NA6", "CAMARO_4", "HELLEN_128_MERCEDES_4_CYL", "MRE_SUBARU_EJ18", "TOYOTA_JZS147", "UNUSED39", "FRANKENSO_BMW_M73_F", "FRANKENSO_MIATA_NA6_MAP", "PROTEUS_QC_TEST_BOARD", "HONDA_600", "TOYOTA_2JZ_GTE_VVTi", "TEST_ENGINE_VVT", "DODGE_NEON_2003_CRANK", "FRANKENSO_MAZDA_MIATA_2003", "UNUSED_48", "FRANKENSO_QA_ENGINE", "UNUSED_50", "UNUSED_51", "TEST_ISSUE_366_BOTH", "TEST_ISSUE_366_RISE", "MAZDA_MIATA_2003_NA_RAIL", "MAZDA_MIATA_2003_BOARD_TEST", "FRANKENSO_MAZDA_MIATA_NA8", "FRANKENSO_MIATA_NA6_VAF", "ETB_BENCH_ENGINE", "TLE8888_BENCH_ENGINE", "UNUSED60", "UNUSED61", "VW_B6", "PROTEUS_BMW_M73", "DODGE_RAM", "CITROEN_TU3JP", "MRE_MIATA_NA6_MAP", "PROTEUS_MIATA_NB2", "MRE_M111", "HELLEN_NB2", "SUBARUEG33_DEFAULTS", "HELLEN_121_VAG_4_CYL", "HELLEN_121_NISSAN_6_CYL", "HELLEN_55_BMW", "HELLEN_88_BMW", "HELLEN_134_BMW", "HELLEN_154_VAG", "HELLEN_121_VAG_5_CYL", "HELLEN_121_VAG_V6_CYL", "HELLEN_121_VAG_VR6_CYL", "HELLEN_NA94", "HELLEN_121_VAG_8_CYL", "HELLEN_154_HYUNDAI_COUPE_BK1", "HELLEN_NB1", "HELLEN_121_NISSAN_4_CYL", "HELLEN_121_NISSAN_8_CYL", "HELLEN_NB2_36", "HELLEN_121_NISSAN_ALMERA_N16", "HELLEN_128_MERCEDES_6_CYL", "HELLEN_128_MERCEDES_8_CYL", "PROTEUS_HONDA_ELEMENT_2003", "PROTEUS_HONDA_OBD2A", "PROTEUS_VAG_80_18T", "PROTEUS_N73", "HELLEN_NB1_36", "HELLEN_154_HYUNDAI_COUPE_BK2", "ET_UNUSED96", "ET_UNUSED97", "ET_UNUSED98", "MINIMAL_PINS", "UNUSED100", "UNUSED101", "VAG_18_TURBO", "TEST_33816", "BMW_M73_MRE", "BMW_M73_MRE_SLAVE", "PROTEUS_ANALOG_PWM_TEST", "TEST_ROTARY", "TEST_108", "TEST_109", "TEST_110"
#define engine_type_e_BMW_M73_M 24
#define engine_type_e_BMW_M73_MRE 104
#define engine_type_e_BMW_M73_MRE_SLAVE 105
#define engine_type_e_CAMARO_4 35
#define engine_type_e_CITROEN_TU3JP 65
#define engine_type_e_DEFAULT_FRANKENSO 0
#define engine_type_e_DODGE_NEON_1995 2
#define engine_type_e_DODGE_NEON_2003_CRANK 46
#define engine_type_e_DODGE_RAM 64
#define engine_type_e_ET_UNUSED96 96
#define engine_type_e_ET_UNUSED97 97
#define engine_type_e_ET_UNUSED98 98
#define engine_type_e_ETB_BENCH_ENGINE 58
#define engine_type_e_Force_4_bytes_size_engine_type ENUM_32_BITS
#define engine_type_e_FORD_ASPIRE_1996 3
#define engine_type_e_FORD_ESCORT_GT 14
#define engine_type_e_FORD_INLINE_6_1995 7
#define engine_type_e_FRANKENSO_BMW_M73_F 40
#define engine_type_e_FRANKENSO_MAZDA_MIATA_2003 47
#define engine_type_e_FRANKENSO_MAZDA_MIATA_NA8 56
#define engine_type_e_FRANKENSO_MIATA_NA6_MAP 41
#define engine_type_e_FRANKENSO_MIATA_NA6_VAF 57
#define engine_type_e_FRANKENSO_QA_ENGINE 49
#define engine_type_e_GY6_139QMB 8
#define engine_type_e_HELLEN72_ETB 33
#define engine_type_e_HELLEN_121_NISSAN_4_CYL 84
#define engine_type_e_HELLEN_121_NISSAN_6_CYL 72
#define engine_type_e_HELLEN_121_NISSAN_8_CYL 85
#define engine_type_e_HELLEN_121_NISSAN_ALMERA_N16 87
#define engine_type_e_HELLEN_121_VAG_4_CYL 71
#define engine_type_e_HELLEN_121_VAG_5_CYL 77
#define engine_type_e_HELLEN_121_VAG_8_CYL 81
#define engine_type_e_HELLEN_121_VAG_V6_CYL 78
#define engine_type_e_HELLEN_121_VAG_VR6_CYL 79
#define engine_type_e_HELLEN_128_MERCEDES_4_CYL 36
#define engine_type_e_HELLEN_128_MERCEDES_6_CYL 88
#define engine_type_e_HELLEN_128_MERCEDES_8_CYL 89
#define engine_type_e_HELLEN_134_BMW 75
#define engine_type_e_HELLEN_154_HYUNDAI_COUPE_BK1 82
#define engine_type_e_HELLEN_154_HYUNDAI_COUPE_BK2 95
#define engine_type_e_HELLEN_154_VAG 76
#define engine_type_e_HELLEN_55_BMW 73
#define engine_type_e_HELLEN_88_BMW 74
#define engine_type_e_HELLEN_NA6 34
#define engine_type_e_HELLEN_NA94 80
#define engine_type_e_HELLEN_NB1 83
#define engine_type_e_HELLEN_NB1_36 94
#define engine_type_e_HELLEN_NB2 69
#define engine_type_e_HELLEN_NB2_36 86
#define engine_type_e_HONDA_600 43
#define engine_type_e_HONDA_ACCORD_CD_TWO_WIRES 17
#define engine_type_e_MAZDA_MIATA_2003_BOARD_TEST 55
#define engine_type_e_MAZDA_MIATA_2003_NA_RAIL 54
#define engine_type_e_MIATA_1996 21
#define engine_type_e_MIATA_PROTEUS_TCU 1
#define engine_type_e_MINIMAL_PINS 99
#define engine_type_e_MITSU_4G93 16
#define engine_type_e_MRE_BOARD_NEW_TEST 31
#define engine_type_e_MRE_BODY_CONTROL 23
#define engine_type_e_MRE_M111 68
#define engine_type_e_MRE_MIATA_94_MAP 20
#define engine_type_e_MRE_MIATA_NA6_MAP 66
#define engine_type_e_MRE_MIATA_NA6_VAF 12
#define engine_type_e_MRE_MIATA_NB2_ETB 13
#define engine_type_e_MRE_MIATA_NB2_MAF 15
#define engine_type_e_MRE_MIATA_NB2_MAP 11
#define engine_type_e_MRE_SECONDARY_CAN 4
#define engine_type_e_MRE_SUBARU_EJ18 37
#define engine_type_e_NISSAN_PRIMERA 5
#define engine_type_e_PROTEUS_ANALOG_PWM_TEST 106
#define engine_type_e_PROTEUS_BMW_M73 63
#define engine_type_e_PROTEUS_HARLEY 6
#define engine_type_e_PROTEUS_HONDA_ELEMENT_2003 90
#define engine_type_e_PROTEUS_HONDA_OBD2A 91
#define engine_type_e_PROTEUS_LUA_DEMO 25
#define engine_type_e_PROTEUS_MIATA_NB2 67
#define engine_type_e_PROTEUS_N73 93
#define engine_type_e_PROTEUS_QC_TEST_BOARD 42
#define engine_type_e_PROTEUS_VAG_80_18T 92
#define engine_type_e_SACHS 29
#define engine_type_e_SUBARU_2003_WRX 22
#define engine_type_e_SUBARUEG33_DEFAULTS 70
#define engine_type_e_TEST_108 108
#define engine_type_e_TEST_109 109
#define engine_type_e_TEST_110 110
#define engine_type_e_TEST_33816 103
#define engine_type_e_TEST_ENGINE 26
#define engine_type_e_TEST_ENGINE_VVT 45
#define engine_type_e_TEST_ISSUE_366_BOTH 52
#define engine_type_e_TEST_ISSUE_366_RISE 53
#define engine_type_e_TEST_ISSUE_898 27
#define engine_type_e_TEST_ROTARY 107
#define engine_type_e_TLE8888_BENCH_ENGINE 59
#define engine_type_e_TOYOTA_2JZ_GTE_VVTi 44
#define engine_type_e_TOYOTA_JZS147 38
#define engine_type_e_UNUSED10 10
#define engine_type_e_UNUSED100 100
#define engine_type_e_UNUSED101 101
#define engine_type_e_UNUSED18 18
#define engine_type_e_UNUSED28 28
#define engine_type_e_UNUSED30 30
#define engine_type_e_UNUSED39 39
#define engine_type_e_UNUSED60 60
#define engine_type_e_UNUSED61 61
#define engine_type_e_UNUSED9 9
#define engine_type_e_UNUSED_19 19
#define engine_type_e_UNUSED_48 48
#define engine_type_e_UNUSED_50 50
#define engine_type_e_UNUSED_51 51
#define engine_type_e_VAG_18_TURBO 102
#define engine_type_e_VW_ABA 32
#define engine_type_e_VW_B6 62
#define engineChartSize_offset 1480
#define engineCode_offset 1128
#define engineConfiguration_offset 0
#define engineLoadAccelLength_offset 2056
#define engineMake_offset 1096
#define engineSnifferRpmThreshold_offset 4
#define engineType_offset 0
#define ENUM_16_BITS 60000
#define ENUM_32_BITS 2000000000
#define ERROR_BUFFER_SIZE 120
#define ETB_BIAS_CURVE_LENGTH 8
#define ETB_COUNT 2
#define etb_dFactor_offset 1744
#define etb_function_e_auto_enum "ETB_None", "ETB_Throttle1", "ETB_Throttle2", "ETB_IdleValve", "ETB_Wastegate"
#define etb_function_e_ETB_IdleValve 3
#define etb_function_e_ETB_None 0
#define etb_function_e_ETB_Throttle1 1
#define etb_function_e_ETB_Throttle2 2
#define etb_function_e_ETB_Wastegate 4
#define ETB_HW_MAX_FREQUENCY 3000
#define etb_iFactor_offset 1740
#define etb_iTermMax_offset 3958
#define etb_iTermMin_offset 3956
#define etb_maxValue_offset 1754
#define etb_minValue_offset 1752
#define etb_offset 1736
#define etb_offset_offset 1748
#define etb_periodMs_offset 1750
#define etb_pFactor_offset 1736
#define etb_use_two_wires_offset 76
#define etbBiasBins_offset 3888
#define etbBiasValues_offset 3920
#define etbFreq_offset 2514
#define etbFunctions1_offset 1198
#define etbFunctions2_offset 1199
#define etbIdleThrottleRange_offset 4012
#define etbIo1_controlPin_offset 982
#define etbIo1_directionPin1_offset 980
#define etbIo1_directionPin2_offset 981
#define etbIo1_disablePin_offset 983
#define etbIo1_offset 980
#define etbIo2_controlPin_offset 986
#define etbIo2_directionPin1_offset 984
#define etbIo2_directionPin2_offset 985
#define etbIo2_disablePin_offset 987
#define etbIo2_offset 984
#define etbMaximumPosition_offset 3960
#define etbNeutralPosition_offset 1471
#define etbRevLimitRange_offset 106
#define etbRevLimitStart_offset 104
#define etbWastegatePid_dFactor_offset 2524
#define etbWastegatePid_iFactor_offset 2520
#define etbWastegatePid_maxValue_offset 2534
#define etbWastegatePid_minValue_offset 2532
#define etbWastegatePid_offset 2516
#define etbWastegatePid_offset_offset 2528
#define etbWastegatePid_periodMs_offset 2530
#define etbWastegatePid_pFactor_offset 2516
#define extraInjectionOffset_offset 432
#define failedMapFallback_offset 541
#define fan1ExtraIdle_offset 2252
#define fan2ExtraIdle_offset 2330
#define fan2OffTemperature_offset 2715
#define fan2OnTemperature_offset 2714
#define fan2Pin_offset 2713
#define fan2PinMode_offset 2419
#define fanOffTemperature_offset 472
#define fanOnTemperature_offset 468
#define fanPin_offset 663
#define fanPinMode_offset 662
#define firingOrder_offset 404
#define fixedModeTiming_offset 452
#define fixedTiming_offset 2204
#define FLASH_DATA_VERSION 10003
#define flexSensorPin_offset 3100
#define FSIO_METHOD_FSIO_ANALOG_INPUT "fsio_analog_input"
#define FSIO_METHOD_FSIO_DIGITAL_INPUT "fsio_digital_input"
#define FSIO_METHOD_FSIO_SETTING "fsio_setting"
#define FSIO_METHOD_FSIO_TABLE "fsio_table"
#define FUEL_LEVEL_TABLE_COUNT 8
#define FUEL_LOAD_COUNT 16
#define FUEL_RPM_COUNT 16
#define fuelAlgorithm_offset 420
#define fuelClosedLoopCorrectionEnabled_offset 1464
#define fuelLevelBins_offset 1204
#define fuelLevelSensor_offset 514
#define fuelLevelValues_offset 684
#define fuelPumpPin_offset 658
#define fuelPumpPinMode_offset 659
#define fuelReferencePressure_offset 2420
#define fuelTrim10_offset 4621
#define fuelTrim11_offset 4622
#define fuelTrim12_offset 4623
#define fuelTrim1_offset 4612
#define fuelTrim2_offset 4613
#define fuelTrim3_offset 4614
#define fuelTrim4_offset 4615
#define fuelTrim5_offset 4616
#define fuelTrim6_offset 4617
#define fuelTrim7_offset 4618
#define fuelTrim8_offset 4619
#define fuelTrim9_offset 4620
#define GAP_TRACKING_LENGTH 18
#define gapTrackingLengthOverride_offset 444
#define GAUGE_COIL_DWELL_TIME "dwell: coil charge time"
#define GAUGE_NAME_ACCEL_ROLL "Acceleration: Roll"
#define GAUGE_NAME_ACCEL_X "Acceleration: X"
#define GAUGE_NAME_ACCEL_Y "Acceleration: Y"
#define GAUGE_NAME_ACCEL_YAW "Acceleration: Yaw"
#define GAUGE_NAME_ACCEL_Z "Acceleration: Z"
#define GAUGE_NAME_AFR "Air/Fuel Ratio"
#define GAUGE_NAME_AFR2 "Air/Fuel Ratio 2"
#define GAUGE_NAME_AIR_FLOW "MAF air flow"
#define GAUGE_NAME_AIR_MASS "air mass"
#define GAUGE_NAME_AUX_TEMP1 "Aux temp 1"
#define GAUGE_NAME_AUX_TEMP2 "Aux temp 2"
#define GAUGE_NAME_BARO_PRESSURE "Barometric pressure"
#define GAUGE_NAME_CLT "CLT"
#define GAUGE_NAME_CPU_TEMP "CPU Temperature"
#define GAUGE_NAME_CURRENT_GEAR "Current Gear"
#define GAUGE_NAME_DEBUG_F1 "debug f1"
#define GAUGE_NAME_DEBUG_F2 "debug f2: iTerm"
#define GAUGE_NAME_DEBUG_F3 "debug f3: prevError"
#define GAUGE_NAME_DEBUG_F4 "debug f4: iParam"
#define GAUGE_NAME_DEBUG_F5 "debug f5: dParam"
#define GAUGE_NAME_DEBUG_F6 "debug f6: dTerm"
#define GAUGE_NAME_DEBUG_F7 "debug f7"
#define GAUGE_NAME_DEBUG_I1 "debug i1: pParam"
#define GAUGE_NAME_DEBUG_I2 "debug i2: offset"
#define GAUGE_NAME_DEBUG_I3 "debug i3"
#define GAUGE_NAME_DEBUG_I4 "debug i4"
#define GAUGE_NAME_DEBUG_I5 "debug i5"
#define GAUGE_NAME_DESIRED_GEAR "Desired Gear"
#define GAUGE_NAME_DWELL_DUTY "dwell: coil duty cycle"
#define GAUGE_NAME_ECU_TEMPERATURE "ECU temperature"
#define GAUGE_NAME_ENGINE_CRC16 "Engine CRC16"
#define GAUGE_NAME_ETB_DUTY "ETB Duty"
#define GAUGE_NAME_ETB_ERROR "ETB position error"
#define GAUGE_NAME_ETB_TARGET "ETB position target"
#define GAUGE_NAME_FLEX "Flex Ethanol %"
#define GAUGE_NAME_FUEL_BARO_CORR "fuel: Barometric pressure correction"
#define GAUGE_NAME_FUEL_BASE "fuel: base mass"
#define GAUGE_NAME_FUEL_CHARGE_TEMP "fuel: Estimated charge temperature"
#define GAUGE_NAME_FUEL_CLT_CORR "fuel: CLT correction"
#define GAUGE_NAME_FUEL_CONSUMPTION "fuel: Total consumed"
#define GAUGE_NAME_FUEL_CRANKING "fuel: cranking"
#define GAUGE_NAME_FUEL_EL_EXTRA "fuel: engine load acceleration extra fuel"
#define GAUGE_NAME_FUEL_FLOW "fuel: Flow rate"
#define GAUGE_NAME_FUEL_IAT_CORR "fuel: IAT correction"
#define GAUGE_NAME_FUEL_INJ_DUTY "fuel: injector duty cycle"
#define GAUGE_NAME_FUEL_LAST_INJECTION "fuel: Last injection"
#define GAUGE_NAME_FUEL_LEVEL "fuel level"
#define GAUGE_NAME_FUEL_LOAD "fuel: load"
#define GAUGE_NAME_FUEL_PRESSURE_HIGH "Fuel pressure (high)"
#define GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS "bar"
#define GAUGE_NAME_FUEL_PRESSURE_LOW "Fuel pressure (low)"
#define GAUGE_NAME_FUEL_PRESSURE_LOW_UNITS "kPa"
#define GAUGE_NAME_FUEL_RUNNING "fuel: running"
#define GAUGE_NAME_FUEL_TPS_EXTRA "fuel: TPS acceleration extra fuel ms"
#define GAUGE_NAME_FUEL_TPS_ROC "fuel: TPS change"
#define GAUGE_NAME_FUEL_TRIM "fuel: fuel trim"
#define GAUGE_NAME_FUEL_TRIM_2 "fuel: fuel trim 2"
#define GAUGE_NAME_FUEL_VE "fuel: VE"
#define GAUGE_NAME_FUEL_WALL_AMOUNT "fuel: wall amount"
#define GAUGE_NAME_FUEL_WALL_CORRECTION "fuel: wall corr ms"
#define GAUGE_NAME_FW_VERSION "ECU Software Version"
#define GAUGE_NAME_IAC "Idle Air Valve"
#define GAUGE_NAME_IAT "IAT"
#define GAUGE_NAME_IDLE_POSITION "Idle position sensor"
#define GAUGE_NAME_IGNITION_LOAD "ign: load"
#define GAUGE_NAME_INJECTOR_LAG "fuel: injector lag"
#define GAUGE_NAME_KNOCK_1 "knock 1"
#define GAUGE_NAME_KNOCK_10 "knock 10"
#define GAUGE_NAME_KNOCK_11 "knock 11"
#define GAUGE_NAME_KNOCK_12 "knock 12"
#define GAUGE_NAME_KNOCK_2 "knock 2"
#define GAUGE_NAME_KNOCK_3 "knock 3"
#define GAUGE_NAME_KNOCK_4 "knock 4"
#define GAUGE_NAME_KNOCK_5 "knock 5"
#define GAUGE_NAME_KNOCK_6 "knock 6"
#define GAUGE_NAME_KNOCK_7 "knock 7"
#define GAUGE_NAME_KNOCK_8 "knock 8"
#define GAUGE_NAME_KNOCK_9 "knock 9"
#define GAUGE_NAME_KNOCK_COUNTER "knock: counter"
#define GAUGE_NAME_KNOCK_LEVEL "knock: current level"
#define GAUGE_NAME_LAMBDA "Lambda"
#define GAUGE_NAME_LAMBDA2 "Lambda 2"
#define GAUGE_NAME_LAST_ERROR "Last error"
#define GAUGE_NAME_MAF "MAF"
#define GAUGE_NAME_MAP "MAP"
#define GAUGE_NAME_OIL_PRESSURE "Oil Pressure"
#define GAUGE_NAME_OIL_PRESSURE_UNITS "kPa"
#define GAUGE_NAME_RAW_FUEL_PRESSURE_HIGH "Fuel pressure raw (high)"
#define GAUGE_NAME_RAW_FUEL_PRESSURE_LOW "Fuel pressure raw (low)"
#define GAUGE_NAME_RPM "RPM"
#define GAUGE_NAME_TARGET_AFR "fuel: target AFR"
#define GAUGE_NAME_TARGET_LAMBDA "fuel: target lambda"
#define GAUGE_NAME_TCHARGE "fuel: SD tCharge"
#define GAUGE_NAME_THROTTLE_PEDAL "Throttle pedal position"
#define GAUGE_NAME_TIME "Time"
#define GAUGE_NAME_TIMING_ADVANCE "timing"
#define GAUGE_NAME_TPS "TPS"
#define GAUGE_NAME_TPS2 "TPS2"
#define GAUGE_NAME_TRG_ERR "trg err"
#define GAUGE_NAME_TUNE_CRC16 "Tune CRC16"
#define GAUGE_NAME_TURBO_SPEED "Turbocharger Speed"
#define GAUGE_NAME_UPTIME "Uptime"
#define GAUGE_NAME_VBAT "VBatt"
#define GAUGE_NAME_VERSION "firmware"
#define GAUGE_NAME_VVS "Vehicle Speed"
#define GAUGE_NAME_VVT_B1E "VVT: bank 1 exhaust"
#define GAUGE_NAME_VVT_B1I "VVT: bank 1 intake"
#define GAUGE_NAME_VVT_B2E "VVT: bank 2 exhaust"
#define GAUGE_NAME_VVT_B2I "VVT: bank 2 intake"
#define GAUGE_NAME_VVT_TARGET_B1E "VVT: bank 1 exhaust target"
#define GAUGE_NAME_VVT_TARGET_B1I "VVT: bank 1 intake target"
#define GAUGE_NAME_VVT_TARGET_B2E "VVT: bank 2 exhaust target"
#define GAUGE_NAME_VVT_TARGET_B2I "VVT: bank 2 intake target"
#define GAUGE_NAME_WARNING_COUNT "Warning count"
#define GAUGE_NAME_WARNING_COUNTER "warning: counter"
#define GAUGE_NAME_WARNING_LAST "warning: last"
#define GAUGE_NAME_WG_POSITION "Wastegate position sensor"
#define gear_e_GEAR_1 1
#define gear_e_GEAR_2 2
#define gear_e_GEAR_3 3
#define gear_e_GEAR_4 4
#define gear_e_NEUTRAL 0
#define gear_e_REVERSE -1
#define globalFuelCorrection_offset 544
#define globalTriggerAngleOffset_offset 456
#define gppwm1_alignmentFill_map_offset 4151
#define gppwm1_dutyIfError_offset 4145
#define gppwm1_loadAxis_offset 4150
#define gppwm1_loadBins_offset 4152
#define gppwm1_offBelowDuty_offset 4149
#define gppwm1_offset 4144
#define gppwm1_onAboveDuty_offset 4148
#define gppwm1_pin_offset 4144
#define gppwm1_pwmFrequency_offset 4146
#define gppwm1_rpmBins_offset 4160
#define gppwm1_table_offset 4168
#define gppwm2_alignmentFill_map_offset 4239
#define gppwm2_dutyIfError_offset 4233
#define gppwm2_loadAxis_offset 4238
#define gppwm2_loadBins_offset 4240
#define gppwm2_offBelowDuty_offset 4237
#define gppwm2_offset 4232
#define gppwm2_onAboveDuty_offset 4236
#define gppwm2_pin_offset 4232
#define gppwm2_pwmFrequency_offset 4234
#define gppwm2_rpmBins_offset 4248
#define gppwm2_table_offset 4256
#define gppwm3_alignmentFill_map_offset 4327
#define gppwm3_dutyIfError_offset 4321
#define gppwm3_loadAxis_offset 4326
#define gppwm3_loadBins_offset 4328
#define gppwm3_offBelowDuty_offset 4325
#define gppwm3_offset 4320
#define gppwm3_onAboveDuty_offset 4324
#define gppwm3_pin_offset 4320
#define gppwm3_pwmFrequency_offset 4322
#define gppwm3_rpmBins_offset 4336
#define gppwm3_table_offset 4344
#define gppwm4_alignmentFill_map_offset 4415
#define gppwm4_dutyIfError_offset 4409
#define gppwm4_loadAxis_offset 4414
#define gppwm4_loadBins_offset 4416
#define gppwm4_offBelowDuty_offset 4413
#define gppwm4_offset 4408
#define gppwm4_onAboveDuty_offset 4412
#define gppwm4_pin_offset 4408
#define gppwm4_pwmFrequency_offset 4410
#define gppwm4_rpmBins_offset 4424
#define gppwm4_table_offset 4432
#define gppwm_channel_e_auto_enum "GPPWM_Tps", "GPPWM_Map", "GPPWM_Clt", "GPPWM_Iat", "GPPWM_FuelLoad", "GPPWM_IgnLoad", "GPPWM_AuxTemp1", "GPPWM_AuxTemp2", "GPPWM_Zero", "GPPWM_AccelPedal", "GPPWM_Vbatt"
#define gppwm_channel_e_enum "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Zero", "Accel Pedal", "Battery Voltage"
#define gppwm_channel_e_GPPWM_AccelPedal 9
#define gppwm_channel_e_GPPWM_AuxTemp1 6
#define gppwm_channel_e_GPPWM_AuxTemp2 7
#define gppwm_channel_e_GPPWM_Clt 2
#define gppwm_channel_e_GPPWM_FuelLoad 4
#define gppwm_channel_e_GPPWM_Iat 3
#define gppwm_channel_e_GPPWM_IgnLoad 5
#define gppwm_channel_e_GPPWM_Map 1
#define gppwm_channel_e_GPPWM_Tps 0
#define gppwm_channel_e_GPPWM_Vbatt 10
#define gppwm_channel_e_GPPWM_Zero 8
#define gppwm_channel_size 88
#define GPPWM_CHANNELS 4
#define gppwm_compare_mode_e_GPPWM_GreaterThan 0
#define gppwm_compare_mode_e_GPPWM_LessThan 1
#define GPPWM_LOAD_COUNT 8
#define GPPWM_NOTE_SIZE 16
#define GPPWM_RPM_COUNT 8
#define gpPwmNote1_offset 1276
#define gpPwmNote2_offset 1292
#define gpPwmNote3_offset 1308
#define gpPwmNote4_offset 1324
#define gps_rx_pin_offset 656
#define gps_tx_pin_offset 657
#define hardCutRpmRange_offset 1048
#define HD44780_db4_offset 652
#define HD44780_db5_offset 653
#define HD44780_db6_offset 654
#define HD44780_db7_offset 655
#define HD44780_e_offset 651
#define HD44780_rs_offset 650
#define HD44780height_offset 508
#define HD44780width_offset 504
#define highPressureFuel_alignmentFill_offset 3289
#define highPressureFuel_hwChannel_offset 3288
#define highPressureFuel_offset 3288
#define highPressureFuel_v1_offset 3292
#define highPressureFuel_v2_offset 3300
#define highPressureFuel_value1_offset 3296
#define highPressureFuel_value2_offset 3304
#define hip9011CsPin_offset 753
#define hip9011CsPinMode_offset 703
#define hip9011Gain_offset 3952
#define hip9011IntHoldPin_offset 754
#define hip9011IntHoldPinMode_offset 755
#define hip9011PrescalerAndSDO_offset 324
#define hip9011SpiDevice_offset 540
#define hipOutputChannel_offset 1468
#define hpfp_cam_e_auto_enum "HPFP_CAM_NONE", "HPFP_CAM_IN1", "HPFP_CAM_EX1", "HPFP_CAM_IN2", "HPFP_CAM_EX2"
#define hpfp_cam_e_enum "NONE", "Intake 1", "Exhaust 1", "Intake 2", "Exhaust 2"
#define hpfp_cam_e_HPFP_CAM_EX1 2
#define hpfp_cam_e_HPFP_CAM_EX2 4
#define hpfp_cam_e_HPFP_CAM_IN1 1
#define hpfp_cam_e_HPFP_CAM_IN2 3
#define hpfp_cam_e_HPFP_CAM_NONE 0
#define HPFP_COMPENSATION_SIZE 10
#define HPFP_DEADTIME_SIZE 8
#define HPFP_LOBE_PROFILE_SIZE 16
#define HPFP_TARGET_SIZE 10
#define hpfpActivationAngle_offset 4702
#define hpfpCam_offset 4697
#define hpfpCamLobes_offset 4696
#define hpfpCompensation_offset 4996
#define hpfpCompensationLoadBins_offset 5096
#define hpfpCompensationRpmBins_offset 5116
#define hpfpDeadtimeMS_offset 4750
#define hpfpDeadtimeVoltsBins_offset 4742
#define hpfpLobeProfileAngle_offset 4726
#define hpfpLobeProfileQuantityBins_offset 4710
#define hpfpMinAngle_offset 4699
#define hpfpPeakPos_offset 4698
#define hpfpPidI_offset 4706
#define hpfpPidP_offset 4704
#define hpfpPumpVolume_offset 4700
#define hpfpTarget_offset 4766
#define hpfpTargetDecay_offset 4708
#define hpfpTargetLoadBins_offset 4966
#define hpfpTargetRpmBins_offset 4986
#define hpfpValvePin_offset 2130
#define hpfpValvePinMode_offset 2131
#define HW_MAX_ADC_INDEX 17
#define IAC_PID_MULT_SIZE 8
#define iacByTpsTaper_offset 2038
#define iacCoasting_offset 3224
#define iacCoastingBins_offset 3160
#define iacPidMultLoadBins_offset 4124
#define iacPidMultRpmBins_offset 4132
#define iacPidMultTable_offset 4060
#define iat_adcChannel_offset 312
#define iat_alignmentFill_at_29_offset 313
#define iat_bias_resistor_offset 308
#define iat_config_offset 284
#define IAT_CURVE_SIZE 16
#define iat_offset 284
#define iat_resistance_1_offset 296
#define iat_resistance_2_offset 300
#define iat_resistance_3_offset 304
#define iat_tempC_1_offset 284
#define iat_tempC_2_offset 288
#define iat_tempC_3_offset 292
2021-12-01 06:21:38 -08:00
#define iatFuelCorr_offset 10464
#define iatFuelCorrBins_offset 10400
2021-11-30 18:00:42 -08:00
#define IDLE_ADVANCE_CURVE_SIZE 8
#define idle_antiwindupFreq_offset 696
#define idle_derivativeFilterLoss_offset 516
#define idle_hardware_s_size 8
#define idle_mode_e_auto_enum "IM_AUTO", "IM_MANUAL"
#define idle_mode_e_Force_4_bytes_size_idle_mode ENUM_32_BITS
#define idle_mode_e_IM_AUTO 0
#define idle_mode_e_IM_MANUAL 1
#define idle_offset 600
#define idle_solenoidFrequency_offset 600
#define idle_solenoidPin_offset 604
#define idle_solenoidPinMode_offset 607
#define idle_state_e_BLIP 64
#define idle_state_e_Force_4bytes_size_idle_state_e ENUM_32_BITS
#define idle_state_e_INIT 0
#define idle_state_e_PID_UPPER 16
#define idle_state_e_PID_VALUE 4
#define idle_state_e_RPM_DEAD_ZONE 2
#define idle_state_e_TPS_THRESHOLD 1
#define idle_stepperDirectionPin_offset 605
#define idle_stepperStepPin_offset 606
#define IDLE_VE_CURVE_SIZE 8
#define idleAdvance_offset 6576
#define idleAdvanceBins_offset 6544
#define idleIncrementalPidCic_offset 744
#define idleMode_offset 1472
#define idlePidActivationTime_offset 2588
#define idlePidDeactivationTpsThreshold_offset 816
#define idlePidRpmDeadZone_offset 1894
#define idlePidRpmUpperLimit_offset 1484
#define idlePositionMax_offset 722
#define idlePositionMin_offset 720
#define idlePositionSensor_offset 806
#define idleRpmPid2_dFactor_offset 4048
#define idleRpmPid2_iFactor_offset 4044
#define idleRpmPid2_maxValue_offset 4058
#define idleRpmPid2_minValue_offset 4056
#define idleRpmPid2_offset 4040
#define idleRpmPid2_offset_offset 4052
#define idleRpmPid2_periodMs_offset 4054
#define idleRpmPid2_pFactor_offset 4040
#define idleRpmPid_dFactor_offset 1796
#define idleRpmPid_iFactor_offset 1792
#define idlerpmpid_iTermMax_offset 4006
#define idlerpmpid_iTermMin_offset 4002
#define idleRpmPid_maxValue_offset 1806
#define idleRpmPid_minValue_offset 1804
#define idleRpmPid_offset 1788
#define idleRpmPid_offset_offset 1800
#define idleRpmPid_periodMs_offset 1802
#define idleRpmPid_pFactor_offset 1788
#define idleStepperReactionTime_offset 1508
#define idleStepperTotalSteps_offset 1532
#define idleTimingPid_dFactor_offset 3976
#define idleTimingPid_iFactor_offset 3972
#define idleTimingPid_maxValue_offset 3986
#define idleTimingPid_minValue_offset 3984
#define idleTimingPid_offset 3968
#define idleTimingPid_offset_offset 3980
#define idleTimingPid_periodMs_offset 3982
#define idleTimingPid_pFactor_offset 3968
#define idleTimingPidDeadZone_offset 3990
#define idleVe_offset 6640
#define idleVeBins_offset 6608
#define IGN_LOAD_COUNT 16
#define IGN_RPM_COUNT 16
#define ignition_mode_e_auto_enum "IM_ONE_COIL", "IM_INDIVIDUAL_COILS", "IM_WASTED_SPARK", "IM_TWO_COILS"
#define ignition_mode_e_Force_4_bytes_size_ignition_mode ENUM_32_BITS
#define ignition_mode_e_IM_INDIVIDUAL_COILS 1
#define ignition_mode_e_IM_ONE_COIL 0
#define ignition_mode_e_IM_TWO_COILS 3
#define ignition_mode_e_IM_WASTED_SPARK 2
#define ignitionDwellForCrankingMs_offset 100
2021-12-01 06:21:38 -08:00
#define ignitionIatCorrLoadBins_offset 13856
#define ignitionIatCorrRpmBins_offset 13920
#define ignitionIatCorrTable_offset 12832
#define ignitionLoadBins_offset 17312
2021-11-30 18:00:42 -08:00
#define ignitionMode_offset 440
#define ignitionPinMode_offset 649
#define ignitionPins10_offset 645
#define ignitionPins11_offset 646
#define ignitionPins12_offset 647
#define ignitionPins1_offset 636
#define ignitionPins2_offset 637
#define ignitionPins3_offset 638
#define ignitionPins4_offset 639
#define ignitionPins5_offset 640
#define ignitionPins6_offset 641
#define ignitionPins7_offset 642
#define ignitionPins8_offset 643
#define ignitionPins9_offset 644
2021-12-01 06:21:38 -08:00
#define ignitionRpmBins_offset 17376
#define ignitionTable_offset 16288
2021-11-30 18:00:42 -08:00
#define ignOverrideMode_offset 2128
#define imu_type_e_auto_enum "IMU_NONE", "IMU_VAG", "IMU_MM5_10", "IMU_TYPE_3", "IMU_TYPE_4"
#define imu_type_e_IMU_MM5_10 2
#define imu_type_e_IMU_NONE 0
#define imu_type_e_IMU_TYPE_3 3
#define imu_type_e_IMU_TYPE_4 4
#define imu_type_e_IMU_VAG 1
#define imuType_offset 778
#define INDICATOR_NAME_AC_SWITCH "AC switch"
#define INDICATOR_NAME_BRAKE_DOWN "brake: down"
#define INDICATOR_NAME_CLUTCH_DOWN "clutch: down"
#define INDICATOR_NAME_CLUTCH_UP "clutch: up"
#define injection_mode_e_auto_enum "IM_SIMULTANEOUS", "IM_SEQUENTIAL", "IM_BATCH", "IM_SINGLE_POINT"
#define injection_mode_e_Force_4_bytes_size_injection_mode ENUM_32_BITS
#define injection_mode_e_IM_BATCH 2
#define injection_mode_e_IM_SEQUENTIAL 1
#define injection_mode_e_IM_SIMULTANEOUS 0
#define injection_mode_e_IM_SINGLE_POINT 3
#define injectionMode_offset 428
2021-12-01 06:21:38 -08:00
#define injectionPhase_offset 13984
2021-11-30 18:00:42 -08:00
#define injectionPinMode_offset 648
#define injectionPins10_offset 633
#define injectionPins11_offset 634
#define injectionPins12_offset 635
#define injectionPins1_offset 624
#define injectionPins2_offset 625
#define injectionPins3_offset 626
#define injectionPins4_offset 627
#define injectionPins5_offset 628
#define injectionPins6_offset 629
#define injectionPins7_offset 630
#define injectionPins8_offset 631
#define injectionPins9_offset 632
#define injector_battLagCorr_offset 44
#define injector_battLagCorrBins_offset 12
#define injector_compensation_mode_e_auto_enum "ICM_None", "ICM_FixedRailPressure", "ICM_SensedRailPressure"
#define injector_compensation_mode_e_ICM_FixedRailPressure 1
#define injector_compensation_mode_e_ICM_None 0
#define injector_compensation_mode_e_ICM_SensedRailPressure 2
#define injector_flow_offset 8
#define injector_offset 8
#define injector_pressure_type_e_auto_enum "IPT_Low", "IPT_High"
#define injector_pressure_type_e_IPT_High 1
#define injector_pressure_type_e_IPT_Low 0
#define injector_s_size 68
#define injectorCompensationMode_offset 2418
#define injectorCorrectionPolynomial1_offset 2652
#define injectorCorrectionPolynomial2_offset 2656
#define injectorCorrectionPolynomial3_offset 2660
#define injectorCorrectionPolynomial4_offset 2664
#define injectorCorrectionPolynomial5_offset 2668
#define injectorCorrectionPolynomial6_offset 2672
#define injectorCorrectionPolynomial7_offset 2676
#define injectorCorrectionPolynomial8_offset 2680
#define InjectorNonlinearMode_auto_enum "INJ_None", "INJ_PolynomialAdder"
#define InjectorNonlinearMode_INJ_None 0
#define InjectorNonlinearMode_INJ_PolynomialAdder 1
#define injectorNonlinearMode_offset 2510
#define injectorPressureType_offset 2129
2021-12-01 06:21:38 -08:00
#define injPhaseLoadBins_offset 15008
#define injPhaseRpmBins_offset 15072
2021-11-30 18:00:42 -08:00
#define invertCamVVTSignal_offset 976
#define invertPrimaryTriggerSignal_offset 1464
#define invertSecondaryTriggerSignal_offset 1464
#define is_enabled_spi_1_offset 744
#define is_enabled_spi_2_offset 744
#define is_enabled_spi_3_offset 744
#define is_enabled_spi_4_offset 744
#define isAlternatorControlEnabled_offset 1464
#define isBoostControlEnabled_offset 1476
#define isCJ125Enabled_offset 744
#define isCJ125Verbose_offset 76
#define isCylinderCleanupEnabled_offset 1476
#define isDoubleSolenoidIdle_offset 76
#define isEngineChartEnabled_offset 1464
#define isEngineControlEnabled_offset 744
#define isFasterEngineSpinUpEnabled_offset 744
#define isForcedInduction_offset 76
#define isHip9011Enabled_offset 744
#define isIgnitionEnabled_offset 1476
#define isInjectionEnabled_offset 1476
#define isManualSpinningMode_offset 1476
#define isMapAveragingEnabled_offset 1476
#define isSdCardEnabled_offset 744
#define issue_294_29_offset 76
#define issue_294_31_offset 76
#define isVerboseAlternator_offset 744
#define isVerboseAuxPid1_offset 76
#define isVerboseETB_offset 1464
#define isVerboseIAC_offset 1464
#define isWaveAnalyzerEnabled_offset 1476
#define joystickAPin_offset 939
#define joystickBPin_offset 940
#define joystickCenterPin_offset 938
#define joystickCPin_offset 941
#define joystickDPin_offset 942
#define knockBandCustom_offset 328
#define knockBankCyl10_offset 976
#define knockBankCyl11_offset 976
#define knockBankCyl12_offset 976
#define knockBankCyl1_offset 976
#define knockBankCyl2_offset 976
#define knockBankCyl3_offset 976
#define knockBankCyl4_offset 976
#define knockBankCyl5_offset 976
#define knockBankCyl6_offset 976
#define knockBankCyl7_offset 976
#define knockBankCyl8_offset 976
#define knockBankCyl9_offset 976
#define knockBaseNoise_offset 4523
#define knockDetectionWindowEnd_offset 1504
#define knockDetectionWindowStart_offset 1500
#define knockNoise_offset 1820
#define knockNoiseRpmBins_offset 1852
#define knockRetardAggression_offset 612
#define knockRetardMaximum_offset 614
#define knockRetardReapplyRate_offset 613
#define knockSamplingDuration_offset 2512
2021-12-01 06:21:38 -08:00
#define lambdaLoadBins_offset 18848
#define lambdaRpmBins_offset 18912
#define lambdaTable_offset 18592
2021-11-30 18:00:42 -08:00
#define launchActivateDelay_offset 1060
#define launchActivatePin_offset 991
#define launchActivationMode_e_ALWAYS_ACTIVE_LAUNCH 2
#define launchActivationMode_e_auto_enum "SWITCH_INPUT_LAUNCH", "CLUTCH_INPUT_LAUNCH", "ALWAYS_ACTIVE_LAUNCH"
#define launchActivationMode_e_CLUTCH_INPUT_LAUNCH 1
#define launchActivationMode_e_enum "Switch Input", "Clutch Input", "Always Active(Disabled By Speed)", "INVALID"
#define launchActivationMode_e_Force_4bytes_size_launchActivationMode_e ENUM_32_BITS
#define launchActivationMode_e_SWITCH_INPUT_LAUNCH 0
#define launchActivationMode_offset 1020
#define launchAdvanceRpmRange_offset 1052
#define launchBoostDuty_offset 1044
#define launchControlEnabled_offset 76
#define launchFuelAdded_offset 1040
#define launchFuelCutEnable_offset 1464
#define launchRpm_offset 316
#define launchSmoothRetard_offset 1476
#define launchSparkCutEnable_offset 1464
#define launchSpeedThreshold_offset 1028
#define launchTimingRetard_offset 320
#define launchTimingRpmRange_offset 1036
#define launchTpsTreshold_offset 1056
#define LE_COMMAND_LENGTH 200
#define linear_sensor_s_size 20
#define LIS302DLCsPin_offset 2043
#define LIS302DLCsPinMode_offset 2417
#define LOAD_1_BYTE_PACKING_MULT 2
#define LOG_DELIMITER "`"
#define log_format_e_auto_enum "LF_NATIVE", "LM_MLV"
#define log_format_e_Force_4_bytes_size_log_format ENUM_32_BITS
#define log_format_e_LF_NATIVE 0
#define log_format_e_LM_MLV 1
#define LOGIC_ANALYZER_CHANNEL_COUNT 4
#define logicAnalyzerPins1_offset 748
#define logicAnalyzerPins2_offset 749
#define logicAnalyzerPins3_offset 750
#define logicAnalyzerPins4_offset 751
#define lowPressureFuel_alignmentFill_offset 3309
#define lowPressureFuel_hwChannel_offset 3308
#define lowPressureFuel_offset 3308
#define lowPressureFuel_v1_offset 3312
#define lowPressureFuel_v2_offset 3320
#define lowPressureFuel_value1_offset 3316
#define lowPressureFuel_value2_offset 3324
#define lps25BaroSensorScl_offset 1458
#define lps25BaroSensorSda_offset 1459
#define LUA_ANALOG_INPUT_COUNT 8
#define LUA_PWM_COUNT 8
2021-12-01 06:21:38 -08:00
#define LUA_SCRIPT_SIZE 3600
2021-11-30 18:00:42 -08:00
#define luaOutputPins1_offset 1220
#define luaOutputPins2_offset 1221
#define luaOutputPins3_offset 1222
#define luaOutputPins4_offset 1223
#define luaOutputPins5_offset 1224
#define luaOutputPins6_offset 1225
#define luaOutputPins7_offset 1226
#define luaOutputPins8_offset 1227
#define luaScript_offset 6672
#define MAF_DECODING_COUNT 256
#define maf_sensor_type_e_auto_enum "CUSTOM", "Bosch0280218037", "Bosch0280218004", "DensoTODO"
#define maf_sensor_type_e_Bosch0280218004 2
#define maf_sensor_type_e_Bosch0280218037 1
#define maf_sensor_type_e_CUSTOM 0
#define maf_sensor_type_e_DensoTODO 3
#define maf_sensor_type_e_enum "v0", "v1", "v2", "v3"
#define maf_sensor_type_e_Internal_ForceMyEnumIntSize_maf_sensor ENUM_32_BITS
#define mafAdcChannel_offset 543
2021-12-01 06:21:38 -08:00
#define mafDecoding_offset 10784
#define mafDecodingBins_offset 11808
2021-11-30 18:00:42 -08:00
#define mafSensorType_offset 948
2021-12-01 18:59:01 -08:00
#define MAIN_HELP_URL "https://rusefi.com/s/hellen81"
2021-11-30 18:00:42 -08:00
#define mainRelayPin_offset 706
#define mainRelayPinMode_offset 752
#define mainUnusedEnd_offset 5128
#define malfunctionIndicatorPin_offset 660
#define malfunctionIndicatorPinMode_offset 661
#define manIdlePosition_offset 608
#define MAP_ACCEL_TAPER 8
#define MAP_ANGLE_SIZE 8
#define map_offset 108
#define map_samplingAngle_offset 140
#define map_samplingAngleBins_offset 108
#define map_samplingWindow_offset 204
#define map_samplingWindowBins_offset 172
#define map_sensor_alignmentFill_offset 249
#define MAP_sensor_config_s_size 144
#define map_sensor_highValue_offset 240
#define map_sensor_hwChannel_offset 248
#define map_sensor_lowValue_offset 236
#define map_sensor_offset 236
#define map_sensor_type_offset 244
#define MAP_WINDOW_SIZE 8
#define mapAccelTaperBins_offset 2136
#define mapAccelTaperMult_offset 2168
#define mapAveragingSchedulingAtIndex_offset 1540
#define mapCamDetectionAnglePosition_offset 552
#define mapCamDetectionThreshold_offset 615
#define mapErrorDetectionTooHigh_offset 1780
#define mapErrorDetectionTooLow_offset 1776
2021-12-01 06:21:38 -08:00
#define mapEstimateRpmBins_offset 15744
#define mapEstimateTable_offset 15200
#define mapEstimateTpsBins_offset 15712
2021-11-30 18:00:42 -08:00
#define mapHighValueVoltage_offset 2212
#define mapLowValueVoltage_offset 2208
#define mapMinBufferLength_offset 812
#define max31855_cs1_offset 796
#define max31855_cs2_offset 797
#define max31855_cs3_offset 798
#define max31855_cs4_offset 799
#define max31855_cs5_offset 800
#define max31855_cs6_offset 801
#define max31855_cs7_offset 802
#define max31855_cs8_offset 803
#define max31855spiDevice_offset 675
#define MAX_CYLINDER_COUNT 12
#define maxAcClt_offset 1711
#define maxAcRpm_offset 1708
#define maxAcTps_offset 1710
#define maxIdleVss_offset 445
#define mc33816_cs_offset 3107
#define mc33816_driven_offset 2607
#define mc33816_flag0_offset 1774
#define mc33816_rstb_offset 2606
#define mc33816spiDevice_offset 4001
#define mc33972_cs_offset 678
#define mc33972_csPinMode_offset 679
#define mc33972spiDevice_offset 4008
#define mc33_hvolt_offset 760
#define mc33_i_boost_offset 4496
#define mc33_i_hold_offset 4500
#define mc33_i_peak_offset 4498
#define mc33_t_bypass_offset 4508
#define mc33_t_hold_off_offset 4510
#define mc33_t_hold_tot_offset 4512
#define mc33_t_max_boost_offset 4502
#define mc33_t_peak_off_offset 4504
#define mc33_t_peak_tot_offset 4506
#define measureMapOnlyInOneCylinder_offset 744
#define minimumBoostClosedLoopMap_offset 761
#define minOilPressureAfterStart_offset 446
#define MLQ_FIELD_HEADER_SIZE 55
#define MLQ_HEADER_SIZE 22
#define MOCK_AFR_COMMAND "mock_afr_voltage"
#define MOCK_MAF_COMMAND "mock_maf_voltage"
#define MOCK_MAP_COMMAND "mock_map_voltage"
#define MOCK_PPS_POSITION_COMMAND "mock_pps_position"
#define MOCK_PPS_VOLTAGE_COMMAND "mock_pps_voltage"
#define multisparkDwell_offset 1786
#define multisparkEnable_offset 976
#define multisparkMaxExtraSparkCount_offset 975
#define multisparkMaxRpm_offset 972
#define multisparkMaxSparkingAngle_offset 974
#define multisparkSparkDuration_offset 1784
#define NARROW_BAND_WIDE_BAND_CONVERSION_SIZE 8
#define narrowToWideOxygen_offset 2296
#define narrowToWideOxygenBins_offset 2264
#define noAccelAfterHardLimitPeriodSecs_offset 1536
#define o2heaterPin_offset 742
#define o2heaterPinModeTodO_offset 743
#define oilPressure_alignmentFill_offset 2693
#define oilPressure_hwChannel_offset 2692
#define oilPressure_offset 2692
#define oilPressure_v1_offset 2696
#define oilPressure_v2_offset 2704
#define oilPressure_value1_offset 2700
#define oilPressure_value2_offset 2708
#define onOffAlternatorLogic_offset 744
#define operation_mode_e_auto_enum "OM_NONE", "FOUR_STROKE_CRANK_SENSOR", "FOUR_STROKE_CAM_SENSOR", "TWO_STROKE", "FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR", "FOUR_STROKE_THREE_TIMES_CRANK_SENSOR"
#define operation_mode_e_Force_4_bytes_size_operation_mode_e ENUM_32_BITS
#define operation_mode_e_FOUR_STROKE_CAM_SENSOR 2
#define operation_mode_e_FOUR_STROKE_CRANK_SENSOR 1
#define operation_mode_e_FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR 4
#define operation_mode_e_FOUR_STROKE_THREE_TIMES_CRANK_SENSOR 5
#define operation_mode_e_OM_NONE 0
#define operation_mode_e_TWO_STROKE 3
2021-12-01 18:59:01 -08:00
#define output_pin_e_enum "NONE","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","28 - OUT_O2H2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","23 - IGN_6","22 - IGN_7","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","67 - OUT_COIL_A1","66 - OUT_COIL_A2","65 - OUT_COIL_B1","64 - OUT_COIL_B2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","30 - INJ_5","47 - INJ_4","7 - INJ_3","68 - OUT_ECF","60 - OUT_IO","8 - OUT_TACH","10 - OUT_FUEL","INVALID","INVALID","24 - IGN_5","4 - IGN_4","2 - IGN_3","1 - IGN_2","21 - IGN_8","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","25 - INJ_6","72 - INJ_7","73 - INJ_8","INVALID","INVALID","INVALID","70 - OUT_PUMP","46 - OUT_CANIST","31 - OUT_CE","INVALID","INVALID","27 - INJ_1","6 - INJ_2","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","11 - OUT_HIGH","48 - OUT_O2H","69 - OUT_AC","50 - OUT_STARTER","49 - OUT_HEATER","14 - OUT_MAIN","INVALID","INVALID","INVALID","INVALID","INVALID","5 - IGN_1"
2021-11-30 18:00:42 -08:00
#define overrideCrankingIacSetting_offset 1476
#define overrideTriggerGaps_offset 76
#define PACK_ADD_TEMPERATURE 40
#define PACK_MULT_AFR 1000
#define PACK_MULT_AFR_CFG 10
#define PACK_MULT_ANGLE 50
#define PACK_MULT_FUEL_FLOW 200
#define PACK_MULT_FUEL_MASS 100
#define PACK_MULT_HIGH_PRESSURE 10
#define PACK_MULT_LAMBDA 10000
#define PACK_MULT_LAMBDA_CFG 147
#define PACK_MULT_MAP_ESTIMATE 100
#define PACK_MULT_MASS_FLOW 10
#define PACK_MULT_MS 300
#define PACK_MULT_PERCENT 100
#define PACK_MULT_PRESSURE 30
#define PACK_MULT_TEMPERATURE 100
#define PACK_MULT_VOLTAGE 1000
#define PACK_PERCENT_BYTE_MULT 100.0
#define pauseEtbControl_offset 744
#define PEDAL_TO_TPS_SIZE 8
#define pedalToTpsPedalBins_offset 6464
#define pedalToTpsRpmBins_offset 6472
#define pedalToTpsTable_offset 6400
#define PERCENT_TRIM_BYTE_PACKING_DIV 0.02
2021-12-01 06:21:38 -08:00
#define persistent_config_s_size 20000
2021-11-30 18:00:42 -08:00
#define pid_s_size 20
#define PidAutoTune_AutoTunerState_AUTOTUNER_OFF 0
#define PidAutoTune_AutoTunerState_CONVERGED 16
#define PidAutoTune_AutoTunerState_FAILED 128
#define PidAutoTune_AutoTunerState_RELAY_STEP_DOWN 8
#define PidAutoTune_AutoTunerState_RELAY_STEP_UP 4
#define PidAutoTune_AutoTunerState_STEADY_STATE_AFTER_STEP_UP 2
#define PidAutoTune_AutoTunerState_STEADY_STATE_AT_BASELINE 1
#define PidAutoTune_Peak_MAXIMUM 1
#define PidAutoTune_Peak_MINIMUM -1
#define PidAutoTune_Peak_NOT_A_PEAK 0
#define pidExtraForLowRpm_offset 3156
#define pin_input_mode_e_auto_enum "PI_DEFAULT", "PI_PULLUP", "PI_PULLDOWN"
#define pin_input_mode_e_enum "DEFAULT", "PULLUP", "PULLDOWN"
#define pin_input_mode_e_PI_DEFAULT 0
#define pin_input_mode_e_PI_PULLDOWN 2
#define pin_input_mode_e_PI_PULLUP 1
#define pin_mode_e_auto_enum "PO_DEFAULT", "INVALID", "INVALID", "INVALID", "PO_OPENDRAIN", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PO_PULLUP", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PO_PULLDOWN"
#define pin_mode_e_enum "default", "INVALID", "INVALID", "INVALID", "opendrain", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PULLUP", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PULLDOWN"
#define pin_mode_e_PO_DEFAULT 0
#define pin_mode_e_PO_OPENDRAIN 4
#define pin_mode_e_PO_PULLDOWN 64
#define pin_mode_e_PO_PULLUP 32
#define pin_output_mode_e_auto_enum "OM_DEFAULT", "OM_INVERTED", "OM_OPENDRAIN", "OM_OPENDRAIN_INVERTED"
#define pin_output_mode_e_enum "default", "default inverted", "open collector", "open collector inverted"
#define pin_output_mode_e_OM_DEFAULT 0
#define pin_output_mode_e_OM_INVERTED 1
#define pin_output_mode_e_OM_OPENDRAIN 2
#define pin_output_mode_e_OM_OPENDRAIN_INVERTED 3
#define postCrankingDurationSec_offset 2440
#define postCrankingFactor_offset 2436
#define primeInjFalloffTemperature_offset 1486
#define primingSquirtDurationMs_offset 96
#define PROTOCOL_ANALOG_CHART "analog_chart"
#define PROTOCOL_COIL1_SHORT_NAME "c1"
#define PROTOCOL_CRANK1 "t1"
#define PROTOCOL_CRANK2 "t2"
#define PROTOCOL_CRANK3 "t3"
#define PROTOCOL_ENGINE_SNIFFER "wave_chart"
#define PROTOCOL_ES_DOWN "d"
#define PROTOCOL_ES_UP "u"
#define PROTOCOL_HELLO_PREFIX "***"
#define PROTOCOL_HIP_NAME "HIP"
#define PROTOCOL_HPFP_NAME "hpfp"
#define PROTOCOL_INJ1_SHORT_NAME "i1"
#define PROTOCOL_MSG "msg"
#define PROTOCOL_OUTPIN "outpin"
#define PROTOCOL_SIGNATURE_PREFIX "rusEFI "
#define PROTOCOL_TACH_NAME "tach"
#define PROTOCOL_TEST_RESPONSE_TAG "ts_p_alive"
#define PROTOCOL_VERSION_TAG "rusEfiVersion"
#define PROTOCOL_VVT1_NAME "VVT1"
#define PROTOCOL_VVT2_NAME "VVT2"
#define PROTOCOL_VVT3_NAME "VVT3"
#define PROTOCOL_VVT4_NAME "VVT4"
#define PROTOCOL_WA_CHANNEL_1 "input1"
#define PROTOCOL_WA_CHANNEL_2 "input2"
#define PROTOCOL_WA_CHANNEL_3 "input3"
#define PROTOCOL_WA_CHANNEL_4 "input4"
#define rollingLaunchEnabled_offset 76
#define RPM_1_BYTE_PACKING_MULT 50
#define rpmHardLimit_offset 416
#define runningLedPin_offset 1813
#define rusefiVerbose29b_offset 744
#define SCRIPT_CURVE_16 16
#define SCRIPT_CURVE_8 8
#define SCRIPT_CURVE_COUNT 6
#define SCRIPT_SETTING_COUNT 8
#define SCRIPT_TABLE_8 8
#define SCRIPT_TABLE_COUNT 4
#define scriptCurve1_offset 2780
#define scriptCurve1Bins_offset 2716
#define scriptCurve2_offset 2908
#define scriptCurve2Bins_offset 2844
#define scriptCurve3_offset 3004
#define scriptCurve3Bins_offset 2972
#define scriptCurve4_offset 3068
#define scriptCurve4Bins_offset 3036
#define scriptCurve5_offset 3468
#define scriptCurve5Bins_offset 3436
#define scriptCurve6_offset 3532
#define scriptCurve6Bins_offset 3500
#define scriptCurveName1_offset 3340
#define scriptCurveName2_offset 3356
#define scriptCurveName3_offset 3372
#define scriptCurveName4_offset 3388
#define scriptCurveName5_offset 3404
#define scriptCurveName6_offset 3420
#define scriptSetting1_offset 864
#define scriptSetting2_offset 868
#define scriptSetting3_offset 872
#define scriptSetting4_offset 876
#define scriptSetting5_offset 880
#define scriptSetting6_offset 884
#define scriptSetting7_offset 888
#define scriptSetting8_offset 892
#define scriptSettingName1_offset 3628
#define scriptSettingName2_offset 3644
#define scriptSettingName3_offset 3660
#define scriptSettingName4_offset 3676
#define scriptSettingName5_offset 3692
#define scriptSettingName6_offset 3708
#define scriptSettingName7_offset 3724
#define scriptSettingName8_offset 3740
2021-12-01 06:21:38 -08:00
#define scriptTable1_offset 19296
#define scriptTable1LoadBins_offset 19552
#define scriptTable1RpmBins_offset 19584
#define scriptTable2_offset 19616
#define scriptTable2LoadBins_offset 19680
#define scriptTable2RpmBins_offset 19712
#define scriptTable3_offset 19744
#define scriptTable3LoadBins_offset 19808
#define scriptTable3RpmBins_offset 19840
#define scriptTable4_offset 19872
#define scriptTable4LoadBins_offset 19936
#define scriptTable4RpmBins_offset 19968
2021-11-30 18:00:42 -08:00
#define scriptTableName1_offset 3564
#define scriptTableName2_offset 3580
#define scriptTableName3_offset 3596
#define scriptTableName4_offset 3612
#define sdCardCsPin_offset 707
#define sdCardCsPinMode_offset 2226
#define sdCardPeriodMs_offset 804
#define sdCardSpiDevice_offset 2592
#define secondSolenoidPin_offset 810
#define sensor_chart_e_auto_enum "SC_OFF", "SC_TRIGGER", "INVALID", "SC_RPM_ACCEL", "SC_DETAILED_RPM", "SC_AUX_FAST1"
#define sensor_chart_e_enum "none", "trigger", "INVALID", "RPM ACCEL", "DETAILED RPM", "Fast Aux1"
#define sensor_chart_e_Internal_ForceMyEnumIntSize_sensor_chart ENUM_32_BITS
#define sensor_chart_e_SC_AUX_FAST1 5
#define sensor_chart_e_SC_DETAILED_RPM 4
#define sensor_chart_e_SC_OFF 0
#define sensor_chart_e_SC_RPM_ACCEL 3
#define sensor_chart_e_SC_TRIGGER 1
#define sensorChartMode_offset 944
#define sensorSnifferRpmThreshold_offset 412
#define SERVO_COUNT 8
#define servoOutputPins1_offset 3140
#define servoOutputPins2_offset 3141
#define servoOutputPins3_offset 3142
#define servoOutputPins4_offset 3143
#define servoOutputPins5_offset 3144
#define servoOutputPins6_offset 3145
#define servoOutputPins7_offset 3146
#define servoOutputPins8_offset 3147
#define show_Frankenso_presets false
#define show_microRusEFI_presets false
2021-12-01 18:59:01 -08:00
#define show_Proteus_presets false
2021-11-30 18:00:42 -08:00
#define show_test_presets false
#define showHumanReadableWarning_offset 976
#define showSdCardWarning_offset 76
2021-12-01 18:59:01 -08:00
#define SIGNATURE_HASH 661558257
2021-11-30 18:00:42 -08:00
#define silentTriggerError_offset 1464
#define slowAdcAlpha_offset 2088
#define sparkDwellRpmBins_offset 332
#define sparkDwellValues_offset 364
#define specs_offset 396
#define specs_s_size 12
#define spi1MisoMode_offset 2598
#define spi1misoPin_offset 929
#define spi1MosiMode_offset 2597
#define spi1mosiPin_offset 928
#define spi1SckMode_offset 2596
#define spi1sckPin_offset 930
#define spi2MisoMode_offset 2601
#define spi2misoPin_offset 932
#define spi2MosiMode_offset 2600
#define spi2mosiPin_offset 931
#define spi2SckMode_offset 2599
#define spi2sckPin_offset 933
#define spi3MisoMode_offset 2604
#define spi3misoPin_offset 935
#define spi3MosiMode_offset 2603
#define spi3mosiPin_offset 934
#define spi3SckMode_offset 2602
#define spi3sckPin_offset 936
#define spi_device_e_auto_enum "SPI_NONE", "SPI_DEVICE_1", "SPI_DEVICE_2", "SPI_DEVICE_3", "SPI_DEVICE_4"
#define spi_device_e_SPI_DEVICE_1 1
#define spi_device_e_SPI_DEVICE_2 2
#define spi_device_e_SPI_DEVICE_3 3
#define spi_device_e_SPI_DEVICE_4 4
#define spi_device_e_SPI_NONE 0
#define spi_pins_size 4
#define spi_speed_e__150KHz 3
#define spi_speed_e__1_25MHz 2
#define spi_speed_e__2_5MHz 1
#define spi_speed_e__5MHz 0
#define startCrankingDuration_offset 826
#define starterControlPin_offset 1772
#define starterControlPinMode_offset 2126
#define starterRelayDisablePin_offset 808
#define starterRelayDisablePinMode_offset 809
#define startOfCrankingPrimingPulse_offset 2032
#define startStopButtonMode_offset 1773
#define startStopButtonPin_offset 811
#define startUpFuelPumpDuration_offset 1892
#define stepper_num_micro_steps_e_auto_enum "STEPPER_FULL", "INVALID", "STEPPER_HALF", "INVALID", "STEPPER_FOURTH", "INVALID", "INVALID", "INVALID", "STEPPER_EIGHTH"
#define stepper_num_micro_steps_e_enum "Full-Step (Default)", "INVALID", "Half-Step", "INVALID", "1/4 Micro-Step", "INVALID", "INVALID", "INVALID", "1/8 Micro-Step"
#define stepper_num_micro_steps_e_STEPPER_EIGHTH 8
#define stepper_num_micro_steps_e_STEPPER_FOURTH 4
#define stepper_num_micro_steps_e_STEPPER_FULL 0
#define stepper_num_micro_steps_e_STEPPER_HALF 2
#define stepperDcInvertedPins_offset 2116
#define stepperDcIo1_controlPin_offset 1090
#define stepperDcIo1_directionPin1_offset 1088
#define stepperDcIo1_directionPin2_offset 1089
#define stepperDcIo1_disablePin_offset 1091
#define stepperDcIo1_offset 1088
#define stepperDcIo2_controlPin_offset 1094
#define stepperDcIo2_directionPin1_offset 1092
#define stepperDcIo2_directionPin2_offset 1093
#define stepperDcIo2_disablePin_offset 1095
#define stepperDcIo2_offset 1092
#define stepperDirectionPinMode_offset 3102
#define stepperEnablePin_offset 3104
#define stepperEnablePinMode_offset 2605
#define stepperForceParkingEveryRestart_offset 744
#define stepperMaxDutyCycle_offset 2538
#define stepperMinDutyCycle_offset 2537
#define stepperNumMicroSteps_offset 2536
#define stepperParkingExtraSteps_offset 818
#define STFT_BANK_COUNT 2
#define stft_cell_cfg_s_size 4
#define STFT_CELL_COUNT 4
#define stft_cellCfgs1_maxAdd_offset 1072
#define stft_cellCfgs1_maxRemove_offset 1073
#define stft_cellCfgs1_offset 1072
#define stft_cellCfgs1_timeConstant_offset 1074
#define stft_cellCfgs2_maxAdd_offset 1076
#define stft_cellCfgs2_maxRemove_offset 1077
#define stft_cellCfgs2_offset 1076
#define stft_cellCfgs2_timeConstant_offset 1078
#define stft_cellCfgs3_maxAdd_offset 1080
#define stft_cellCfgs3_maxRemove_offset 1081
#define stft_cellCfgs3_offset 1080
#define stft_cellCfgs3_timeConstant_offset 1082
#define stft_cellCfgs4_maxAdd_offset 1084
#define stft_cellCfgs4_maxRemove_offset 1085
#define stft_cellCfgs4_offset 1084
#define stft_cellCfgs4_timeConstant_offset 1086
#define stft_deadband_offset 1067
#define stft_maxAfr_offset 1070
#define stft_maxIdleRegionRpm_offset 1064
#define stft_maxOverrunLoad_offset 1065
#define stft_minAfr_offset 1069
#define stft_minClt_offset 1068
#define stft_minPowerLoad_offset 1066
#define stft_offset 1064
#define stft_s_size 24
#define stft_startupDelay_offset 1071
#define stftIgnoreErrorMagnitude_offset 976
#define stoichRatioPrimary_offset 4005
#define stoichRatioSecondary_offset 4009
2021-12-01 18:59:01 -08:00
#define switch_input_pin_e_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
2021-11-30 18:00:42 -08:00
#define tachOutputPin_offset 704
#define tachOutputPinMode_offset 705
#define tachPulseDuractionMs_offset 1704
#define tachPulseDurationAsDutyCycle_offset 1464
#define tachPulsePerRev_offset 1775
#define targetVBatt_offset 2024
#define tChargeAirCoefMax_offset 3868
#define tChargeAirCoefMin_offset 3864
#define tChargeAirDecrLimit_offset 3880
#define tChargeAirFlowMax_offset 3872
#define tChargeAirIncrLimit_offset 3876
#define tChargeMaxRpmMaxTps_offset 2244
#define tChargeMaxRpmMinTps_offset 2240
#define tChargeMinRpmMaxTps_offset 2236
#define tChargeMinRpmMinTps_offset 2232
#define tChargeMode_e_auto_enum "TCHARGE_MODE_RPM_TPS", "TCHARGE_MODE_AIR_INTERP"
#define tChargeMode_e_enum "RPM+TPS (Default)", "Air Mass Interpolation"
#define tChargeMode_e_Force_4bytes_size_tChargeMode_e ENUM_32_BITS
#define tChargeMode_e_TCHARGE_MODE_AIR_INTERP 1
#define tChargeMode_e_TCHARGE_MODE_RPM_TPS 0
#define tChargeMode_offset 3884
#define TCU_GEAR_COUNT 10
#define tcu_solenoid1_offset 1192
#define tcu_solenoid2_offset 1193
#define tcu_solenoid3_offset 1194
#define tcu_solenoid4_offset 1195
#define tcu_solenoid5_offset 1196
#define tcu_solenoid6_offset 1197
#define TCU_SOLENOID_COUNT 6
#define tcu_solenoid_mode1_offset 4517
#define tcu_solenoid_mode2_offset 4518
#define tcu_solenoid_mode3_offset 4519
#define tcu_solenoid_mode4_offset 4520
#define tcu_solenoid_mode5_offset 4521
#define tcu_solenoid_mode6_offset 4522
#define tcuDownshiftButtonPin_offset 1819
#define tcuDownshiftButtonPinMode_offset 4515
#define tcuEnabled_offset 976
2021-12-01 06:21:38 -08:00
#define tcuSolenoidTable_offset 15136
2021-11-30 18:00:42 -08:00
#define tcuUpshiftButtonPin_offset 1818
#define tcuUpshiftButtonPinMode_offset 4514
#define test557pin_offset 3101
#define thermistor_conf_s_size 28
#define ThermistorConf_size 32
#define throttlePedalPositionAdcChannel_offset 580
#define throttlePedalPositionSecondAdcChannel_offset 683
#define throttlePedalSecondaryUpVoltage_offset 2100
#define throttlePedalSecondaryWOTVoltage_offset 2104
#define throttlePedalUpPin_offset 583
#define throttlePedalUpPinMode_offset 710
#define throttlePedalUpVoltage_offset 1884
#define throttlePedalWOTVoltage_offset 1888
#define timing_mode_e_auto_enum "TM_DYNAMIC", "TM_FIXED"
#define timing_mode_e_Internal_ForceMyEnumIntSize_timing_mode ENUM_32_BITS
#define timing_mode_e_TM_DYNAMIC 0
#define timing_mode_e_TM_FIXED 1
#define timing_offset_cylinder10_offset 2576
#define timing_offset_cylinder11_offset 2580
#define timing_offset_cylinder12_offset 2584
#define timing_offset_cylinder1_offset 2540
#define timing_offset_cylinder2_offset 2544
#define timing_offset_cylinder3_offset 2548
#define timing_offset_cylinder4_offset 2552
#define timing_offset_cylinder5_offset 2556
#define timing_offset_cylinder6_offset 2560
#define timing_offset_cylinder7_offset 2564
#define timing_offset_cylinder8_offset 2568
#define timing_offset_cylinder9_offset 2572
#define timingMode_offset 448
#define tle6240_cs_offset 581
#define tle6240_csPinMode_offset 582
#define tle6240spiDevice_offset 4004
#define tle8888_cs_offset 3105
#define tle8888_csPinMode_offset 3106
#define tle8888_mode_e_auto_enum "TL_AUTO", "TL_SEMI_AUTO", "TL_MANUAL", "TL_HALL"
#define tle8888_mode_e_TL_AUTO 0
#define tle8888_mode_e_TL_HALL 3
#define tle8888_mode_e_TL_MANUAL 2
#define tle8888_mode_e_TL_SEMI_AUTO 1
#define tle8888mode_offset 2416
#define tle8888spiDevice_offset 4000
#define TOOTH_DATA_LENGTH 2000
#define TOOTH_PACKET_COUNT 1000
#define TOOTH_PACKET_SIZE 2
#define TOP_DEAD_CENTER_MESSAGE "r"
2021-12-01 06:21:38 -08:00
#define TOTAL_CONFIG_SIZE 20000
2021-11-30 18:00:42 -08:00
#define tps1_1AdcChannel_offset 512
#define tps1_2AdcChannel_offset 681
#define tps1SecondaryMax_offset 822
#define tps1SecondaryMin_offset 820
#define tps2_1AdcChannel_offset 515
#define tps2_2AdcChannel_offset 682
#define tps2Max_offset 1770
#define tps2Min_offset 1768
#define tps2SecondaryMax_offset 1462
#define tps2SecondaryMin_offset 1460
#define TPS_1_BYTE_PACKING_MULT 2
#define TPS_2_BYTE_PACKING_MULT 100
#define TPS_TPS_ACCEL_TABLE 8
#define tpsAccelEnrichmentThreshold_offset 2048
#define tpsAccelFractionDivisor_offset 3996
#define tpsAccelFractionPeriod_offset 3994
#define tpsAccelLength_offset 2044
#define tpsDecelEnleanmentMultiplier_offset 2084
#define tpsDecelEnleanmentThreshold_offset 2080
#define tpsErrorDetectionTooHigh_offset 86
#define tpsErrorDetectionTooLow_offset 84
#define tpsMax_offset 82
#define tpsMin_offset 80
2021-12-01 06:21:38 -08:00
#define tpsTpsAccelFromRpmBins_offset 19232
#define tpsTpsAccelTable_offset 18976
#define tpsTpsAccelToRpmBins_offset 19264
2021-11-30 18:00:42 -08:00
#define trailingCoilPins10_offset 2349
#define trailingCoilPins11_offset 2350
#define trailingCoilPins12_offset 2351
#define trailingCoilPins1_offset 2340
#define trailingCoilPins2_offset 2341
#define trailingCoilPins3_offset 2342
#define trailingCoilPins4_offset 2343
#define trailingCoilPins5_offset 2344
#define trailingCoilPins6_offset 2345
#define trailingCoilPins7_offset 2346
#define trailingCoilPins8_offset 2347
#define trailingCoilPins9_offset 2348
#define trailingSparkAngle_offset 520
#define trigger_config_s_size 16
#define trigger_customSkippedToothCount_offset 536
#define trigger_customTotalToothCount_offset 532
#define trigger_event_e_SHAFT_3RD_FALLING 4
#define trigger_event_e_SHAFT_3RD_RISING 5
#define trigger_event_e_SHAFT_PRIMARY_FALLING 0
#define trigger_event_e_SHAFT_PRIMARY_RISING 1
#define trigger_event_e_SHAFT_SECONDARY_FALLING 2
#define trigger_event_e_SHAFT_SECONDARY_RISING 3
#define TRIGGER_INPUT_PIN_COUNT 3
#define trigger_offset 524
#define TRIGGER_SIMULATOR_PIN_COUNT 3
#define trigger_todoRemoveMeOneDay0_offset 528
#define trigger_todoRemoveMeOneDay1_offset 528
#define trigger_type_e_auto_enum "TT_TOOTHED_WHEEL", "TT_FORD_ASPIRE", "TT_DODGE_NEON_1995", "TT_MAZDA_MIATA_NA", "TT_MAZDA_MIATA_NB1", "TT_GM_7X", "TT_DAIHATSU", "TT_MAZDA_SOHC_4", "TT_TOOTHED_WHEEL_60_2", "TT_TOOTHED_WHEEL_36_1", "TT_MERCEDES_2_SEGMENT", "TT_MITSUBISHI", "TT_HONDA_4_24", "TT_HONDA_1_4_24", "TT_DODGE_NEON_2003_CAM", "TT_MAZDA_DOHC_1_4", "TT_ONE_PLUS_ONE", "TT_VVT_JZ", "TT_ONE", "TT_DODGE_RAM", "TT_60_2_VW", "TT_HONDA_1_24", "TT_DODGE_STRATUS", "TT_36_2_2_2", "TT_NISSAN_SR20VE", "TT_2JZ_3_34", "TT_ROVER_K", "TT_GM_LS_24", "TT_HONDA_CBR_600", "TT_2JZ_1_12", "TT_CHRYSLER_NGC_36_2_2", "TT_3_1_CAM", "TT_DODGE_NEON_2003_CRANK", "TT_MIATA_VVT", "TT_HONDA_ACCORD_1_24_SHIFTED", "TT_MAZDA_MIATA_VVT_TEST", "TT_SUBARU_7_6", "TT_JEEP_18_2_2_2", "TT_NISSAN_SR20VE_360", "TT_DODGE_NEON_1995_ONLY_CRANK", "TT_JEEP_4_CYL", "TT_FIAT_IAW_P8", "TT_FORD_ST170", "TT_VVT_MIATA_NB2", "TT_RENIX_44_2_2", "TT_RENIX_66_2_2_2", "TT_HONDA_K_12_1", "TT_VVT_BOSCH_QUICK_START", "TT_TOOTHED_WHEEL_36_2", "TT_SUBARU_SVX", "TT_1_16", "TT_SUBARU_7_WITHOUT_6", "TT_NISSAN_MR18_CAM_VVT", "TT_TRI_TACH", "TT_GM_60_2_2_2", "TT_SKODA_FAVORIT", "TT_VVT_BARRA_3_PLUS_1", "TT_KAWA_KX450F", "TT_NISSAN_VQ35", "TT_VVT_NISSAN_VQ35", "TT_NISSAN_VQ30", "TT_NISSAN_QR25", "TT_VVT_MAP_45_V_TWIN", "TT_SUBARU_SVX_CRANK_1", "TT_SUBARU_SVX_CAM_VVT", "TT_FORD_TFI_PIP", "TT_SUZUKI_G13B", "TT_HONDA_K_4_1", "TT_NISSAN_MR18_CRANK", "TT_TOOTHED_WHEEL_32_2", "TT_UNUSED"
#define trigger_type_e_enum "custom toothed wheel", "Ford Aspire", "Dodge Neon 1995", "Miata NA", "Miata NB", "GM_7X", "Cooper R50", "Mazda SOHC 4", "60/2", "36/1", "Mercedes Two Segment", "Mitsubishi", "Honda 4+24", "Honda 1+4+24", "Dodge Neon 2003", "Mazda DOHC 1+4", "1+1", "INVALID", "Single Tooth", "Dodge Ram 1+16", "60/2 VW", "Honda 1+24", "Dodge Stratus", "36_2_2_2", "Nissan Primera", "dev 2JZ 3/34 simulator", "Rover K", "GM LS 24", "Honda CBR 600", "2JZ_1_12", "Honda CBR 600 custom", "3/1 skipped", "Dodge Neon 2003 crank", "Miata VVT", "trg34", "trg35", "Subaru 7+6", "Jeep 18-2-2-2", "WIP", "Dodge Neon 1995 crank only", "Jeep XJ 4 cyl", "FiatIAQ_P8", "Mazda Z5", "INVALID", "Renix 44-2-2", "Renix 66-2-2-2", "Honda K 12+1", "INVALID", "36/2", "Subaru SVX", "1+16", "Subaru 7 without 6", "INVALID", "TriTach", "GM 60/2/2/2", "Skoda Favorit", "Barra 3+1 Cam", "Kawa KX450F", "Nissan VQ35", "INVALID", "Nissan VQ30", "Nissan QR25", "INVALID", "Subaru SVX Crank 1", "Subaru SVX Cam VVT", "Ford PIP", "Suzuki G13B", "Honda K 4+1", "Nissan MR18 Crank", "32/2", "trg70", "trg71"
#define trigger_type_e_Force_4_bytes_size_trigger_type ENUM_32_BITS
#define trigger_type_e_TT_1_16 50
#define trigger_type_e_TT_2JZ_1_12 29
#define trigger_type_e_TT_2JZ_3_34 25
#define trigger_type_e_TT_36_2_2_2 23
#define trigger_type_e_TT_3_1_CAM 31
#define trigger_type_e_TT_60_2_VW 20
#define trigger_type_e_TT_CHRYSLER_NGC_36_2_2 30
#define trigger_type_e_TT_DAIHATSU 6
#define trigger_type_e_TT_DODGE_NEON_1995 2
#define trigger_type_e_TT_DODGE_NEON_1995_ONLY_CRANK 39
#define trigger_type_e_TT_DODGE_NEON_2003_CAM 14
#define trigger_type_e_TT_DODGE_NEON_2003_CRANK 32
#define trigger_type_e_TT_DODGE_RAM 19
#define trigger_type_e_TT_DODGE_STRATUS 22
#define trigger_type_e_TT_FIAT_IAW_P8 41
#define trigger_type_e_TT_FORD_ASPIRE 1
#define trigger_type_e_TT_FORD_ST170 42
#define trigger_type_e_TT_FORD_TFI_PIP 65
#define trigger_type_e_TT_GM_60_2_2_2 54
#define trigger_type_e_TT_GM_7X 5
#define trigger_type_e_TT_GM_LS_24 27
#define trigger_type_e_TT_HONDA_1_24 21
#define trigger_type_e_TT_HONDA_1_4_24 13
#define trigger_type_e_TT_HONDA_4_24 12
#define trigger_type_e_TT_HONDA_ACCORD_1_24_SHIFTED 34
#define trigger_type_e_TT_HONDA_CBR_600 28
#define trigger_type_e_TT_HONDA_K_12_1 46
#define trigger_type_e_TT_HONDA_K_4_1 67
#define trigger_type_e_TT_JEEP_18_2_2_2 37
#define trigger_type_e_TT_JEEP_4_CYL 40
#define trigger_type_e_TT_KAWA_KX450F 57
#define trigger_type_e_TT_MAZDA_DOHC_1_4 15
#define trigger_type_e_TT_MAZDA_MIATA_NA 3
#define trigger_type_e_TT_MAZDA_MIATA_NB1 4
#define trigger_type_e_TT_MAZDA_MIATA_VVT_TEST 35
#define trigger_type_e_TT_MAZDA_SOHC_4 7
#define trigger_type_e_TT_MERCEDES_2_SEGMENT 10
#define trigger_type_e_TT_MIATA_VVT 33
#define trigger_type_e_TT_MITSUBISHI 11
#define trigger_type_e_TT_NISSAN_MR18_CAM_VVT 52
#define trigger_type_e_TT_NISSAN_MR18_CRANK 68
#define trigger_type_e_TT_NISSAN_QR25 61
#define trigger_type_e_TT_NISSAN_SR20VE 24
#define trigger_type_e_TT_NISSAN_SR20VE_360 38
#define trigger_type_e_TT_NISSAN_VQ30 60
#define trigger_type_e_TT_NISSAN_VQ35 58
#define trigger_type_e_TT_ONE 18
#define trigger_type_e_TT_ONE_PLUS_ONE 16
#define trigger_type_e_TT_RENIX_44_2_2 44
#define trigger_type_e_TT_RENIX_66_2_2_2 45
#define trigger_type_e_TT_ROVER_K 26
#define trigger_type_e_TT_SKODA_FAVORIT 55
#define trigger_type_e_TT_SUBARU_7_6 36
#define trigger_type_e_TT_SUBARU_7_WITHOUT_6 51
#define trigger_type_e_TT_SUBARU_SVX 49
#define trigger_type_e_TT_SUBARU_SVX_CAM_VVT 64
#define trigger_type_e_TT_SUBARU_SVX_CRANK_1 63
#define trigger_type_e_TT_SUZUKI_G13B 66
#define trigger_type_e_TT_TOOTHED_WHEEL 0
#define trigger_type_e_TT_TOOTHED_WHEEL_32_2 69
#define trigger_type_e_TT_TOOTHED_WHEEL_36_1 9
#define trigger_type_e_TT_TOOTHED_WHEEL_36_2 48
#define trigger_type_e_TT_TOOTHED_WHEEL_60_2 8
#define trigger_type_e_TT_TRI_TACH 53
#define trigger_type_e_TT_UNUSED 70
#define trigger_type_e_TT_VVT_BARRA_3_PLUS_1 56
#define trigger_type_e_TT_VVT_BOSCH_QUICK_START 47
#define trigger_type_e_TT_VVT_JZ 17
#define trigger_type_e_TT_VVT_MAP_45_V_TWIN 62
#define trigger_type_e_TT_VVT_MIATA_NB2 43
#define trigger_type_e_TT_VVT_NISSAN_VQ35 59
#define trigger_type_offset 524
#define trigger_unusedBit_4_10_offset 528
#define trigger_unusedBit_4_11_offset 528
#define trigger_unusedBit_4_12_offset 528
#define trigger_unusedBit_4_13_offset 528
#define trigger_unusedBit_4_14_offset 528
#define trigger_unusedBit_4_15_offset 528
#define trigger_unusedBit_4_16_offset 528
#define trigger_unusedBit_4_17_offset 528
#define trigger_unusedBit_4_18_offset 528
#define trigger_unusedBit_4_19_offset 528
#define trigger_unusedBit_4_20_offset 528
#define trigger_unusedBit_4_21_offset 528
#define trigger_unusedBit_4_22_offset 528
#define trigger_unusedBit_4_23_offset 528
#define trigger_unusedBit_4_24_offset 528
#define trigger_unusedBit_4_25_offset 528
#define trigger_unusedBit_4_26_offset 528
#define trigger_unusedBit_4_27_offset 528
#define trigger_unusedBit_4_28_offset 528
#define trigger_unusedBit_4_29_offset 528
#define trigger_unusedBit_4_30_offset 528
#define trigger_unusedBit_4_31_offset 528
#define trigger_unusedBit_4_3_offset 528
#define trigger_unusedBit_4_4_offset 528
#define trigger_unusedBit_4_5_offset 528
#define trigger_unusedBit_4_6_offset 528
#define trigger_unusedBit_4_7_offset 528
#define trigger_unusedBit_4_8_offset 528
#define trigger_unusedBit_4_9_offset 528
#define trigger_useOnlyFirstChannel_offset 528
#define trigger_value_e_TV_FALL 0
#define trigger_value_e_TV_RISE 1
#define trigger_wheel_e_T_CHANNEL_3 2
#define trigger_wheel_e_T_NONE 15
#define trigger_wheel_e_T_PRIMARY 0
#define trigger_wheel_e_T_SECONDARY 1
#define triggerCompCenterVolt_offset 4036
#define triggerCompHystMax_offset 4038
#define triggerCompHystMin_offset 4037
#define triggerCompSensorSatRpm_offset 4039
#define triggerErrorPin_offset 828
#define triggerErrorPinMode_offset 829
#define triggerGapOverrideFrom10_offset 4576
#define triggerGapOverrideFrom11_offset 4580
#define triggerGapOverrideFrom12_offset 4584
#define triggerGapOverrideFrom13_offset 4588
#define triggerGapOverrideFrom14_offset 4592
#define triggerGapOverrideFrom15_offset 4596
#define triggerGapOverrideFrom16_offset 4600
#define triggerGapOverrideFrom17_offset 4604
#define triggerGapOverrideFrom18_offset 4608
#define triggerGapOverrideFrom1_offset 4540
#define triggerGapOverrideFrom2_offset 4544
#define triggerGapOverrideFrom3_offset 4548
#define triggerGapOverrideFrom4_offset 4552
#define triggerGapOverrideFrom5_offset 4556
#define triggerGapOverrideFrom6_offset 4560
#define triggerGapOverrideFrom7_offset 4564
#define triggerGapOverrideFrom8_offset 4568
#define triggerGapOverrideFrom9_offset 4572
#define triggerGapOverrideTo10_offset 4660
#define triggerGapOverrideTo11_offset 4664
#define triggerGapOverrideTo12_offset 4668
#define triggerGapOverrideTo13_offset 4672
#define triggerGapOverrideTo14_offset 4676
#define triggerGapOverrideTo15_offset 4680
#define triggerGapOverrideTo16_offset 4684
#define triggerGapOverrideTo17_offset 4688
#define triggerGapOverrideTo18_offset 4692
#define triggerGapOverrideTo1_offset 4624
#define triggerGapOverrideTo2_offset 4628
#define triggerGapOverrideTo3_offset 4632
#define triggerGapOverrideTo4_offset 4636
#define triggerGapOverrideTo5_offset 4640
#define triggerGapOverrideTo6_offset 4644
#define triggerGapOverrideTo7_offset 4648
#define triggerGapOverrideTo8_offset 4652
#define triggerGapOverrideTo9_offset 4656
#define triggerInputDebugPins1_offset 1756
#define triggerInputDebugPins2_offset 1757
#define triggerInputDebugPins3_offset 1758
#define triggerInputPins1_offset 700
#define triggerInputPins2_offset 701
#define triggerInputPins3_offset 702
#define TRIGGERS_FILE_NAME "triggers.txt"
#define triggerSimulatorFrequency_offset 620
#define triggerSimulatorPinModes1_offset 739
#define triggerSimulatorPinModes2_offset 740
#define triggerSimulatorPinModes3_offset 741
#define triggerSimulatorPins1_offset 736
#define triggerSimulatorPins2_offset 737
#define triggerSimulatorPins3_offset 738
#define TS_BURN_COMMAND 'B'
#define TS_BURN_COMMAND_char B
#define TS_CHUNK_WRITE_COMMAND 'C'
#define TS_CHUNK_WRITE_COMMAND_char C
#define ts_command_e_TS_BENCH_CATEGORY 22
#define ts_command_e_TS_CLEAR_WARNINGS 17
#define ts_command_e_TS_COMMAND_1 1
#define ts_command_e_TS_COMMAND_11 11
#define ts_command_e_TS_COMMAND_12 12
#define ts_command_e_TS_COMMAND_13 13
#define ts_command_e_TS_COMMAND_14 14
#define ts_command_e_TS_COMMAND_15 15
#define ts_command_e_TS_COMMAND_16 16
#define ts_command_e_TS_COMMAND_4 4
#define ts_command_e_TS_COMMAND_5 5
#define ts_command_e_TS_COMMAND_9 9
#define ts_command_e_TS_CRAZY 32
#define ts_command_e_TS_DEBUG_MODE 0
#define ts_command_e_TS_GRAB_PEDAL_UP 6
#define ts_command_e_TS_GRAB_PEDAL_WOT 7
#define ts_command_e_TS_GRAB_TPS_CLOSED 2
#define ts_command_e_TS_GRAB_TPS_WOT 3
#define ts_command_e_TS_IGNITION_CATEGORY 18
#define ts_command_e_TS_INJECTOR_CATEGORY 19
#define ts_command_e_TS_RESET_TLE8888 8
#define ts_command_e_TS_UNUSED_23 23
#define ts_command_e_TS_UNUSED_25 25
#define ts_command_e_TS_UNUSED_26 26
#define ts_command_e_TS_UNUSED_27 27
#define ts_command_e_TS_UNUSED_28 28
#define ts_command_e_TS_UNUSED_29 29
#define ts_command_e_TS_UNUSED_30 30
#define ts_command_e_TS_UNUSED_31 31
#define ts_command_e_TS_UNUSED_CJ125_CALIB 24
#define ts_command_e_TS_WIDEBAND 21
#define ts_command_e_TS_WRITE_FLASH 10
#define ts_command_e_TS_X14 20
#define TS_COMMAND_F 'F'
#define TS_COMMAND_F_char F
#define TS_COMPOSITE_DISABLE 2
#define TS_COMPOSITE_ENABLE 1
#define TS_CRC_CHECK_COMMAND 'k'
#define TS_CRC_CHECK_COMMAND_char k
#define TS_EXECUTE 'E'
#define TS_EXECUTE_char E
#define TS_FILE_VERSION 20200310
#define TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY '8'
#define TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY_char 8
#define TS_GET_CONFIG_ERROR 'e'
#define TS_GET_CONFIG_ERROR_char e
#define TS_GET_FIRMWARE_VERSION 'V'
#define TS_GET_FIRMWARE_VERSION_char V
#define TS_GET_LOGGER_GET_BUFFER 'L'
#define TS_GET_LOGGER_GET_BUFFER_char L
#define TS_GET_STRUCT '9'
#define TS_GET_STRUCT_char 9
#define TS_GET_TEXT 'G'
#define TS_GET_TEXT_char G
#define TS_HELLO_COMMAND 'S'
#define TS_HELLO_COMMAND_char S
#define TS_IO_TEST_COMMAND 'Z'
#define TS_IO_TEST_COMMAND_char Z
#define TS_ONLINE_PROTOCOL 'z'
#define TS_ONLINE_PROTOCOL_char z
#define TS_OUTPUT_COMMAND 'O'
#define TS_OUTPUT_COMMAND_char O
#define TS_OUTPUT_SIZE 640
#define TS_PAGE_COMMAND 'P'
#define TS_PAGE_COMMAND_char P
#define TS_PERF_TRACE_BEGIN '_'
#define TS_PERF_TRACE_BEGIN_char _
#define TS_PERF_TRACE_GET_BUFFER 'b'
#define TS_PERF_TRACE_GET_BUFFER_char b
#define TS_PROTOCOL "001"
#define TS_QUERY_COMMAND 'Q'
#define TS_QUERY_COMMAND_char Q
#define TS_READ_COMMAND 'R'
#define TS_READ_COMMAND_char R
#define TS_RESPONSE_BURN_OK 4
#define TS_RESPONSE_COMMAND_OK 7
#define TS_RESPONSE_CRC_FAILURE 0x82
#define TS_RESPONSE_FRAMING_ERROR 0x8D
#define TS_RESPONSE_OK 0
#define TS_RESPONSE_OUT_OF_RANGE 0x84
#define TS_RESPONSE_UNDERRUN 0x80
#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83
#define TS_SET_LOGGER_SWITCH 'l'
#define TS_SET_LOGGER_SWITCH_char l
#define ts_show_analog_divider false
#define ts_show_auxserial_pins true
#define ts_show_can2 false
#define ts_show_can_pins false
#define ts_show_cj125 false
#define ts_show_egt false
#define ts_show_etb true
2021-12-01 18:59:01 -08:00
#define ts_show_etb_pins false
#define ts_show_full_pinout true
2021-11-30 18:00:42 -08:00
#define ts_show_gps false
#define ts_show_hardware_simulator false
#define ts_show_hip9011 false
#define ts_show_joystick false
#define ts_show_lcd false
#define ts_show_main_relay true
#define ts_show_main_relay_microRusEFI_message false
#define ts_show_sd_card true
2021-12-01 18:59:01 -08:00
#define ts_show_software_knock false
#define ts_show_spi true
2021-11-30 18:00:42 -08:00
#define ts_show_trigger_comparator false
#define ts_show_tunerstudio_port false
2021-12-01 18:59:01 -08:00
#define TS_SIGNATURE "rusEFI 2021.12.02.hellen81.661558257"
2021-11-30 18:00:42 -08:00
#define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t
#define tunerStudioSerialSpeed_offset 728
#define turboSpeedSensorInputPin_offset 1759
#define turboSpeedSensorMultiplier_offset 1488
#define twoWireBatchIgnition_offset 1476
#define twoWireBatchInjection_offset 1476
#define uart_device_e_auto_enum "UART_NONE", "UART_DEVICE_1", "UART_DEVICE_2", "UART_DEVICE_3", "UART_DEVICE_4"
#define uart_device_e_UART_DEVICE_1 1
#define uart_device_e_UART_DEVICE_2 2
#define uart_device_e_UART_DEVICE_3 3
#define uart_device_e_UART_DEVICE_4 4
#define uart_device_e_UART_NONE 0
#define uartConsoleSerialSpeed_offset 2076
#define unfinishedenableLaunchBoost_offset 976
#define unfinishedlaunchDisableBySpeed_offset 976
#define unused1059_offset 3961
#define unused1127_offset 2116
#define unused1128_offset 2116
#define unused1129_offset 2116
#define unused1130_offset 2116
#define unused11_offset 764
#define unused1366_offset 2684
#define unused1464b0_offset 1464
#define unused1464b20_offset 1464
#define unused1464b4_offset 1464
#define unused1476b19_offset 1476
#define unused1476b20_offset 1476
#define unused1476b3_offset 1476
#define unused1476b8_offset 1476
#define unused1760_offset 1760
#define unused1764_offset 1764
#define unused20Inputs_offset 1512
#define unused2260_offset 2260
#define unused2432_offset 2432
#define unused244_2_offset 2424
#define unused244_3_offset 2428
#define unused2508_offset 2511
#define unused2536_offset 2539
#define unused3103_offset 3103
#define unused3328_offset 3756
#define unused3942_offset 3992
#define unused3988_offset 3988
#define unused4028_offset 4028
#define unused6312_offset 6312
#define unused970_offset 970
#define unused976b11_offset 976
#define unused_1484_bit_24_offset 1476
#define unused_1484_bit_25_offset 1476
#define unused_1484_bit_26_offset 1476
#define unused_1484_bit_27_offset 1476
#define unused_1484_bit_28_offset 1476
#define unused_1484_bit_29_offset 1476
#define unused_1484_bit_30_offset 1476
#define unused_1484_bit_31_offset 1476
#define unusedAnotherOneOfThose_offset 2200
#define unusedAtOldBoardConfigurationEnd_offset 1340
#define unusedBit4_1476_offset 1476
#define unusedBit_251_29_offset 976
#define unusedBit_300_30_offset 976
#define unusedBit_300_31_offset 976
#define unusedBit_34_31_offset 76
#define unusedBit_509_10_offset 2116
#define unusedBit_509_11_offset 2116
#define unusedBit_509_12_offset 2116
#define unusedBit_509_13_offset 2116
#define unusedBit_509_14_offset 2116
#define unusedBit_509_15_offset 2116
#define unusedBit_509_16_offset 2116
#define unusedBit_509_17_offset 2116
#define unusedBit_509_18_offset 2116
#define unusedBit_509_19_offset 2116
#define unusedBit_509_20_offset 2116
#define unusedBit_509_21_offset 2116
#define unusedBit_509_22_offset 2116
#define unusedBit_509_23_offset 2116
#define unusedBit_509_24_offset 2116
#define unusedBit_509_25_offset 2116
#define unusedBit_509_26_offset 2116
#define unusedBit_509_27_offset 2116
#define unusedBit_509_28_offset 2116
#define unusedBit_509_29_offset 2116
#define unusedBit_509_30_offset 2116
#define unusedBit_509_31_offset 2116
#define unusedBit_509_8_offset 2116
#define unusedBit_509_9_offset 2116
#define unusedBitHere1_offset 1464
#define unusedBitHere2_offset 1464
#define unusedBitHere3_offset 1464
#define unusedBitHere4_offset 1464
#define unusedBitWasHere16_offset 1464
#define unusedBitWasHere1_offset 1464
#define unusedBitWasHere2_offset 1464
#define unusedBitWasHere3_offset 1464
#define unusedBitWasHere4_offset 1464
#define unusedBitWasHere5_offset 1464
#define unusedDigital_offset 952
#define unusedEL1_offset 2060
#define unusedEL2_offset 2064
#define unusedEL3_offset 2068
#define unusedEL4_offset 2072
#define unusedExHpfp_offset 724
#define unusedFiller_4703_offset 4703
#define unusedLaunchRpmThreshold_offset 1032
#define unusedLogFormat_offset 496
2021-12-01 06:21:38 -08:00
#define unusedLuaWasHere_offset 16032
2021-11-30 18:00:42 -08:00
#define unusedNearVss_offset 619
#define unusedOldBiquad_offset 2331
#define unusedOutputFreqWhereHere_offset 832
#define unusedOutputWhereHere_offset 794
#define unusedpinModesWhereHere_offset 779
#define unusedSettings_offset 896
#define unusedSpiPadding4_offset 2593
#define unusedSpiPadding8_offset 4010
#define unusedVvtOffsetWasHere_offset 2052
#define useAdvanceCorrectionsForCranking_offset 1476
#define useCicPidForIdle_offset 76
#define useETBforIdleControl_offset 744
#define useFixedBaroCorrFromMap_offset 1476
#define useFordRedundantTps_offset 76
#define useFSIO4ForSeriousEngineWarning_offset 1464
#define useFSIO5ForCriticalIssueEngineStop_offset 1464
#define useHbridgesToDriveIdleStepper_offset 976
#define useIacPidMultTable_offset 1476
#define useIacTableForCoasting_offset 744
#define useIdleTimingPidControl_offset 744
#define useInstantRpmForIdle_offset 76
#define useLcdScreen_offset 744
#define useLinearCltSensor_offset 1464
#define useLinearIatSensor_offset 1464
#define useNoiselessTriggerDecoder_offset 744
#define useOnlyRisingEdgeForTrigger_offset 1476
#define useRunningMathForCranking_offset 76
#define usescriptTableForCanSniffingFiltering_offset 76
#define useSeparateAdvanceForCranking_offset 1476
#define useSeparateAdvanceForIdle_offset 1476
#define useSeparateIdleTablesForCrankingTaper_offset 76
#define useSeparateVeForIdle_offset 1476
#define useSerialPort_offset 744
#define useStepperIdle_offset 744
#define useTLE8888_cranking_hack_offset 76
#define useTLE8888_stepper_offset 76
#define useTpicAdvancedMode_offset 744
#define VBAT_INJECTOR_CURVE_SIZE 8
#define vbattAdcChannel_offset 513
#define vbattDividerCoeff_offset 464
#define ve_override_e_auto_enum "VE_None", "VE_MAP", "VE_TPS"
#define ve_override_e_enum "None", "MAP", "TPS"
#define ve_override_e_VE_MAP 1
#define ve_override_e_VE_None 0
#define ve_override_e_VE_TPS 2
#define VEHICLE_INFO_SIZE 32
#define vehicleName_offset 1160
#define vehicleSpeedSensorInputPin_offset 968
#define vehicleWeight_offset 1456
2021-12-01 06:21:38 -08:00
#define veLoadBins_offset 18464
2021-11-30 18:00:42 -08:00
#define veOverrideMode_offset 2109
#define verboseCan2BaseAddress_offset 2112
#define verboseCanBaseAddress_offset 756
#define verboseTLE8888_offset 744
#define verboseTriggerSynchDetails_offset 1476
#define verboseVVTDecoding_offset 976
2021-12-01 06:21:38 -08:00
#define veRpmBins_offset 18528
#define veTable_offset 17440
2021-11-30 18:00:42 -08:00
#define VM_VVT_INACTIVE 0
#define VOLTAGE_1_BYTE_PACKING_DIV 0.02
#define VR_THRESHOLD_COUNT 2
#define vr_threshold_s_size 16
#define vRefAdcChannel_offset 1470
#define vrThreshold1_offset 1244
#define vrThreshold1_pad_offset 1245
#define vrThreshold1_pin_offset 1244
#define vrThreshold1_rpmBins_offset 1248
#define vrThreshold1_values_offset 1254
#define vrThreshold2_offset 1260
#define vrThreshold2_pad_offset 1261
#define vrThreshold2_pin_offset 1260
#define vrThreshold2_rpmBins_offset 1264
#define vrThreshold2_values_offset 1270
2021-12-01 06:21:38 -08:00
#define vssFilterReciprocal_offset 15196
2021-11-30 18:00:42 -08:00
#define vssGearRatio_offset 616
#define vssToothCount_offset 618
#define vvt_mode_e_auto_enum "VVT_INACTIVE", "VVT_SECOND_HALF", "VVT_2JZ", "VVT_MIATA_NB2", "VVT_FIRST_HALF", "VVT_BOSCH_QUICK_START", "VVT_TOYOTA_4_1", "VVT_FORD_ST170", "VVT_BARRA_3_PLUS_1", "VVT_NISSAN_VQ", "VVT_HONDA_K", "VVT_NISSAN_MR", "VVT_MAP_V_TWIN"
#define vvt_mode_e_enum "Inactive", "Single Tooth Second Half", "2GZ", "Miata NB2", "Single Tooth First Half", "Bosch Quick Start", "4/1", "ST 170", "Ford Barra 3+1", "Nissan VQ", "Honda K 4+1", "Nissan MR18", "VTwin 45", "vvt13", "vvt14", "vvt15"
#define vvt_mode_e_VVT_2JZ 2
#define vvt_mode_e_VVT_BARRA_3_PLUS_1 8
#define vvt_mode_e_VVT_BOSCH_QUICK_START 5
#define vvt_mode_e_VVT_FIRST_HALF 4
#define vvt_mode_e_VVT_FORD_ST170 7
#define vvt_mode_e_VVT_HONDA_K 10
#define vvt_mode_e_VVT_INACTIVE 0
#define vvt_mode_e_VVT_MAP_V_TWIN 12
#define vvt_mode_e_VVT_MIATA_NB2 3
#define vvt_mode_e_VVT_NISSAN_MR 11
#define vvt_mode_e_VVT_NISSAN_VQ 9
#define vvt_mode_e_VVT_SECOND_HALF 1
#define vvt_mode_e_VVT_TOYOTA_4_1 6
#define vvtCamSensorUseRise_offset 744
#define vvtMode1_offset 2328
#define vvtMode2_offset 2329
#define vvtModePadding_offset 2330
#define vvtOffsets1_offset 1228
#define vvtOffsets2_offset 1232
#define vvtOffsets3_offset 1236
#define vvtOffsets4_offset 1240
#define vvtOffsetsPadding_offset 1244
#define vvtOutputFrequency1_offset 2248
#define vvtOutputFrequency2_offset 2250
#define vvtPins1_offset 2220
#define vvtPins2_offset 2221
#define vvtPins3_offset 2222
#define vvtPins4_offset 2223
2021-12-01 06:21:38 -08:00
#define vvtTable1_offset 15776
#define vvtTable1LoadBins_offset 15840
#define vvtTable1RpmBins_offset 15872
#define vvtTable2_offset 15904
#define vvtTable2LoadBins_offset 15968
#define vvtTable2RpmBins_offset 16000
2021-11-30 18:00:42 -08:00
#define warning_message_offset 6000
#define warningLedPin_offset 2041
#define warningPeriod_offset 1498
#define wastegatePositionMax_offset 718
#define wastegatePositionMin_offset 716
#define wastegatePositionSensor_offset 2127
#define wboHeaterPin_offset 673
#define wwaeBeta_offset 1808
#define wwaeTau_offset 1712
2020-04-13 06:23:13 -07:00
// start of stft_cell_cfg_s
struct stft_cell_cfg_s {
/**
2021-04-26 14:59:44 -07:00
%
2020-04-13 06:23:13 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
int8_t maxAdd = (int8_t)0;
2020-04-13 06:23:13 -07:00
/**
2021-04-26 14:59:44 -07:00
%
2020-04-13 06:23:13 -07:00
* offset 1
*/
2021-11-30 18:00:42 -08:00
int8_t maxRemove = (int8_t)0;
2020-04-13 06:23:13 -07:00
/**
2021-10-29 12:52:10 -07:00
* Time constant for correction while in this cell: this sets responsiveness of the closed loop correction. A value of 5.0 means it will try to make most of the correction within 5 seconds, and a value of 1.0 will try to correct within 1 second.
2021-04-26 14:59:44 -07:00
sec
2020-04-13 06:23:13 -07:00
* offset 2
*/
2021-11-30 18:00:42 -08:00
uint16_t timeConstant = (uint16_t)0;
2020-04-13 06:23:13 -07:00
/** total size 4*/
};
// start of stft_s
struct stft_s {
/**
* Below this RPM, the idle region is active
2021-04-26 14:59:44 -07:00
RPM
2020-04-13 06:23:13 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
uint8_t maxIdleRegionRpm = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Below this engine load, the overrun region is active
2021-04-26 14:59:44 -07:00
load
2020-04-13 06:23:13 -07:00
* offset 1
*/
2021-11-30 18:00:42 -08:00
uint8_t maxOverrunLoad = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Above this engine load, the power region is active
2021-04-26 14:59:44 -07:00
load
2020-04-13 06:23:13 -07:00
* offset 2
*/
2021-11-30 18:00:42 -08:00
uint8_t minPowerLoad = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* When close to correct AFR, pause correction. This can improve stability by not changing the adjustment if the error is extremely small, but is not required.
2021-04-26 14:59:44 -07:00
%
2020-04-13 06:23:13 -07:00
* offset 3
*/
2021-11-30 18:00:42 -08:00
uint8_t deadband = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Below this temperature, correction is disabled.
2021-04-26 14:59:44 -07:00
C
2020-04-13 06:23:13 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
int8_t minClt = (int8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Below this AFR, correction is paused
2021-04-26 14:59:44 -07:00
afr
2020-04-13 06:23:13 -07:00
* offset 5
*/
2021-11-30 18:00:42 -08:00
uint8_t minAfr = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Above this AFR, correction is paused
2021-04-26 14:59:44 -07:00
afr
2020-04-13 06:23:13 -07:00
* offset 6
*/
2021-11-30 18:00:42 -08:00
uint8_t maxAfr = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* Delay after starting the engine before beginning closed loop correction.
2021-04-26 14:59:44 -07:00
seconds
2020-04-13 06:23:13 -07:00
* offset 7
*/
2021-11-30 18:00:42 -08:00
uint8_t startupDelay = (uint8_t)0;
2020-04-13 06:23:13 -07:00
/**
* offset 8
*/
stft_cell_cfg_s cellCfgs[STFT_CELL_COUNT];
/** total size 24*/
};
2018-12-19 18:32:26 -08:00
// start of pid_s
struct pid_s {
2017-03-27 19:19:58 -07:00
/**
* offset 0
*/
2021-11-30 18:00:42 -08:00
float pFactor = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 4
*/
2021-11-30 18:00:42 -08:00
float iFactor = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 8
*/
2021-11-30 18:00:42 -08:00
float dFactor = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Linear addition to PID logic
* offset 12
*/
2021-11-30 18:00:42 -08:00
int16_t offset = (int16_t)0;
/**
* PID dTime
2021-04-26 14:59:44 -07:00
ms
* offset 14
*/
2021-11-30 18:00:42 -08:00
int16_t periodMs = (int16_t)0;
/**
2021-10-28 11:24:50 -07:00
* Output Min Duty Cycle
* offset 16
*/
2021-11-30 18:00:42 -08:00
int16_t minValue = (int16_t)0;
/**
2021-10-28 11:24:50 -07:00
* Output Max Duty Cycle
* offset 18
*/
2021-11-30 18:00:42 -08:00
int16_t maxValue = (int16_t)0;
/** total size 20*/
};
2018-12-19 18:32:26 -08:00
// start of cranking_parameters_s
struct cranking_parameters_s {
2017-03-27 19:19:58 -07:00
/**
2020-10-26 04:25:24 -07:00
* Base mass of the per-cylinder fuel injected during cranking. This is then modified by the multipliers for CLT, IAT, TPS ect, to give the final cranking pulse width.
* A reasonable starting point is 60mg per liter per cylinder.
* ex: 2 liter 4 cyl = 500cc/cyl, so 30mg cranking fuel.
2021-04-26 14:59:44 -07:00
mg
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
float baseFuel = (float)0;
2017-03-27 19:19:58 -07:00
/**
2019-06-13 11:56:13 -07:00
* This sets the RPM limit below which the ECU will use cranking fuel and ignition logic, typically this is around 350-450rpm.
2017-03-27 19:19:58 -07:00
* set cranking_rpm X
2021-04-26 14:59:44 -07:00
RPM
2017-03-27 19:19:58 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
int16_t rpm = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
2017-03-27 19:19:58 -07:00
* offset 6
*/
2020-02-02 10:18:41 -08:00
uint8_t alignmentFill_at_6[2];
/** total size 8*/
};
2019-04-04 18:34:33 -07:00
// start of spi_pins
struct spi_pins {
2019-04-04 18:34:33 -07:00
/**
* offset 0
*/
brain_pin_e mosiPin;
/**
* offset 1
*/
brain_pin_e misoPin;
/**
* offset 2
*/
brain_pin_e sckPin;
/**
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
2019-04-04 18:34:33 -07:00
* offset 3
*/
2021-02-08 20:49:57 -08:00
uint8_t alignmentFill_at_3[1];
2019-04-04 18:34:33 -07:00
/** total size 4*/
};
2020-04-25 15:07:37 -07:00
// start of gppwm_channel
struct gppwm_channel {
/**
* Select a pin to use for PWM or on-off output.
* offset 0
*/
2020-04-26 11:19:00 -07:00
output_pin_e pin;
2020-04-25 15:07:37 -07:00
/**
* If an error (with a sensor, etc) is detected, this value is used instead of reading from the table.
* This should be a safe value for whatever hardware is connected to prevent damage.
2021-04-26 14:59:44 -07:00
%
2020-04-25 15:07:37 -07:00
* offset 1
*/
2021-11-30 18:00:42 -08:00
uint8_t dutyIfError = (uint8_t)0;
2020-04-25 15:07:37 -07:00
/**
* Select a frequency to run PWM at.
* Set this to 0hz to enable on-off mode.
2021-04-26 14:59:44 -07:00
hz
2020-04-25 15:07:37 -07:00
* offset 2
*/
2021-11-30 18:00:42 -08:00
uint16_t pwmFrequency = (uint16_t)0;
2020-04-25 15:07:37 -07:00
/**
2021-09-05 17:26:59 -07:00
* Hysteresis: in on-off mode, turn the output on when the table value is above this duty.
2021-04-26 14:59:44 -07:00
%
2020-04-25 15:07:37 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
uint8_t onAboveDuty = (uint8_t)0;
2020-04-25 15:07:37 -07:00
/**
2021-09-05 17:26:59 -07:00
* Hysteresis: in on-off mode, turn the output off when the table value is below this duty.
2021-04-26 14:59:44 -07:00
%
2020-04-25 15:07:37 -07:00
* offset 5
*/
2021-11-30 18:00:42 -08:00
uint8_t offBelowDuty = (uint8_t)0;
2020-04-25 15:07:37 -07:00
/**
* Selects the load axis to use for the table.
* offset 6
*/
gppwm_channel_e loadAxis;
/**
2021-04-26 14:59:44 -07:00
unit
2020-04-25 15:07:37 -07:00
* offset 7
*/
2021-11-30 18:00:42 -08:00
uint8_t alignmentFill_map = (uint8_t)0;
2020-04-25 15:07:37 -07:00
/**
2021-04-26 14:59:44 -07:00
load
2020-04-25 15:07:37 -07:00
* offset 8
*/
uint8_t loadBins[GPPWM_LOAD_COUNT];
/**
2021-04-26 14:59:44 -07:00
RPM
2020-04-25 15:07:37 -07:00
* offset 16
*/
uint8_t rpmBins[GPPWM_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
duty
2020-04-25 15:07:37 -07:00
* offset 24
*/
2021-11-05 19:01:07 -07:00
uint8_t table[GPPWM_RPM_COUNT][GPPWM_LOAD_COUNT];
2020-04-25 15:07:37 -07:00
/** total size 88*/
};
2018-12-19 18:32:26 -08:00
// start of air_pressure_sensor_config_s
struct air_pressure_sensor_config_s {
2017-03-27 19:19:58 -07:00
/**
* kPa value at low volts
2021-04-26 14:59:44 -07:00
kpa
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
float lowValue = (float)0;
2017-03-27 19:19:58 -07:00
/**
* kPa value at high volts
2021-04-26 14:59:44 -07:00
kpa
2017-03-27 19:19:58 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
float highValue = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 8
*/
air_pressure_sensor_type_e type;
/**
* offset 12
*/
adc_channel_e hwChannel;
/**
2021-04-26 14:59:44 -07:00
unit
* offset 13
*/
2020-06-29 18:46:18 -07:00
uint8_t alignmentFill[3];
/** total size 16*/
};
/**
2017-03-27 19:19:58 -07:00
* @brief MAP averaging configuration
*/
2018-12-19 18:32:26 -08:00
// start of MAP_sensor_config_s
struct MAP_sensor_config_s {
2017-03-27 19:19:58 -07:00
/**
* offset 0
*/
2015-07-10 06:01:56 -07:00
float samplingAngleBins[MAP_ANGLE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* MAP averaging sampling start crank degree angle
2021-04-26 14:59:44 -07:00
deg
2017-03-27 19:19:58 -07:00
* offset 32
*/
2015-07-10 06:01:56 -07:00
float samplingAngle[MAP_ANGLE_SIZE];
2017-03-27 19:19:58 -07:00
/**
* offset 64
*/
2015-07-10 06:01:56 -07:00
float samplingWindowBins[MAP_WINDOW_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* MAP averaging angle crank degree duration
2021-04-26 14:59:44 -07:00
deg
2017-03-27 19:19:58 -07:00
* offset 96
*/
2015-07-10 06:01:56 -07:00
float samplingWindow[MAP_WINDOW_SIZE];
2017-03-27 19:19:58 -07:00
/**
* offset 128
*/
air_pressure_sensor_config_s sensor;
/** total size 144*/
};
/**
2017-03-27 19:19:58 -07:00
* @brief Thermistor known values
*/
2018-12-19 18:32:26 -08:00
// start of thermistor_conf_s
struct thermistor_conf_s {
2017-03-27 19:19:58 -07:00
/**
2019-06-11 19:01:07 -07:00
* these values are in Celcius
2021-04-26 14:59:44 -07:00
*C
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
float tempC_1 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
*C
2017-03-27 19:19:58 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
float tempC_2 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
*C
2017-03-27 19:19:58 -07:00
* offset 8
*/
2021-11-30 18:00:42 -08:00
float tempC_3 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
Ohm
2017-03-27 19:19:58 -07:00
* offset 12
*/
2021-11-30 18:00:42 -08:00
float resistance_1 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
Ohm
2017-03-27 19:19:58 -07:00
* offset 16
*/
2021-11-30 18:00:42 -08:00
float resistance_2 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
Ohm
2017-03-27 19:19:58 -07:00
* offset 20
*/
2021-11-30 18:00:42 -08:00
float resistance_3 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2019-06-11 17:32:27 -07:00
* Pull-up resistor value on your board
2021-04-26 14:59:44 -07:00
Ohm
2017-03-27 19:19:58 -07:00
* offset 24
*/
2021-11-30 18:00:42 -08:00
float bias_resistor = (float)0;
/** total size 28*/
};
/**
2020-10-23 04:33:40 -07:00
* @brief Linear sensor interpolation
*/
2020-10-23 04:33:40 -07:00
// start of linear_sensor_s
struct linear_sensor_s {
/**
* offset 0
*/
adc_channel_e hwChannel;
/**
2021-04-26 14:59:44 -07:00
unit
* offset 1
*/
2020-06-29 18:46:18 -07:00
uint8_t alignmentFill[3];
/**
2021-04-26 14:59:44 -07:00
volts
* offset 4
*/
2021-11-30 18:00:42 -08:00
float v1 = (float)0;
/**
2021-04-26 14:59:44 -07:00
kPa
* offset 8
*/
2021-11-30 18:00:42 -08:00
float value1 = (float)0;
/**
2021-04-26 14:59:44 -07:00
volts
* offset 12
*/
2021-11-30 18:00:42 -08:00
float v2 = (float)0;
/**
2021-04-26 14:59:44 -07:00
kPa
* offset 16
*/
2021-11-30 18:00:42 -08:00
float value2 = (float)0;
/** total size 20*/
};
/**
2017-03-27 19:19:58 -07:00
* @brief Thermistor curve parameters
*/
2018-12-19 18:32:26 -08:00
// start of ThermistorConf
struct ThermistorConf {
2017-03-27 19:19:58 -07:00
/**
* offset 0
*/
thermistor_conf_s config;
/**
* offset 28
*/
adc_channel_e adcChannel;
/**
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
* offset 29
*/
2020-02-02 10:18:41 -08:00
uint8_t alignmentFill_at_29[3];
/** total size 32*/
};
2018-12-19 18:32:26 -08:00
// start of injector_s
struct injector_s {
2017-03-27 19:19:58 -07:00
/**
* This is your injector flow at the fuel pressure used in the vehicle. cc/min, cubic centimetre per minute
2017-03-27 19:19:58 -07:00
* By the way, g/s = 0.125997881 * (lb/hr)
* g/s = 0.125997881 * (cc/min)/10.5
* g/s = 0.0119997981 * cc/min
2021-04-26 14:59:44 -07:00
cm3/min
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
float flow = (float)0;
2017-03-27 19:19:58 -07:00
/**
* set_flat_injector_lag LAG
* set_injector_lag VOLTAGE LAG
2021-04-26 14:59:44 -07:00
volts
* offset 4
2017-03-27 19:19:58 -07:00
*/
2015-07-10 06:01:56 -07:00
float battLagCorrBins[VBAT_INJECTOR_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
* ms delay between injector open and close dead times
2021-04-26 14:59:44 -07:00
ms
* offset 36
2017-03-27 19:19:58 -07:00
*/
2015-07-10 06:01:56 -07:00
float battLagCorr[VBAT_INJECTOR_CURVE_SIZE];
/** total size 68*/
};
2018-12-19 18:32:26 -08:00
// start of specs_s
struct specs_s {
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Engine volume/capacity, in litres
2017-03-27 19:19:58 -07:00
* see also cylindersCount
2021-04-26 14:59:44 -07:00
L
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
float displacement = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Number of cylinder the engine has.
2017-03-27 19:19:58 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
uint32_t cylindersCount = (uint32_t)0;
2017-03-27 19:19:58 -07:00
/**
* offset 8
*/
firing_order_e firingOrder;
/** total size 12*/
};
/**
2017-03-27 19:19:58 -07:00
* @brief Trigger wheel(s) configuration
*/
2018-12-19 18:32:26 -08:00
// start of trigger_config_s
struct trigger_config_s {
2017-03-27 19:19:58 -07:00
/**
2021-04-18 06:37:46 -07:00
* https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers
2017-03-27 19:19:58 -07:00
* set trigger_type X
* offset 0
*/
trigger_type_e type;
/**
offset 4 bit 0 */
2021-11-19 20:16:43 -08:00
bool todoRemoveMeOneDay0 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 4 bit 1 */
2021-11-19 20:16:43 -08:00
bool todoRemoveMeOneDay1 : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This option could be used if your second trigger channel is broken
offset 4 bit 2 */
2021-11-19 20:16:43 -08:00
bool useOnlyFirstChannel : 1 {};
/**
offset 4 bit 3 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_3 : 1 {};
/**
offset 4 bit 4 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_4 : 1 {};
/**
offset 4 bit 5 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_5 : 1 {};
/**
offset 4 bit 6 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_6 : 1 {};
/**
offset 4 bit 7 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_7 : 1 {};
/**
offset 4 bit 8 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_8 : 1 {};
/**
offset 4 bit 9 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_9 : 1 {};
/**
offset 4 bit 10 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_10 : 1 {};
/**
offset 4 bit 11 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_11 : 1 {};
/**
offset 4 bit 12 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_12 : 1 {};
/**
offset 4 bit 13 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_13 : 1 {};
/**
offset 4 bit 14 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_14 : 1 {};
/**
offset 4 bit 15 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_15 : 1 {};
/**
offset 4 bit 16 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_16 : 1 {};
/**
offset 4 bit 17 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_17 : 1 {};
/**
offset 4 bit 18 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_18 : 1 {};
/**
offset 4 bit 19 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_19 : 1 {};
/**
offset 4 bit 20 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_20 : 1 {};
/**
offset 4 bit 21 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_21 : 1 {};
/**
offset 4 bit 22 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_22 : 1 {};
/**
offset 4 bit 23 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_23 : 1 {};
/**
offset 4 bit 24 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_24 : 1 {};
/**
offset 4 bit 25 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_25 : 1 {};
/**
offset 4 bit 26 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_26 : 1 {};
/**
offset 4 bit 27 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_27 : 1 {};
/**
offset 4 bit 28 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_28 : 1 {};
/**
offset 4 bit 29 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_29 : 1 {};
/**
offset 4 bit 30 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_30 : 1 {};
/**
offset 4 bit 31 */
2021-11-19 20:16:43 -08:00
bool unusedBit_4_31 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
number
2017-03-27 19:19:58 -07:00
* offset 8
*/
2021-11-30 18:00:42 -08:00
int customTotalToothCount = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
number
2017-03-27 19:19:58 -07:00
* offset 12
*/
2021-11-30 18:00:42 -08:00
int customSkippedToothCount = (int)0;
/** total size 16*/
};
2018-12-19 18:32:26 -08:00
// start of afr_sensor_s
struct afr_sensor_s {
2017-03-27 19:19:58 -07:00
/**
* offset 0
*/
adc_channel_e hwChannel;
/**
2021-04-26 14:59:44 -07:00
unit
* offset 1
*/
2020-06-29 18:46:18 -07:00
uint8_t alignmentFill_afr[3];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
volts
2017-03-27 19:19:58 -07:00
* offset 4
*/
2021-11-30 18:00:42 -08:00
float v1 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
AFR
2017-03-27 19:19:58 -07:00
* offset 8
*/
2021-11-30 18:00:42 -08:00
float value1 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
volts
2017-03-27 19:19:58 -07:00
* offset 12
*/
2021-11-30 18:00:42 -08:00
float v2 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
AFR
2017-03-27 19:19:58 -07:00
* offset 16
*/
2021-11-30 18:00:42 -08:00
float value2 = (float)0;
/** total size 20*/
};
2018-12-19 18:32:26 -08:00
// start of idle_hardware_s
struct idle_hardware_s {
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
Hz
2017-03-27 19:19:58 -07:00
* offset 0
*/
2021-11-30 18:00:42 -08:00
int solenoidFrequency = (int)0;
2017-03-27 19:19:58 -07:00
/**
* offset 4
*/
2020-03-09 16:15:13 -07:00
output_pin_e solenoidPin;
2017-03-27 19:19:58 -07:00
/**
* offset 5
2017-03-27 19:19:58 -07:00
*/
2020-07-03 12:10:58 -07:00
output_pin_e stepperDirectionPin;
2017-03-27 19:19:58 -07:00
/**
* offset 6
2017-03-27 19:19:58 -07:00
*/
2020-07-03 12:10:58 -07:00
output_pin_e stepperStepPin;
/**
* offset 7
*/
pin_output_mode_e solenoidPinMode;
/** total size 8*/
};
2020-11-16 16:45:34 -08:00
// start of dc_io
struct dc_io {
/**
* offset 0
*/
brain_pin_e directionPin1;
/**
* offset 1
*/
brain_pin_e directionPin2;
/**
2021-06-05 13:09:52 -07:00
* Acts as EN pin in two-wire mode
* offset 2
*/
2021-06-05 13:21:28 -07:00
brain_pin_e controlPin;
/**
* offset 3
*/
brain_pin_e disablePin;
/** total size 4*/
};
2021-07-28 04:49:04 -07:00
// start of vr_threshold_s
struct vr_threshold_s {
/**
* offset 0
*/
brain_pin_e pin;
/**
* offset 1
*/
uint8_t pad[3];
/**
rpm
* offset 4
*/
uint8_t rpmBins[6];
/**
volts
* offset 10
*/
uint8_t values[6];
/** total size 16*/
};
// start of engine_configuration_s
struct engine_configuration_s {
2017-03-27 19:19:58 -07:00
/**
* http://rusefi.com/wiki/index.php?title=Manual:Engine_Type
* set engine_type X
2017-03-27 19:19:58 -07:00
* offset 0
*/
engine_type_e engineType;
/**
* Engine sniffer would be disabled above this rpm
* set engineSnifferRpmThreshold X
2021-04-26 14:59:44 -07:00
RPM
* offset 4
*/
2021-11-30 18:00:42 -08:00
int engineSnifferRpmThreshold = (int)0;
2017-03-27 19:19:58 -07:00
/**
* offset 8
2017-03-27 19:19:58 -07:00
*/
injector_s injector;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Does the vehicle have a turbo or supercharger?
offset 76 bit 0 */
2021-11-19 20:16:43 -08:00
bool isForcedInduction : 1 {};
/**
2021-04-30 08:03:28 -07:00
* On Ford vehicles one of the sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor.
offset 76 bit 1 */
2021-11-19 20:16:43 -08:00
bool useFordRedundantTps : 1 {};
/**
offset 76 bit 2 */
2021-11-19 20:16:43 -08:00
bool isVerboseAuxPid1 : 1 {};
/**
offset 76 bit 3 */
2021-11-19 20:16:43 -08:00
bool overrideTriggerGaps : 1 {};
/**
2021-06-11 03:27:21 -07:00
* Turn on this fan when AC is on.
offset 76 bit 4 */
2021-11-19 20:16:43 -08:00
bool enableFan1WithAc : 1 {};
/**
2021-06-11 03:27:21 -07:00
* Turn on this fan when AC is on.
offset 76 bit 5 */
2021-11-19 20:16:43 -08:00
bool enableFan2WithAc : 1 {};
/**
2021-06-28 05:55:05 -07:00
* Inhibit operation of this fan while the engine is not running.
offset 76 bit 6 */
2021-11-19 20:16:43 -08:00
bool disableFan1WhenStopped : 1 {};
/**
2021-06-28 05:55:05 -07:00
* Inhibit operation of this fan while the engine is not running.
offset 76 bit 7 */
2021-11-19 20:16:43 -08:00
bool disableFan2WhenStopped : 1 {};
/**
2021-07-09 05:40:06 -07:00
* Enable secondary spark outputs that fire after the primary (rotaries, twin plug engines).
offset 76 bit 8 */
2021-11-19 20:16:43 -08:00
bool enableTrailingSparks : 1 {};
/**
2020-04-08 19:12:33 -07:00
* enable cj125verbose/disable cj125verbose
offset 76 bit 9 */
2021-11-19 20:16:43 -08:00
bool isCJ125Verbose : 1 {};
/**
2020-05-01 14:36:33 -07:00
* Is your UA CJ125 output wired to MCU via resistor divider? Ua can go over 3.3v but only at lambda >3, i.e very lean AFR above 44.1
* When exposed to free air and 17x gain, Ua will be 4.17 volt
offset 76 bit 10 */
2021-11-19 20:16:43 -08:00
bool cj125isUaDivided : 1 {};
/**
offset 76 bit 11 */
2021-11-19 20:16:43 -08:00
bool cj125isLsu49 : 1 {};
/**
2020-03-29 07:29:33 -07:00
* TLE7209 uses two-wire mode. TLE9201 and VNH2SP30 do NOT use two wire mode.
offset 76 bit 12 */
2021-11-19 20:16:43 -08:00
bool etb_use_two_wires : 1 {};
/**
2020-12-06 15:08:10 -08:00
* Subaru/BMW style where default valve position is somewhere in the middle. First solenoid opens it more while second can close it more than default position.
offset 76 bit 13 */
2021-11-19 20:16:43 -08:00
bool isDoubleSolenoidIdle : 1 {};
/**
offset 76 bit 14 */
2021-11-19 20:16:43 -08:00
bool showSdCardWarning : 1 {};
/**
2020-03-17 07:20:29 -07:00
* Is your UR CJ125 output wired to MCU via resistor divider?
* Looks like 3v range should be enough, divider generally not needed.
offset 76 bit 15 */
2021-11-19 20:16:43 -08:00
bool cj125isUrDivided : 1 {};
/**
2020-07-12 14:36:03 -07:00
* Switch between Industrial and Cic PID implementation
offset 76 bit 16 */
2021-11-19 20:16:43 -08:00
bool useCicPidForIdle : 1 {};
/**
offset 76 bit 17 */
2021-11-19 20:16:43 -08:00
bool useTLE8888_cranking_hack : 1 {};
/**
offset 76 bit 18 */
2021-11-19 20:16:43 -08:00
bool useInstantRpmForIdle : 1 {};
/**
2021-10-06 09:18:32 -07:00
* This uses separate ignition timing and VE tables not only for idle conditions, also during the postcranking-to-idle taper transition (See also afterCrankingIACtaperDuration).
offset 76 bit 19 */
2021-11-19 20:16:43 -08:00
bool useSeparateIdleTablesForCrankingTaper : 1 {};
/**
offset 76 bit 20 */
2021-11-19 20:16:43 -08:00
bool launchControlEnabled : 1 {};
/**
offset 76 bit 21 */
2021-11-19 20:16:43 -08:00
bool rollingLaunchEnabled : 1 {};
/**
offset 76 bit 22 */
2021-11-19 20:16:43 -08:00
bool antiLagEnabled : 1 {};
/**
2021-05-21 12:28:41 -07:00
* For cranking either use the specified fixed base fuel mass, or use the normal running math (VE table).
offset 76 bit 23 */
2021-11-19 20:16:43 -08:00
bool useRunningMathForCranking : 1 {};
/**
2021-04-04 17:01:45 -07:00
* Shall we display real life signal or just the part consumed by trigger decoder.
2021-10-24 13:06:18 -07:00
* Applies to both trigger and cam/vvt input.
*
2021-04-07 13:46:09 -07:00
* enable logic_level_trigger
offset 76 bit 24 */
2021-11-19 20:16:43 -08:00
bool displayLogicLevelsInEngineSniffer : 1 {};
/**
offset 76 bit 25 */
2021-11-19 20:16:43 -08:00
bool useTLE8888_stepper : 1 {};
/**
2021-01-31 14:21:02 -08:00
* If enabled, the MAP estimate table will be used if the MAP sensor fails to estimate manifold pressure based on RPM and TPS.
offset 76 bit 26 */
2021-11-19 20:16:43 -08:00
bool enableMapEstimationTableFallback : 1 {};
/**
offset 76 bit 27 */
2021-11-19 20:16:43 -08:00
bool usescriptTableForCanSniffingFiltering : 1 {};
/**
offset 76 bit 28 */
2021-11-19 20:16:43 -08:00
bool issue_294_29 : 1 {};
/**
2021-11-03 14:10:50 -07:00
* Experimental setting that will cause a misfire
2021-11-06 06:26:06 -07:00
* DO NOT ENABLE.
offset 76 bit 29 */
2021-11-19 20:16:43 -08:00
bool artificialTestMisfire : 1 {};
/**
offset 76 bit 30 */
2021-11-19 20:16:43 -08:00
bool issue_294_31 : 1 {};
/**
offset 76 bit 31 */
2021-11-19 20:16:43 -08:00
bool unusedBit_34_31 : 1 {};
/**
2020-11-14 15:08:03 -08:00
* Closed throttle, 1 volt = 200 units.
* See also tps1_1AdcChannel
* set tps_min X
2021-04-26 14:59:44 -07:00
ADC
* offset 80
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tpsMin = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2020-11-14 15:08:03 -08:00
* Full throttle.
* See also tps1_1AdcChannel
* set tps_max X
2021-04-26 14:59:44 -07:00
ADC
* offset 82
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tpsMax = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2020-05-10 07:11:51 -07:00
* TPS error detection: what throttle % is unrealistically low?
* Also used for accelerator pedal error detection if so equiped.
2021-04-26 14:59:44 -07:00
%
* offset 84
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tpsErrorDetectionTooLow = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2020-05-10 07:11:51 -07:00
* TPS error detection: what throttle % is unrealistically high?
* Also used for accelerator pedal error detection if so equiped.
2021-04-26 14:59:44 -07:00
%
* offset 86
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tpsErrorDetectionTooHigh = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
* offset 88
2017-03-27 19:19:58 -07:00
*/
cranking_parameters_s cranking;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
*C
* offset 96
*/
2021-11-30 18:00:42 -08:00
float primingSquirtDurationMs = (float)0;
/**
2021-06-13 05:01:23 -07:00
* Dwell duration while cranking
2021-04-26 14:59:44 -07:00
ms
* offset 100
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float ignitionDwellForCrankingMs = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-06-16 05:54:10 -07:00
* Once engine speed passes this value, start reducing ETB angle.
2021-06-16 14:09:18 -07:00
rpm
* offset 104
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t etbRevLimitStart = (uint16_t)0;
2021-06-16 05:54:10 -07:00
/**
* This far above 'Soft limiter start', fully close the throttle. At the bottom of the range, throttle control is normal. At the top of the range, the throttle is fully closed.
2021-06-16 14:09:18 -07:00
rpm
2021-06-16 05:54:10 -07:00
* offset 106
*/
2021-11-30 18:00:42 -08:00
uint16_t etbRevLimitRange = (uint16_t)0;
2017-03-27 19:19:58 -07:00
/**
* @see isMapAveragingEnabled
* offset 108
2017-03-27 19:19:58 -07:00
*/
MAP_sensor_config_s map;
2017-03-27 19:19:58 -07:00
/**
* todo: merge with channel settings, use full-scale Thermistor here!
* offset 252
2017-03-27 19:19:58 -07:00
*/
ThermistorConf clt;
2017-03-27 19:19:58 -07:00
/**
* offset 284
2017-03-27 19:19:58 -07:00
*/
ThermistorConf iat;
2017-03-27 19:19:58 -07:00
/**
* A secondary Rev limit engaged by the driver to help launch the vehicle faster
2021-04-26 14:59:44 -07:00
rpm
* offset 316
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int launchRpm = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
deg
* offset 320
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int launchTimingRetard = (int)0;
2017-03-27 19:19:58 -07:00
/**
* value '6' for 8MHz hw osc
* read hip9011 datasheet for details
* todo split into two bit fields
2021-04-26 14:59:44 -07:00
integer
* offset 324
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int hip9011PrescalerAndSDO = (int)0;
2017-03-27 19:19:58 -07:00
/**
* We calculate knock band based of cylinderBore
* Use this to override - kHz knock band override
2021-04-26 14:59:44 -07:00
kHz
* offset 328
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float knockBandCustom = (float)0;
2017-03-27 19:19:58 -07:00
/**
2020-07-28 06:12:43 -07:00
* On Single Coil or Wasted Spark setups you have to lower dwell at high RPM
2021-04-26 14:59:44 -07:00
RPM
* offset 332
2017-03-27 19:19:58 -07:00
*/
float sparkDwellRpmBins[DWELL_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
ms
* offset 364
2017-03-27 19:19:58 -07:00
*/
float sparkDwellValues[DWELL_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
* offset 396
2017-03-27 19:19:58 -07:00
*/
specs_s specs;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Cylinder diameter in mm.
2021-04-26 14:59:44 -07:00
mm
* offset 408
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float cylinderBore = (float)0;
/**
* Disable sensor sniffer above this rpm
2021-04-26 14:59:44 -07:00
RPM
* offset 412
*/
2021-11-30 18:00:42 -08:00
int sensorSnifferRpmThreshold = (int)0;
/**
* set rpm_hard_limit X
2021-04-26 14:59:44 -07:00
rpm
* offset 416
*/
2021-11-30 18:00:42 -08:00
int rpmHardLimit = (int)0;
/**
2021-06-17 08:41:07 -07:00
* This setting controls which fuel quantity control algorithm is used.
2021-11-03 14:10:50 -07:00
* Alpha-N means drive by TPS commonly only used for NA engines
* Speed Density requires MAP sensor and is the default choice for may installs
* MAF air charge is a cylinder filling based method that uses a mass air flow sensor.
* offset 420
*/
engine_load_mode_e fuelAlgorithm;
/**
* This is the injection strategy during engine start. See Fuel/Injection settings for more detail. It is suggested to use "Simultaneous".
* offset 424
*/
injection_mode_e crankingInjectionMode;
/**
* This is where the fuel injection type is defined: "Simultaneous" means all injectors will fire together at once. "Sequential" fires the injectors on a per cylinder basis, which requires individually wired injectors. "Batched" will fire the injectors in groups. If your injectors are individually wired you will also need to enable "Two wire batch emulation".
* set injection_mode X
* See also twoWireBatchInjection
* offset 428
*/
injection_mode_e injectionMode;
/**
* this is about deciding when the injector starts it's squirt
* See also injectionPhase map
* todo: do we need even need this since we have the map anyway?
2021-04-26 14:59:44 -07:00
deg
* offset 432
*/
2021-11-30 18:00:42 -08:00
angle_t extraInjectionOffset = (angle_t)0;
/**
* Ignition advance angle used during engine cranking, 5-10 degrees will work as a base setting for most engines.
2021-05-23 11:03:56 -07:00
* There is tapering towards running timing advance
* set cranking_timing_angle X
2021-04-26 14:59:44 -07:00
deg
* offset 436
*/
2021-11-30 18:00:42 -08:00
angle_t crankingTimingAngle = (angle_t)0;
/**
2021-05-21 12:28:41 -07:00
* Single coil = distributor
* Individual coils = one coil per cylinder (COP, coil-near-plug), requires sequential mode
* Wasted spark = Fires pairs of cylinders together, either one coil per pair of cylinders or one coil per cylinder
* Two distributors = A pair of distributors, found on some BMW, Toyota and other engines
* set ignition_mode X
* offset 440
*/
ignition_mode_e ignitionMode;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* How many consecutive gap rations have to match expected ranges for sync to happen
2021-05-23 17:47:26 -07:00
count
* offset 444
*/
2021-11-30 18:00:42 -08:00
int8_t gapTrackingLengthOverride = (int8_t)0;
2021-05-23 17:47:26 -07:00
/**
2021-07-04 06:37:12 -07:00
* Above this speed, disable closed loop idle control. Set to 0 to disable (allow closed loop idle at any speed).
kph
2021-05-23 17:47:26 -07:00
* offset 445
*/
2021-11-30 18:00:42 -08:00
uint8_t maxIdleVss = (uint8_t)0;
2021-06-16 14:31:59 -07:00
/**
* Expected oil pressure after starting the engine. If oil pressure does not reach this level within 5 seconds of engine start, fuel will be cut. Set to 0 to disable and always allow starting.
kPa
* offset 446
*/
2021-11-30 18:00:42 -08:00
uint16_t minOilPressureAfterStart = (uint16_t)0;
/**
2020-10-09 14:19:04 -07:00
* Dynamic uses the timing map to decide the ignition timing, Static timing fixes the timing to the value set below (only use for checking static timing with a timing light).
* offset 448
*/
timing_mode_e timingMode;
/**
* This value is the ignition timing used when in 'fixed timing' mode, i.e. constant timing
* This mode is useful when adjusting distributor location.
2021-04-26 14:59:44 -07:00
RPM
* offset 452
*/
2021-11-30 18:00:42 -08:00
angle_t fixedModeTiming = (angle_t)0;
/**
* Angle between Top Dead Center (TDC) and the first trigger event.
2020-10-08 23:07:46 -07:00
* Positive value in case of synchnization point before TDC and negative in case of synchnization point after TDC
* .Knowing this angle allows us to control timing and other angles in reference to TDC.
* set global_trigger_offset_angle X
2021-04-26 14:59:44 -07:00
deg btdc
* offset 456
*/
2021-11-30 18:00:42 -08:00
angle_t globalTriggerAngleOffset = (angle_t)0;
/**
2020-03-01 19:32:09 -08:00
* Ratio/coefficient of input voltage dividers on your PCB. For example, use '2' if your board divides 5v into 2.5v. Use '1.66' if your board divides 5v into 3v.
2021-04-26 14:59:44 -07:00
coef
* offset 460
*/
2021-11-30 18:00:42 -08:00
float analogInputDividerCoefficient = (float)0;
/**
* This is the ratio of the resistors for the battery voltage, measure the voltage at the battery and then adjust this number until the gauge matches the reading.
2021-04-26 14:59:44 -07:00
coef
* offset 464
*/
2021-11-30 18:00:42 -08:00
float vbattDividerCoeff = (float)0;
/**
* Cooling fan turn-on temperature threshold, in Celsius
2021-06-11 03:27:21 -07:00
deg C
* offset 468
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float fanOnTemperature = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Cooling fan turn-off temperature threshold, in Celsius
2021-06-11 03:27:21 -07:00
deg C
* offset 472
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float fanOffTemperature = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-11-27 06:01:08 -08:00
* Number of revolutions per kilometer for the wheels your vehicle speed sensor is connected to. Use an online calculator to determine this based on your tire size.
revs/km
* offset 476
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float driveWheelRevPerKm = (float)0;
2017-03-27 19:19:58 -07:00
/**
* set can_mode X
* offset 480
2017-03-27 19:19:58 -07:00
*/
can_nbc_e canNbcType;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* CANbus thread period in ms
2021-04-26 14:59:44 -07:00
ms
* offset 484
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int canSleepPeriodMs = (int)0;
2017-03-27 19:19:58 -07:00
/**
* 'Some triggers could be mounted differently. Most well-known triggers imply specific sensor setup. 4 stroke with symmetrical crank' is a pretty special case for example on Miata NB2
* See engineCycle
* set operation_mode X
* offset 488
2017-03-27 19:19:58 -07:00
*/
operation_mode_e ambiguousOperationMode;
2017-03-27 19:19:58 -07:00
/**
* offset 492
2017-03-27 19:19:58 -07:00
*/
display_mode_e displayMode;
2017-03-27 19:19:58 -07:00
/**
* offset 496
2017-03-27 19:19:58 -07:00
*/
2021-11-22 10:42:24 -08:00
log_format_e unusedLogFormat;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
index
* offset 500
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int byFirmwareVersion = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
index
* offset 504
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int HD44780width = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
index
* offset 508
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int HD44780height = (int)0;
2017-03-27 19:19:58 -07:00
/**
2020-01-10 22:08:41 -08:00
* First throttle body, first sensor. See also pedalPositionAdcChannel
* offset 512
2017-03-27 19:19:58 -07:00
*/
adc_channel_e tps1_1AdcChannel;
2019-04-14 15:12:15 -07:00
/**
* This is the processor input pin that the battery voltage circuit is connected to, if you are unsure of what pin to use, check the schematic that corresponds to your PCB.
* offset 513
2019-04-14 15:12:15 -07:00
*/
adc_channel_e vbattAdcChannel;
/**
* This is the processor pin that your fuel level sensor in connected to. This is a non standard input so will need to be user defined.
* offset 514
*/
adc_channel_e fuelLevelSensor;
/**
* Second throttle body position sensor, single channel so far
2020-03-29 22:13:02 -07:00
* set_analog_input_pin tps2 X
* offset 515
*/
adc_channel_e tps2_1AdcChannel;
2017-03-27 19:19:58 -07:00
/**
2020-07-10 13:06:22 -07:00
* 0.1 is a good default value
2021-04-26 14:59:44 -07:00
x
* offset 516
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float idle_derivativeFilterLoss = (float)0;
2019-12-02 14:49:01 -08:00
/**
2021-07-09 07:09:27 -07:00
* just a temporary solution
angle
* offset 520
2019-12-02 14:49:01 -08:00
*/
2021-11-30 18:00:42 -08:00
int trailingSparkAngle = (int)0;
2017-03-27 19:19:58 -07:00
/**
* offset 524
2017-03-27 19:19:58 -07:00
*/
trigger_config_s trigger;
2017-03-27 19:19:58 -07:00
/**
* offset 540
2017-03-27 19:19:58 -07:00
*/
spi_device_e hip9011SpiDevice;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Single value to be used in event of a failed MAP sensor
2021-01-27 17:33:00 -08:00
* This value is only used for speed density fueling calculations.
2021-04-26 14:59:44 -07:00
kPa
* offset 541
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t failedMapFallback = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-05-30 04:06:46 -07:00
* Duty cycle to use in case of a sensor failure. This duty cycle should produce the minimum possible amount of boost.
%
* offset 542
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t boostControlSafeDutyCycle = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
* offset 543
*/
adc_channel_e mafAdcChannel;
/**
* set global_fuel_correction X
2021-04-26 14:59:44 -07:00
coef
* offset 544
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float globalFuelCorrection = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
volts
* offset 548
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float adcVcc = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
Deg
* offset 552
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float mapCamDetectionAnglePosition = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Camshaft input could be used either just for engine phase detection if your trigger shape does not include cam sensor as 'primary' channel, or it could be used for Variable Valve timing on one of the camshafts.
* offset 556
2017-03-27 19:19:58 -07:00
*/
brain_input_pin_e camInputs[CAM_INPUTS_COUNT];
2021-02-08 21:26:52 -08:00
/**
* offset 560
*/
uint8_t camInputsPadding[CAM_INPUTS_COUNT_padding];
2017-03-27 19:19:58 -07:00
/**
* offset 560
2017-03-27 19:19:58 -07:00
*/
afr_sensor_s afr;
2017-03-27 19:19:58 -07:00
/**
2020-08-18 21:48:34 -07:00
* Electronic throttle pedal position first channel
* See throttlePedalPositionSecondAdcChannel for second channel
* See also tps1_1AdcChannel
2020-03-29 22:13:02 -07:00
* set_analog_input_pin pps X
2020-11-06 11:37:34 -08:00
* See throttlePedalUpVoltage and throttlePedalWOTVoltage
* offset 580
2017-03-27 19:19:58 -07:00
*/
adc_channel_e throttlePedalPositionAdcChannel;
2017-03-27 19:19:58 -07:00
/**
* offset 581
2017-03-27 19:19:58 -07:00
*/
brain_pin_e tle6240_cs;
2017-03-27 19:19:58 -07:00
/**
* offset 582
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e tle6240_csPinMode;
2019-07-21 14:06:16 -07:00
/**
* Throttle Pedal not pressed switch - used on some older vehicles like early Mazda Miata
* offset 583
2019-07-21 14:06:16 -07:00
*/
switch_input_pin_e throttlePedalUpPin;
2017-03-27 19:19:58 -07:00
/**
* @see hasBaroSensor
* offset 584
2017-03-27 19:19:58 -07:00
*/
air_pressure_sensor_config_s baroSensor;
2017-03-27 19:19:58 -07:00
/**
* offset 600
2017-03-27 19:19:58 -07:00
*/
idle_hardware_s idle;
2017-03-27 19:19:58 -07:00
/**
2021-11-03 14:10:50 -07:00
* Value between 0 and 100 used in Manual mode
2021-04-26 14:59:44 -07:00
%
* offset 608
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float manIdlePosition = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-10-22 13:03:15 -07:00
* Ignition timing to remove when a knock event occurs.
%
* offset 612
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t knockRetardAggression = (uint8_t)0;
2021-10-22 13:03:15 -07:00
/**
* After a knock event, reapply timing at this rate.
deg/s
* offset 613
*/
2021-11-30 18:00:42 -08:00
uint8_t knockRetardReapplyRate = (uint8_t)0;
2021-10-22 13:03:15 -07:00
/**
* Maximum amount of knock retard.
deg
* offset 614
*/
2021-11-30 18:00:42 -08:00
uint8_t knockRetardMaximum = (uint8_t)0;
2021-10-22 13:03:15 -07:00
/**
* offset 615
*/
2021-11-30 18:00:42 -08:00
uint8_t mapCamDetectionThreshold = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-11-27 06:01:08 -08:00
* Number of turns of your vehicle speed sensor per turn of the wheels. For example if your sensor is on the transmission output, enter your axle/differential ratio. If you are using a hub-mounted sensor, enter a value of 1.0.
ratio
* offset 616
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint16_t, 1000, 1> vssGearRatio = (uint16_t)0;
2021-11-27 06:01:08 -08:00
/**
* Number of pulses output per revolution of the shaft where your VSS is mounted. For example, GM applications of the T56 output 17 pulses per revolution of the transmission output shaft.
count
* offset 618
*/
2021-11-30 18:00:42 -08:00
uint8_t vssToothCount = (uint8_t)0;
2021-11-27 06:01:08 -08:00
/**
* offset 619
*/
2021-11-30 18:00:42 -08:00
uint8_t unusedNearVss = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
* Same RPM is used for two ways of producing simulated RPM. See also triggerSimulatorPins (with wires)
* See also directSelfStimulation (no wires, bypassing input hardware)
* rpm X
2020-10-11 16:07:39 -07:00
* TODO: rename to triggerSimulatorRpm
2021-04-26 14:59:44 -07:00
Rpm
* offset 620
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int triggerSimulatorFrequency = (int)0;
2017-03-27 19:19:58 -07:00
/**
* offset 624
2017-03-27 19:19:58 -07:00
*/
2021-07-06 17:57:01 -07:00
output_pin_e injectionPins[MAX_CYLINDER_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 636
2017-03-27 19:19:58 -07:00
*/
2021-07-06 17:57:01 -07:00
output_pin_e ignitionPins[MAX_CYLINDER_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 648
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e injectionPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 649
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e ignitionPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 650
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_rs;
2017-03-27 19:19:58 -07:00
/**
* offset 651
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_e;
2017-03-27 19:19:58 -07:00
/**
* offset 652
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_db4;
2017-03-27 19:19:58 -07:00
/**
* offset 653
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_db5;
2017-03-27 19:19:58 -07:00
/**
* offset 654
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_db6;
2017-03-27 19:19:58 -07:00
/**
* offset 655
2017-03-27 19:19:58 -07:00
*/
brain_pin_e HD44780_db7;
/**
* offset 656
*/
brain_pin_e gps_rx_pin;
/**
* offset 657
*/
brain_pin_e gps_tx_pin;
2017-03-27 19:19:58 -07:00
/**
* offset 658
2017-03-27 19:19:58 -07:00
*/
output_pin_e fuelPumpPin;
2017-03-27 19:19:58 -07:00
/**
* offset 659
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e fuelPumpPinMode;
/**
* Check engine light, also malfunction indicator light. Always blinks once on boot.
* offset 660
*/
output_pin_e malfunctionIndicatorPin;
2019-09-20 17:18:22 -07:00
/**
* offset 661
2019-09-20 17:18:22 -07:00
*/
pin_output_mode_e malfunctionIndicatorPinMode;
/**
* offset 662
*/
pin_output_mode_e fanPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 663
2017-03-27 19:19:58 -07:00
*/
output_pin_e fanPin;
2019-11-24 21:59:05 -08:00
/**
2021-07-24 10:28:25 -07:00
* Some cars have a switch to indicate that clutch pedal is all the way down
* offset 664
2019-11-24 21:59:05 -08:00
*/
switch_input_pin_e clutchDownPin;
2019-11-24 22:01:00 -08:00
/**
* offset 665
2019-11-24 22:01:00 -08:00
*/
output_pin_e alternatorControlPin;
2017-03-27 19:19:58 -07:00
/**
* offset 666
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e alternatorControlPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 667
2017-03-27 19:19:58 -07:00
*/
pin_input_mode_e clutchDownPinMode;
2017-05-27 20:43:48 -07:00
/**
* offset 668
2017-05-27 20:43:48 -07:00
*/
brain_pin_e digitalPotentiometerChipSelect[DIGIPOT_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 672
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e electronicThrottlePin1Mode;
2017-03-27 19:19:58 -07:00
/**
* set_cj125_heater_pin XXX
* offset 673
2017-03-27 19:19:58 -07:00
*/
brain_pin_e wboHeaterPin;
2017-03-27 19:19:58 -07:00
/**
* set_cj125_cs_pin XXX
* offset 674
2017-03-27 19:19:58 -07:00
*/
brain_pin_e cj125CsPin;
2017-03-27 19:19:58 -07:00
/**
* offset 675
2017-03-27 19:19:58 -07:00
*/
spi_device_e max31855spiDevice;
2017-03-27 19:19:58 -07:00
/**
* offset 676
2017-03-27 19:19:58 -07:00
*/
brain_pin_e debugTriggerSync;
2017-03-27 19:19:58 -07:00
/**
* Digital Potentiometer is used by stock ECU stimulation code
* offset 677
2017-03-27 19:19:58 -07:00
*/
spi_device_e digitalPotentiometerSpiDevice;
2017-03-27 19:19:58 -07:00
/**
* offset 678
2017-03-27 19:19:58 -07:00
*/
brain_pin_e mc33972_cs;
2017-03-27 19:19:58 -07:00
/**
* offset 679
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e mc33972_csPinMode;
2017-03-27 19:19:58 -07:00
/**
* Useful in Research&Development phase
* offset 680
2017-03-27 19:19:58 -07:00
*/
adc_channel_e auxFastSensor1_adcChannel;
2017-03-27 19:19:58 -07:00
/**
2020-01-10 22:08:41 -08:00
* First throttle body, second sensor.
* offset 681
2017-03-27 19:19:58 -07:00
*/
2020-01-10 22:08:41 -08:00
adc_channel_e tps1_2AdcChannel;
/**
* Second throttle body, second sensor.
* offset 682
*/
adc_channel_e tps2_2AdcChannel;
/**
* Electronic throttle pedal position input
* Second channel
* See also tps1_1AdcChannel
2020-11-06 11:37:34 -08:00
* See throttlePedalSecondaryUpVoltage and throttlePedalSecondaryWOTVoltage
2020-01-10 22:08:41 -08:00
* offset 683
*/
adc_channel_e throttlePedalPositionSecondAdcChannel;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
%
* offset 684
2017-03-27 19:19:58 -07:00
*/
2021-03-19 05:41:10 -07:00
uint8_t fuelLevelValues[FUEL_LEVEL_TABLE_COUNT];
2017-03-27 19:19:58 -07:00
/**
* AFR, WBO, EGO - whatever you like to call it
* offset 692
2017-03-27 19:19:58 -07:00
*/
ego_sensor_e afr_type;
2017-03-27 19:19:58 -07:00
/**
2020-07-10 13:06:22 -07:00
* 0.1 is a good default value
2021-04-26 14:59:44 -07:00
x
* offset 696
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float idle_antiwindupFreq = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 700
2017-03-27 19:19:58 -07:00
*/
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 703
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e hip9011CsPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 704
2017-03-27 19:19:58 -07:00
*/
output_pin_e tachOutputPin;
2017-03-27 19:19:58 -07:00
/**
* offset 705
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e tachOutputPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 706
2017-03-27 19:19:58 -07:00
*/
output_pin_e mainRelayPin;
2017-03-27 19:19:58 -07:00
/**
* offset 707
2017-03-27 19:19:58 -07:00
*/
brain_pin_e sdCardCsPin;
2017-03-27 19:19:58 -07:00
/**
2020-03-31 13:49:19 -07:00
* set_can_tx_pin X
* offset 708
2017-03-27 19:19:58 -07:00
*/
brain_pin_e canTxPin;
2017-03-27 19:19:58 -07:00
/**
2020-03-31 13:49:19 -07:00
* set_can_rx_pin X
* offset 709
2017-03-27 19:19:58 -07:00
*/
brain_pin_e canRxPin;
2017-03-27 19:19:58 -07:00
/**
* offset 710
2017-03-27 19:19:58 -07:00
*/
pin_input_mode_e throttlePedalUpPinMode;
/**
2021-05-31 15:02:57 -07:00
* Additional idle % while A/C is active
%
* offset 711
*/
2021-11-30 18:00:42 -08:00
uint8_t acIdleExtraOffset = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
2020-08-05 04:59:46 -07:00
* CANbus thread period, ms
2021-04-26 14:59:44 -07:00
ms
* offset 712
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int can2SleepPeriodMs = (int)0;
/**
2020-09-18 00:05:55 -07:00
* Voltage when the wastegate is closed.
* You probably don't have one of these!
2021-04-26 14:59:44 -07:00
mv
* offset 716
*/
2021-11-30 18:00:42 -08:00
uint16_t wastegatePositionMin = (uint16_t)0;
/**
2020-09-18 00:05:55 -07:00
* Voltage when the wastegate is fully open.
* You probably don't have one of these!
2020-11-14 15:08:03 -08:00
* 1 volt = 1000 units
2021-04-26 14:59:44 -07:00
mv
2020-09-18 00:05:55 -07:00
* offset 718
*/
2021-11-30 18:00:42 -08:00
uint16_t wastegatePositionMax = (uint16_t)0;
2020-09-18 00:05:55 -07:00
/**
* Voltage when the idle valve is closed.
* You probably don't have one of these!
2021-04-26 14:59:44 -07:00
mv
* offset 720
*/
2021-11-30 18:00:42 -08:00
uint16_t idlePositionMin = (uint16_t)0;
2020-09-18 00:05:55 -07:00
/**
* Voltage when the idle valve is open.
* You probably don't have one of these!
2020-11-14 15:08:03 -08:00
* 1 volt = 1000 units
2021-04-26 14:59:44 -07:00
mv
2020-09-18 00:05:55 -07:00
* offset 722
*/
2021-11-30 18:00:42 -08:00
uint16_t idlePositionMax = (uint16_t)0;
/**
* offset 724
*/
2021-11-05 20:28:22 -07:00
uint16_t unusedExHpfp[2];
2017-03-27 19:19:58 -07:00
/**
2020-05-03 00:41:14 -07:00
* Secondary TTL channel baud rate
2021-04-26 14:59:44 -07:00
BPs
* offset 728
*/
2021-11-30 18:00:42 -08:00
uint32_t tunerStudioSerialSpeed = (uint32_t)0;
2017-03-27 19:19:58 -07:00
/**
2020-05-06 22:00:02 -07:00
* Just for reference really, not taken into account by any logic at this point
2021-04-26 14:59:44 -07:00
CR
* offset 732
*/
2021-11-30 18:00:42 -08:00
float compressionRatio = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Each rusEfi piece can provide synthetic trigger signal for external ECU. Sometimes these wires are routed back into trigger inputs of the same rusEfi board.
* See also directSelfStimulation which is different.
* offset 736
*/
brain_pin_e triggerSimulatorPins[TRIGGER_SIMULATOR_PIN_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 739
*/
pin_output_mode_e triggerSimulatorPinModes[TRIGGER_SIMULATOR_PIN_COUNT];
2017-03-27 19:19:58 -07:00
/**
2021-02-14 19:38:10 -08:00
* Narrow band o2 heater, not used for CJ125. 'ON' if engine is running, 'OFF' if stopped or cranking. See wboHeaterPin
* offset 742
*/
output_pin_e o2heaterPin;
2017-03-27 19:19:58 -07:00
/**
* offset 743
*/
pin_output_mode_e o2heaterPinModeTodO;
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 0 */
2021-11-19 20:16:43 -08:00
bool is_enabled_spi_1 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 1 */
2021-11-19 20:16:43 -08:00
bool is_enabled_spi_2 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 2 */
2021-11-19 20:16:43 -08:00
bool is_enabled_spi_3 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-07-09 13:02:54 -07:00
* enable sd/disable sd
offset 744 bit 3 */
2021-11-19 20:16:43 -08:00
bool isSdCardEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-11-28 12:32:19 -08:00
* Use 11 bit (standard) or 29 bit (extended) IDs for rusEFI verbose CAN format.
offset 744 bit 4 */
2021-11-28 12:32:19 -08:00
bool rusefiVerbose29b : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 5 */
2021-11-19 20:16:43 -08:00
bool isEngineControlEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 6 */
2021-11-19 20:16:43 -08:00
bool isHip9011Enabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 7 */
2021-11-19 20:16:43 -08:00
bool isVerboseAlternator : 1 {};
/**
offset 744 bit 8 */
2021-11-19 20:16:43 -08:00
bool useSerialPort : 1 {};
/**
* This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed.
offset 744 bit 9 */
2021-11-19 20:16:43 -08:00
bool useStepperIdle : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 10 */
2021-11-19 20:16:43 -08:00
bool enabledStep1Limiter : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 11 */
2021-11-19 20:16:43 -08:00
bool useTpicAdvancedMode : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 12 */
2021-11-19 20:16:43 -08:00
bool useLcdScreen : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 13 */
2021-11-19 20:16:43 -08:00
bool verboseTLE8888 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-06-09 19:44:43 -07:00
* CAN broadcast using custom rusEFI protocol
2020-03-31 13:49:19 -07:00
* enable can_broadcast/disable can_broadcast
offset 744 bit 14 */
2021-11-19 20:16:43 -08:00
bool enableVerboseCanTx : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-06-09 19:44:43 -07:00
* This will cause the alternator to be operated in a basic on or off mode, this is the simplest alternator control.
offset 744 bit 15 */
2021-11-19 20:16:43 -08:00
bool onOffAlternatorLogic : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-04-08 18:43:05 -07:00
* enable cj125/disable cj125
offset 744 bit 16 */
2021-11-19 20:16:43 -08:00
bool isCJ125Enabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Use rise or fall signal front
2020-08-29 14:47:22 -07:00
* get vvtCamSensorUseRise
offset 744 bit 17 */
2021-11-19 20:16:43 -08:00
bool vvtCamSensorUseRise : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Useful for individual intakes
offset 744 bit 18 */
2021-11-19 20:16:43 -08:00
bool measureMapOnlyInOneCylinder : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 19 */
2021-11-19 20:16:43 -08:00
bool stepperForceParkingEveryRestart : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-05-31 01:21:59 -07:00
* If enabled, try to fire the engine before a full engine cycle has been completed using RPM estimated from the last 90 degrees of engine rotation. As soon as the trigger syncs plus 90 degrees rotation, fuel and ignition events will occur. If disabled, worst case may require up to 4 full crank rotations before any events are scheduled.
offset 744 bit 20 */
2021-11-19 20:16:43 -08:00
bool isFasterEngineSpinUpEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This setting disables fuel injection while the engine is in overrun, this is useful as a fuel saving measure and to prevent back firing.
offset 744 bit 21 */
2021-11-19 20:16:43 -08:00
bool coastingFuelCutEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-06-28 07:12:01 -07:00
* This setting allows the ECU to open the IAC during overrun conditions to help reduce engine breaking, this can be helpful for large engines in light weight cars. Used in Auto-PID Idle mode.
offset 744 bit 22 */
2021-11-19 20:16:43 -08:00
bool useIacTableForCoasting : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 23 */
2021-11-19 20:16:43 -08:00
bool useNoiselessTriggerDecoder : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 24 */
2021-11-19 20:16:43 -08:00
bool useIdleTimingPidControl : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-02-05 15:21:55 -08:00
* Allows disabling the ETB when the engine is stopped. You may not like the power draw or PWM noise from the motor, so this lets you turn it off until it's necessary.
offset 744 bit 25 */
2021-11-19 20:16:43 -08:00
bool disableEtbWhenEngineStopped : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 26 */
2021-11-19 20:16:43 -08:00
bool is_enabled_spi_4 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-07-26 12:09:43 -07:00
* Disable the electronic throttle motor and DC idle motor for testing.
* This mode is for testing ETB/DC idle position sensors, etc without actually driving the throttle.
offset 744 bit 27 */
2021-11-19 20:16:43 -08:00
bool pauseEtbControl : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 28 */
2021-11-19 20:16:43 -08:00
bool alignEngineSnifferAtTDC : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This setting allows the ETB to act as the idle air control valve and move to regulate the airflow at idle.
offset 744 bit 29 */
2021-11-19 20:16:43 -08:00
bool useETBforIdleControl : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 744 bit 30 */
2021-11-19 20:16:43 -08:00
bool idleIncrementalPidCic : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-05-26 11:21:01 -07:00
* AEM X-Series or rusEFI Wideband
offset 744 bit 31 */
2021-11-19 20:16:43 -08:00
bool enableAemXSeries : 1 {};
2017-03-27 19:19:58 -07:00
/**
* offset 748
2017-03-27 19:19:58 -07:00
*/
brain_input_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT];
2017-03-27 19:19:58 -07:00
/**
* offset 752
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e mainRelayPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 753
2017-03-27 19:19:58 -07:00
*/
brain_pin_e hip9011CsPin;
2017-03-27 19:19:58 -07:00
/**
* offset 754
2017-03-27 19:19:58 -07:00
*/
brain_pin_e hip9011IntHoldPin;
2017-03-27 19:19:58 -07:00
/**
* offset 755
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e hip9011IntHoldPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 756
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint32_t verboseCanBaseAddress = (uint32_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
v
* offset 760
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t mc33_hvolt = (uint8_t)0;
2020-04-15 18:28:44 -07:00
/**
2021-08-27 15:03:24 -07:00
* Minimum MAP before closed loop boost is enabled. Use to prevent misbehavior upon entering boost.
kPa
2020-04-15 18:28:44 -07:00
* offset 761
*/
2021-11-30 18:00:42 -08:00
uint8_t minimumBoostClosedLoopMap = (uint8_t)0;
2020-07-07 19:20:59 -07:00
/**
2020-09-05 20:38:02 -07:00
* Optional Radiator Fan used with A/C
2020-07-07 19:20:59 -07:00
* offset 762
*/
2020-09-05 20:38:02 -07:00
output_pin_e acFanPin;
/**
* offset 763
*/
pin_output_mode_e acFanPinMode;
2017-03-27 19:19:58 -07:00
/**
2021-11-14 06:27:16 -08:00
volts
* offset 764
2017-03-27 19:19:58 -07:00
*/
2021-11-14 06:27:16 -08:00
uint8_t unused11[6];
2021-08-15 12:38:17 -07:00
/**
2021-09-15 05:21:12 -07:00
volts
2021-08-15 12:38:17 -07:00
* offset 770
*/
2021-09-15 05:21:12 -07:00
uint8_t dwellVoltageCorrVoltBins[DWELL_CURVE_SIZE];
/**
* offset 778
*/
2021-09-30 12:23:44 -07:00
imu_type_e imuType;
/**
* offset 779
*/
2021-11-14 06:27:16 -08:00
uint8_t unusedpinModesWhereHere[7];
2021-08-15 12:38:17 -07:00
/**
2021-09-15 05:21:12 -07:00
multiplier
2021-08-15 12:38:17 -07:00
* offset 786
*/
2021-09-15 05:21:12 -07:00
uint8_t dwellVoltageCorrValues[DWELL_CURVE_SIZE];
/**
* offset 794
*/
uint8_t unusedOutputWhereHere[2];
2017-03-27 19:19:58 -07:00
/**
* offset 796
2017-03-27 19:19:58 -07:00
*/
brain_pin_e max31855_cs[EGT_CHANNEL_COUNT];
2017-03-27 19:19:58 -07:00
/**
* SD card logging period, in milliseconds
2021-04-26 14:59:44 -07:00
ms
* offset 804
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t sdCardPeriodMs = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
* offset 806
2017-03-27 19:19:58 -07:00
*/
2020-09-18 00:05:55 -07:00
adc_channel_e idlePositionSensor;
2017-03-27 19:19:58 -07:00
/**
* offset 807
2017-03-27 19:19:58 -07:00
*/
brain_pin_e debugMapAveraging;
2017-03-27 19:19:58 -07:00
/**
* offset 808
2017-03-27 19:19:58 -07:00
*/
2020-03-18 12:56:17 -07:00
output_pin_e starterRelayDisablePin;
2017-03-27 19:19:58 -07:00
/**
2020-03-18 12:56:17 -07:00
* On some vehicles we can disable starter once engine is already running
* offset 809
2017-03-27 19:19:58 -07:00
*/
2020-09-27 04:38:53 -07:00
pin_output_mode_e starterRelayDisablePinMode;
2017-03-27 19:19:58 -07:00
/**
* Some Subaru and some Mazda use double-solenoid idle air valve
* offset 810
2017-03-27 19:19:58 -07:00
*/
2020-11-22 15:32:36 -08:00
output_pin_e secondSolenoidPin;
/**
2020-03-19 21:36:22 -07:00
* See also starterControlPin
* offset 811
*/
2020-03-20 17:45:35 -07:00
switch_input_pin_e startStopButtonPin;
2017-03-27 19:19:58 -07:00
/**
2021-10-04 04:54:20 -07:00
* This many MAP samples are used to estimate the current MAP. This many samples are considered, and the minimum taken. Recommended value is 1 for single-throttle engines, and your number of cylinders for individual throttle bodies.
2021-04-26 14:59:44 -07:00
count
* offset 812
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int mapMinBufferLength = (int)0;
2017-03-27 19:19:58 -07:00
/**
2020-12-30 05:37:55 -08:00
* Below this throttle position, the engine is considered idling.
2021-04-26 14:59:44 -07:00
%
* offset 816
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t idlePidDeactivationTpsThreshold = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
%
* offset 818
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t stepperParkingExtraSteps = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
ADC
* offset 820
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t tps1SecondaryMin = (uint16_t)0;
2020-05-10 07:11:51 -07:00
/**
2021-04-26 14:59:44 -07:00
ADC
2020-05-10 07:11:51 -07:00
* offset 822
*/
2021-11-30 18:00:42 -08:00
uint16_t tps1SecondaryMax = (uint16_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
rpm
* offset 824
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t antiLagRpmTreshold = (int16_t)0;
/**
2021-04-26 14:59:44 -07:00
* Maximum time to crank starter when start/stop button is pressed
Seconds
* offset 826
*/
2021-11-30 18:00:42 -08:00
uint16_t startCrankingDuration = (uint16_t)0;
2017-03-27 19:19:58 -07:00
/**
* This pin is used for debugging - snap a logic analyzer on it and see if it's ever high
* offset 828
2017-03-27 19:19:58 -07:00
*/
brain_pin_e triggerErrorPin;
2017-03-27 19:19:58 -07:00
/**
* offset 829
2017-03-27 19:19:58 -07:00
*/
pin_output_mode_e triggerErrorPinMode;
2017-03-27 19:19:58 -07:00
/**
* offset 830
*/
output_pin_e acRelayPin;
/**
* offset 831
*/
pin_output_mode_e acRelayPinMode;
/**
* offset 832
*/
2021-11-14 06:27:16 -08:00
int16_t unusedOutputFreqWhereHere[16];
/**
* offset 864
2017-03-27 19:19:58 -07:00
*/
2021-11-14 11:42:17 -08:00
script_setting_t scriptSetting[SCRIPT_SETTING_COUNT];
2021-08-15 12:38:17 -07:00
/**
2021-11-13 19:54:30 -08:00
* offset 896
2021-08-15 12:38:17 -07:00
*/
2021-11-13 19:54:30 -08:00
int unusedSettings[8];
2017-03-27 19:19:58 -07:00
/**
* offset 928
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi1mosiPin;
2017-03-27 19:19:58 -07:00
/**
* offset 929
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi1misoPin;
2017-03-27 19:19:58 -07:00
/**
* offset 930
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi1sckPin;
2019-04-14 15:12:15 -07:00
/**
* offset 931
2019-04-14 15:12:15 -07:00
*/
brain_pin_e spi2mosiPin;
2019-05-25 12:35:25 -07:00
/**
* offset 932
2019-05-25 12:35:25 -07:00
*/
brain_pin_e spi2misoPin;
2019-05-25 12:35:25 -07:00
/**
* offset 933
2019-05-25 12:35:25 -07:00
*/
brain_pin_e spi2sckPin;
2017-03-27 19:19:58 -07:00
/**
* offset 934
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi3mosiPin;
2017-03-27 19:19:58 -07:00
/**
* offset 935
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi3misoPin;
2017-03-27 19:19:58 -07:00
/**
* offset 936
2017-03-27 19:19:58 -07:00
*/
brain_pin_e spi3sckPin;
2017-03-27 19:19:58 -07:00
/**
* Saab Combustion Detection Module knock signal input pin
* also known as Saab Ion Sensing Module
* offset 937
2017-03-27 19:19:58 -07:00
*/
brain_pin_e cdmInputPin;
/**
* offset 938
2017-03-27 19:19:58 -07:00
*/
brain_pin_e joystickCenterPin;
2017-03-27 19:19:58 -07:00
/**
* offset 939
2017-03-27 19:19:58 -07:00
*/
brain_pin_e joystickAPin;
/**
* offset 940
*/
brain_pin_e joystickBPin;
/**
* offset 941
*/
brain_pin_e joystickCPin;
/**
* offset 942
*/
brain_pin_e joystickDPin;
2017-03-27 19:19:58 -07:00
/**
* offset 943
2017-03-27 19:19:58 -07:00
*/
uart_device_e consoleUartDevice;
2017-03-27 19:19:58 -07:00
/**
* rusEfi console Sensor Sniffer mode
* offset 944
2017-03-27 19:19:58 -07:00
*/
sensor_chart_e sensorChartMode;
/**
* offset 948
*/
maf_sensor_type_e mafSensorType;
/**
* offset 952
*/
2021-11-14 06:27:16 -08:00
uint8_t unusedDigital[16];
/**
* offset 968
*/
brain_input_pin_e vehicleSpeedSensorInputPin;
/**
* Some vehicles have a switch to indicate that clutch pedal is all the way up
* offset 969
*/
switch_input_pin_e clutchUpPin;
/**
* offset 970
*/
2021-11-30 18:00:42 -08:00
uint8_t unused970 = (uint8_t)0;
/**
* offset 971
*/
pin_input_mode_e clutchUpPinMode;
/**
2021-03-28 05:41:23 -07:00
* Disable multispark above this engine speed.
2021-04-26 14:59:44 -07:00
rpm
* offset 972
*/
2021-11-30 18:00:42 -08:00
uint16_t multisparkMaxRpm = (uint16_t)0;
2020-03-14 06:18:25 -07:00
/**
2021-03-28 05:41:23 -07:00
* This parameter sets the latest that the last multispark can occur after the main ignition event. For example, if the ignition timing is 30 degrees BTDC, and this parameter is set to 45, no multispark will ever be fired after 15 degrees ATDC.
2021-04-26 14:59:44 -07:00
deg
2020-03-14 06:18:25 -07:00
* offset 974
*/
2021-11-30 18:00:42 -08:00
uint8_t multisparkMaxSparkingAngle = (uint8_t)0;
2020-03-14 06:18:25 -07:00
/**
2021-03-28 05:41:23 -07:00
* Configures the maximum number of extra sparks to fire (does not include main spark)
2021-04-26 14:59:44 -07:00
count
2020-03-14 06:18:25 -07:00
* offset 975
*/
2021-11-30 18:00:42 -08:00
uint8_t multisparkMaxExtraSparkCount = (uint8_t)0;
/**
offset 976 bit 0 */
2021-11-19 20:16:43 -08:00
bool clutchUpPinInverted : 1 {};
/**
offset 976 bit 1 */
2021-11-19 20:16:43 -08:00
bool clutchDownPinInverted : 1 {};
/**
* If enabled we use two H-bridges to drive stepper idle air valve
offset 976 bit 2 */
2021-11-19 20:16:43 -08:00
bool useHbridgesToDriveIdleStepper : 1 {};
/**
offset 976 bit 3 */
2021-11-19 20:16:43 -08:00
bool multisparkEnable : 1 {};
/**
offset 976 bit 4 */
2021-11-19 20:16:43 -08:00
bool enableLaunchRetard : 1 {};
/**
offset 976 bit 5 */
2021-11-19 20:16:43 -08:00
bool unfinishedenableLaunchBoost : 1 {};
/**
offset 976 bit 6 */
2021-11-19 20:16:43 -08:00
bool unfinishedlaunchDisableBySpeed : 1 {};
/**
2021-08-09 13:12:40 -07:00
* Read VSS from OEM CAN bus according to selected CAN vehicle configuration.
offset 976 bit 7 */
2021-11-19 20:16:43 -08:00
bool enableCanVss : 1 {};
/**
offset 976 bit 8 */
2021-11-19 20:16:43 -08:00
bool enableInnovateLC2 : 1 {};
/**
offset 976 bit 9 */
2021-11-19 20:16:43 -08:00
bool showHumanReadableWarning : 1 {};
/**
2021-01-26 18:58:44 -08:00
* If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. Use of this mode is required if you have a narrowband O2 sensor.
offset 976 bit 10 */
2021-11-19 20:16:43 -08:00
bool stftIgnoreErrorMagnitude : 1 {};
/**
offset 976 bit 11 */
2021-11-19 20:16:43 -08:00
bool unused976b11 : 1 {};
/**
offset 976 bit 12 */
2021-11-19 20:16:43 -08:00
bool enableSoftwareKnock : 1 {};
/**
2020-08-29 14:03:44 -07:00
* enable vvt_details
offset 976 bit 13 */
2021-11-19 20:16:43 -08:00
bool verboseVVTDecoding : 1 {};
/**
2020-08-29 15:00:40 -07:00
* get invertCamVVTSignal
offset 976 bit 14 */
2021-11-19 20:16:43 -08:00
bool invertCamVVTSignal : 1 {};
/**
2020-09-03 20:29:50 -07:00
* This property is useful if using rusEFI as TCM or BCM only
2020-08-30 11:29:40 -07:00
* enable consumeObdSensors
offset 976 bit 15 */
2021-11-19 20:16:43 -08:00
bool consumeObdSensors : 1 {};
/**
offset 976 bit 16 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl1 : 1 {};
/**
offset 976 bit 17 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl2 : 1 {};
/**
offset 976 bit 18 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl3 : 1 {};
/**
offset 976 bit 19 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl4 : 1 {};
/**
offset 976 bit 20 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl5 : 1 {};
/**
offset 976 bit 21 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl6 : 1 {};
/**
offset 976 bit 22 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl7 : 1 {};
/**
offset 976 bit 23 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl8 : 1 {};
/**
offset 976 bit 24 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl9 : 1 {};
/**
offset 976 bit 25 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl10 : 1 {};
/**
offset 976 bit 26 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl11 : 1 {};
/**
offset 976 bit 27 */
2021-11-19 20:16:43 -08:00
bool knockBankCyl12 : 1 {};
/**
offset 976 bit 28 */
2021-11-19 20:16:43 -08:00
bool tcuEnabled : 1 {};
/**
offset 976 bit 29 */
2021-11-19 20:16:43 -08:00
bool unusedBit_251_29 : 1 {};
/**
offset 976 bit 30 */
2021-11-27 06:01:08 -08:00
bool unusedBit_300_30 : 1 {};
/**
offset 976 bit 31 */
2021-11-27 06:01:08 -08:00
bool unusedBit_300_31 : 1 {};
/**
* offset 980
*/
2020-11-16 16:45:34 -08:00
dc_io etbIo[ETB_COUNT];
/**
2020-09-05 20:38:02 -07:00
* Wastegate control Solenoid
* offset 988
*/
2020-01-31 11:23:15 -08:00
output_pin_e boostControlPin;
/**
* offset 989
*/
pin_output_mode_e boostControlPinMode;
/**
* offset 990
*/
2020-02-02 10:18:41 -08:00
switch_input_pin_e antiLagActivatePin;
/**
* offset 991
*/
switch_input_pin_e launchActivatePin;
2020-01-31 11:23:15 -08:00
/**
* offset 992
*/
pid_s boostPid;
/**
* offset 1012
*/
boostType_e boostType;
/**
2021-04-26 14:59:44 -07:00
Hz
2020-01-31 11:23:15 -08:00
* offset 1016
*/
2021-11-30 18:00:42 -08:00
int boostPwmFrequency = (int)0;
2020-01-31 11:23:15 -08:00
/**
* offset 1020
*/
2020-02-02 09:23:55 -08:00
launchActivationMode_e launchActivationMode;
/**
* offset 1024
*/
antiLagActivationMode_e antiLagActivationMode;
/**
* Disabled above this speed
2021-04-26 14:59:44 -07:00
Kph
2020-02-02 10:18:41 -08:00
* offset 1028
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int launchSpeedThreshold = (int)0;
2020-02-02 09:23:55 -08:00
/**
* Disabled below this rpm
2021-04-26 14:59:44 -07:00
RPM
2020-02-02 10:18:41 -08:00
* offset 1032
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int unusedLaunchRpmThreshold = (int)0;
2020-02-02 09:23:55 -08:00
/**
* Range from Launch Rpm for Timing Retard to activate
2021-04-26 14:59:44 -07:00
RPM
2020-02-02 10:18:41 -08:00
* offset 1036
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int launchTimingRpmRange = (int)0;
2020-02-02 09:23:55 -08:00
/**
* Extra Fuel Added
2021-04-26 14:59:44 -07:00
%
2020-02-02 10:18:41 -08:00
* offset 1040
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int launchFuelAdded = (int)0;
2020-02-02 09:23:55 -08:00
/**
* Duty Cycle for the Boost Solenoid
2021-04-26 14:59:44 -07:00
%
2020-02-02 10:18:41 -08:00
* offset 1044
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int launchBoostDuty = (int)0;
2020-02-02 09:23:55 -08:00
/**
* RPM Range for Hard Cut
2021-04-26 14:59:44 -07:00
rpm
2020-02-02 10:18:41 -08:00
* offset 1048
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int hardCutRpmRange = (int)0;
2020-02-02 09:23:55 -08:00
/**
2021-04-26 14:59:44 -07:00
rpm
2020-02-02 10:18:41 -08:00
* offset 1052
2020-02-02 09:23:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int launchAdvanceRpmRange = (int)0;
/**
2021-04-26 14:59:44 -07:00
rpm
* offset 1056
*/
2021-11-30 18:00:42 -08:00
int launchTpsTreshold = (int)0;
/**
2021-04-26 14:59:44 -07:00
rpm
* offset 1060
*/
2021-11-30 18:00:42 -08:00
float launchActivateDelay = (float)0;
/**
* offset 1064
*/
2020-04-13 06:23:13 -07:00
stft_s stft;
/**
* offset 1088
*/
2020-11-16 16:54:02 -08:00
dc_io stepperDcIo[DC_PER_STEPPER];
2020-05-02 15:38:22 -07:00
/**
2020-05-07 10:46:18 -07:00
* For example, BMW, GM or Chevrolet
* REQUIRED for rusEFI Online
2020-05-02 15:38:22 -07:00
* offset 1096
*/
2020-05-06 11:00:08 -07:00
vehicle_info_t engineMake;
2020-05-05 12:37:44 -07:00
/**
2020-05-07 10:46:18 -07:00
* For example, LS1 or NB2
* REQUIRED for rusEFI Online
2020-05-05 12:37:44 -07:00
* offset 1128
*/
2020-05-06 11:00:08 -07:00
vehicle_info_t engineCode;
/**
2020-05-07 10:46:18 -07:00
* For example, Hunchback or Orange Miata
* Vehicle name has to be unique between your vehicles.
* REQUIRED for rusEFI Online
2020-05-06 11:00:08 -07:00
* offset 1160
*/
2020-05-07 10:46:18 -07:00
vehicle_info_t vehicleName;
/**
* offset 1192
*/
2020-05-19 22:18:23 -07:00
output_pin_e tcu_solenoid[TCU_SOLENOID_COUNT];
2020-09-15 01:35:57 -07:00
/**
* offset 1198
*/
2020-10-08 11:14:09 -07:00
etb_function_e etbFunctions[ETB_COUNT];
2020-05-19 22:18:23 -07:00
/**
* offset 1200
*/
2020-09-07 07:49:54 -07:00
spi_device_e drv8860spiDevice;
/**
* offset 1201
*/
brain_pin_e drv8860_cs;
/**
* offset 1202
*/
pin_output_mode_e drv8860_csPinMode;
/**
* offset 1203
*/
brain_pin_e drv8860_miso;
/**
2021-04-26 14:59:44 -07:00
volt
2020-09-07 07:49:54 -07:00
* offset 1204
*/
2021-11-05 16:52:02 -07:00
scaled_channel<uint16_t, 1000, 1> fuelLevelBins[FUEL_LEVEL_TABLE_COUNT];
2021-03-19 05:41:10 -07:00
/**
* offset 1220
*/
2021-05-20 16:10:25 -07:00
output_pin_e luaOutputPins[LUA_PWM_COUNT];
2021-06-11 21:19:09 -07:00
/**
2021-07-03 08:33:11 -07:00
* Angle between cam sensor and VVT zero position
* set vvt_offset X
value
2021-06-12 04:28:45 -07:00
* offset 1228
2021-06-11 21:19:09 -07:00
*/
2021-07-03 08:33:11 -07:00
float vvtOffsets[CAM_INPUTS_COUNT];
/**
* offset 1244
*/
float vvtOffsetsPadding[CAM_INPUTS_COUNT_padding];
/**
* offset 1244
*/
2021-09-13 08:19:35 -07:00
vr_threshold_s vrThreshold[VR_THRESHOLD_COUNT];
2021-07-28 04:49:04 -07:00
/**
* offset 1276
*/
2021-09-26 20:24:16 -07:00
gppwm_note_t gpPwmNote[GPPWM_CHANNELS];
/**
units
* offset 1340
*/
int unusedAtOldBoardConfigurationEnd[29];
2020-11-25 10:21:44 -08:00
/**
2021-04-26 14:59:44 -07:00
kg
2020-11-25 10:21:44 -08:00
* offset 1456
*/
2021-11-30 18:00:42 -08:00
uint16_t vehicleWeight = (uint16_t)0;
2020-11-25 10:21:44 -08:00
/**
* offset 1458
*/
2021-02-07 05:48:13 -08:00
brain_pin_e lps25BaroSensorScl;
/**
* offset 1459
*/
brain_pin_e lps25BaroSensorSda;
2020-05-10 07:11:51 -07:00
/**
2021-04-26 14:59:44 -07:00
ADC
2020-05-10 07:11:51 -07:00
* offset 1460
*/
2021-11-30 18:00:42 -08:00
uint16_t tps2SecondaryMin = (uint16_t)0;
2020-05-10 07:11:51 -07:00
/**
2021-04-26 14:59:44 -07:00
ADC
2020-05-10 07:11:51 -07:00
* offset 1462
*/
2021-11-30 18:00:42 -08:00
uint16_t tps2SecondaryMax = (uint16_t)0;
/**
offset 1464 bit 0 */
2021-11-19 20:16:43 -08:00
bool unused1464b0 : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Enables lambda sensor closed loop feedback for fuelling.
offset 1464 bit 1 */
2021-11-19 20:16:43 -08:00
bool fuelClosedLoopCorrectionEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2018-06-15 17:45:06 -07:00
* Print details into rusEfi console
2020-11-29 21:14:11 -08:00
* enable verbose_idle
offset 1464 bit 2 */
2021-11-19 20:16:43 -08:00
bool isVerboseIAC : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Prints ETB details to rusEFI console
offset 1464 bit 3 */
2021-11-19 20:16:43 -08:00
bool isVerboseETB : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 4 */
2021-11-19 20:16:43 -08:00
bool unused1464b4 : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This options enables data for 'engine sniffer' tab in console, which comes at some CPU price
offset 1464 bit 5 */
2021-11-19 20:16:43 -08:00
bool isEngineChartEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Sometimes we have a performance issue while printing error
offset 1464 bit 6 */
2021-11-19 20:16:43 -08:00
bool silentTriggerError : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 7 */
2021-11-19 20:16:43 -08:00
bool useLinearCltSensor : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-03-31 13:49:19 -07:00
* enable can_read/disable can_read
offset 1464 bit 8 */
2021-11-19 20:16:43 -08:00
bool canReadEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-03-31 13:49:19 -07:00
* enable can_write/disable can_write
offset 1464 bit 9 */
2021-11-19 20:16:43 -08:00
bool canWriteEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 10 */
2021-11-19 20:16:43 -08:00
bool useLinearIatSensor : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 11 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere16 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-04-19 20:56:24 -07:00
* Treat milliseconds value as duty cycle value, i.e. 0.5ms would become 50%
offset 1464 bit 12 */
2021-11-19 20:16:43 -08:00
bool tachPulseDurationAsDutyCycle : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This enables smart alternator control and activates the extra alternator settings.
offset 1464 bit 13 */
2021-11-19 20:16:43 -08:00
bool isAlternatorControlEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This setting flips the signal from the primary engine speed sensor.
offset 1464 bit 14 */
2021-11-19 20:16:43 -08:00
bool invertPrimaryTriggerSignal : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This setting flips the signal from the secondary engine speed sensor.
offset 1464 bit 15 */
2021-11-19 20:16:43 -08:00
bool invertSecondaryTriggerSignal : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 16 */
2021-11-19 20:16:43 -08:00
bool cutFuelOnHardLimit : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 17 */
2021-11-19 20:16:43 -08:00
bool cutSparkOnHardLimit : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 18 */
2021-11-19 20:16:43 -08:00
bool launchFuelCutEnable : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-02-02 09:23:55 -08:00
* This is the Cut Mode normally used
offset 1464 bit 19 */
2021-11-19 20:16:43 -08:00
bool launchSparkCutEnable : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1464 bit 20 */
2021-11-19 20:16:43 -08:00
bool unused1464b20 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 21 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere1 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 22 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere2 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 23 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere3 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 24 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere4 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 25 */
2021-11-19 20:16:43 -08:00
bool unusedBitWasHere5 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1464 bit 26 */
2021-11-19 20:16:43 -08:00
bool unusedBitHere1 : 1 {};
2018-01-02 18:25:40 -08:00
/**
* Sometimes we just have to shut the engine down. Use carefully!
offset 1464 bit 27 */
2021-11-19 20:16:43 -08:00
bool useFSIO5ForCriticalIssueEngineStop : 1 {};
/**
* Sometimes we have to miss injection on purpose to attract driver's attention
offset 1464 bit 28 */
2021-11-19 20:16:43 -08:00
bool useFSIO4ForSeriousEngineWarning : 1 {};
/**
offset 1464 bit 29 */
2021-11-19 20:16:43 -08:00
bool unusedBitHere2 : 1 {};
/**
offset 1464 bit 30 */
2021-11-19 20:16:43 -08:00
bool unusedBitHere3 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1464 bit 31 */
2021-11-19 20:16:43 -08:00
bool unusedBitHere4 : 1 {};
2017-03-27 19:19:58 -07:00
/**
* offset 1468
2017-03-27 19:19:58 -07:00
*/
adc_channel_e hipOutputChannel;
/**
2021-05-27 05:25:55 -07:00
* A/C button input
* offset 1469
*/
2020-09-10 19:18:18 -07:00
switch_input_pin_e acSwitch;
/**
* offset 1470
*/
adc_channel_e vRefAdcChannel;
/**
* Expected neutral position
2021-04-26 14:59:44 -07:00
%
* offset 1471
*/
2021-11-30 18:00:42 -08:00
uint8_t etbNeutralPosition = (uint8_t)0;
/**
2019-04-04 18:45:18 -07:00
* See also idleRpmPid
* offset 1472
2017-03-27 19:19:58 -07:00
*/
idle_mode_e idleMode;
/**
* Enable fuel injection - This is default off for new projects as a safety feature, set to "true" to enable fuel injection and further injector settings.
offset 1476 bit 0 */
2021-11-19 20:16:43 -08:00
bool isInjectionEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Enable ignition - This is default off for new projects as a safety feature, set to "true" to enable ignition and further ignition settings.
offset 1476 bit 1 */
2021-11-19 20:16:43 -08:00
bool isIgnitionEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2019-06-13 11:56:13 -07:00
* When enabled if TPS is held above 95% no fuel is injected while cranking to clear excess fuel from the cylinders.
offset 1476 bit 2 */
2021-11-19 20:16:43 -08:00
bool isCylinderCleanupEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1476 bit 3 */
2021-11-19 20:16:43 -08:00
bool unused1476b3 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1476 bit 4 */
2021-11-19 20:16:43 -08:00
bool unusedBit4_1476 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1476 bit 5 */
2021-11-19 20:16:43 -08:00
bool isMapAveragingEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-05-31 01:21:59 -07:00
* If enabled, use separate temperature multiplier table for cranking idle position.
* If disabled, use normal running multiplier table applied to the cranking base position.
offset 1476 bit 6 */
2021-11-19 20:16:43 -08:00
bool overrideCrankingIacSetting : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This activates a separate ignition timing table for idle conditions, this can help idle stability by using ignition retard and advance either side of the desired idle speed. Extra retard at low idle speeds will prevent stalling and extra advance at high idle speeds can help reduce engine power and slow the idle speed.
offset 1476 bit 7 */
2021-11-19 20:16:43 -08:00
bool useSeparateAdvanceForIdle : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1476 bit 8 */
2021-11-19 20:16:43 -08:00
bool unused1476b8 : 1 {};
2017-03-27 19:19:58 -07:00
/**
offset 1476 bit 9 */
2021-11-19 20:16:43 -08:00
bool isWaveAnalyzerEnabled : 1 {};
2017-03-27 19:19:58 -07:00
/**
* This activates a separate fuel table for Idle, this allows fine tuning of the idle fuelling.
offset 1476 bit 10 */
2021-11-19 20:16:43 -08:00
bool useSeparateVeForIdle : 1 {};
2017-03-27 19:19:58 -07:00
/**
* enable trigger_details
offset 1476 bit 11 */
2021-11-19 20:16:43 -08:00
bool verboseTriggerSynchDetails : 1 {};
2017-03-27 19:19:58 -07:00
/**
* Usually if we have no trigger events that means engine is stopped
* Unless we are troubleshooting and spinning the engine by hand - this case a longer
* delay is needed
offset 1476 bit 12 */
2021-11-19 20:16:43 -08:00
bool isManualSpinningMode : 1 {};
2017-03-27 19:19:58 -07:00
/**
2019-06-13 11:56:13 -07:00
* This is needed if your coils are individually wired and you wish to use batch injection.
2017-03-27 19:19:58 -07:00
* enable two_wire_batch_injection
offset 1476 bit 13 */
2021-11-19 20:16:43 -08:00
bool twoWireBatchInjection : 1 {};
2017-03-27 19:19:58 -07:00
/**
* VR sensors are only precise on rising front
* enable trigger_only_front
offset 1476 bit 14 */
2021-11-19 20:16:43 -08:00
bool useOnlyRisingEdgeForTrigger : 1 {};
2017-03-27 19:19:58 -07:00
/**
2020-07-28 06:12:43 -07:00
* This is needed if your coils are individually wired (COP) and you wish to use batch ignition (Wasted Spark).
offset 1476 bit 15 */
2021-11-19 20:16:43 -08:00
bool twoWireBatchIgnition : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1476 bit 16 */
2021-11-19 20:16:43 -08:00
bool useFixedBaroCorrFromMap : 1 {};
2018-01-02 18:25:40 -08:00
/**
2021-05-31 01:21:59 -07:00
* In Constant mode, timing is automatically tapered to running as RPM increases.
* In Table mode, the "Cranking ignition advance" table is used directly.
offset 1476 bit 17 */
2021-11-19 20:16:43 -08:00
bool useSeparateAdvanceForCranking : 1 {};
2018-01-02 18:25:40 -08:00
/**
* This enables the various ignition corrections during cranking (IAT, CLT, FSIO and PID idle).
2021-05-31 01:21:59 -07:00
* You probably don't need this.
offset 1476 bit 18 */
2021-11-19 20:16:43 -08:00
bool useAdvanceCorrectionsForCranking : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1476 bit 19 */
2021-11-19 20:16:43 -08:00
bool unused1476b19 : 1 {};
2018-01-02 18:25:40 -08:00
/**
offset 1476 bit 20 */
2021-11-19 20:16:43 -08:00
bool unused1476b20 : 1 {};
2018-01-02 18:25:40 -08:00
/**
2019-12-03 21:38:40 -08:00
* This flag allows to use a special 'PID Multiplier' table (0.0-1.0) to compensate for nonlinear nature of IAC-RPM controller
offset 1476 bit 21 */
2021-11-19 20:16:43 -08:00
bool useIacPidMultTable : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 22 */
2021-11-19 20:16:43 -08:00
bool isBoostControlEnabled : 1 {};
2019-09-29 11:00:04 -07:00
/**
2020-02-02 09:23:55 -08:00
* Interpolates the Ignition Retard from 0 to 100% within the RPM Range
2019-09-29 11:00:04 -07:00
offset 1476 bit 23 */
2021-11-19 20:16:43 -08:00
bool launchSmoothRetard : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 24 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_24 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 25 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_25 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 26 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_26 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 27 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_27 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 28 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_28 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 29 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_29 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 30 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_30 : 1 {};
2019-09-29 11:00:04 -07:00
/**
offset 1476 bit 31 */
2021-11-19 20:16:43 -08:00
bool unused_1484_bit_31 : 1 {};
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
count
* offset 1480
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint32_t engineChartSize = (uint32_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-05-21 12:28:41 -07:00
* How far above idle speed do we consider idling?
* For example, if target = 800, this param = 200, then anything below 1000 RPM is considered idle.
2021-04-26 14:59:44 -07:00
RPM
* offset 1484
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t idlePidRpmUpperLimit = (int16_t)0;
2017-12-26 21:26:40 -08:00
/**
* This sets the temperature above which no priming pulse is used, The value at -40 is reduced until there is no more priming injection at this temperature.
2021-04-26 14:59:44 -07:00
*C
* offset 1486
2017-12-26 21:26:40 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t primeInjFalloffTemperature = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-07-27 14:37:24 -07:00
mult
* offset 1488
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float turboSpeedSensorMultiplier = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 1492
2017-03-27 19:19:58 -07:00
*/
2021-07-13 11:37:37 -07:00
brain_pin_e camInputsDebug[CAM_INPUTS_COUNT];
2017-03-27 19:19:58 -07:00
/**
2021-07-13 11:37:37 -07:00
* offset 1496
2017-03-27 19:19:58 -07:00
*/
2021-07-13 11:37:37 -07:00
uint8_t camInputsDebugPadding[CAM_INPUTS_COUNT_padding];
2017-03-27 19:19:58 -07:00
/**
2021-06-15 14:32:56 -07:00
* Extra idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling.
2021-04-26 14:59:44 -07:00
RPM
* offset 1496
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t acIdleRpmBump = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
* set warningPeriod X
2021-04-26 14:59:44 -07:00
seconds
* offset 1498
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t warningPeriod = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
angle
* offset 1500
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float knockDetectionWindowStart = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
angle
* offset 1504
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float knockDetectionWindowEnd = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
ms
* offset 1508
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float idleStepperReactionTime = (float)0;
2017-03-27 19:19:58 -07:00
/**
* offset 1512
2017-03-27 19:19:58 -07:00
*/
2021-11-14 07:53:06 -08:00
uint8_t unused20Inputs[20];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
count
2021-11-14 06:40:23 -08:00
* offset 1532
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int idleStepperTotalSteps = (int)0;
2017-03-27 19:19:58 -07:00
/**
2017-05-12 13:28:56 -07:00
* TODO: finish this #413
2021-04-26 14:59:44 -07:00
sec
2021-11-14 06:40:23 -08:00
* offset 1536
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float noAccelAfterHardLimitPeriodSecs = (float)0;
2017-03-27 19:19:58 -07:00
/**
* At what trigger index should some MAP-related math be executed? This is a performance trick to reduce load on synchronization trigger callback.
2021-04-26 14:59:44 -07:00
index
2021-11-14 06:40:23 -08:00
* offset 1540
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int mapAveragingSchedulingAtIndex = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
kPa
2021-11-14 06:40:23 -08:00
* offset 1544
2017-03-27 19:19:58 -07:00
*/
2015-07-10 06:01:56 -07:00
float baroCorrPressureBins[BARO_CORR_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 1560
2017-03-27 19:19:58 -07:00
*/
2015-07-10 06:01:56 -07:00
float baroCorrRpmBins[BARO_CORR_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-11-05 19:01:07 -07:00
ratio
2021-11-14 06:40:23 -08:00
* offset 1576
2017-03-27 19:19:58 -07:00
*/
2021-11-05 19:01:07 -07:00
float baroCorrTable[BARO_CORR_SIZE][BARO_CORR_SIZE];
2017-03-27 19:19:58 -07:00
/**
* Cranking fuel correction coefficient based on TPS
2021-04-26 14:59:44 -07:00
Ratio
2021-11-14 06:40:23 -08:00
* offset 1640
2017-03-27 19:19:58 -07:00
*/
2015-08-18 11:03:02 -07:00
float crankingTpsCoef[CRANKING_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 1672
2017-03-27 19:19:58 -07:00
*/
2015-08-18 11:03:02 -07:00
float crankingTpsBins[CRANKING_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-07-13 12:19:10 -07:00
* Duration in ms or duty cycle depending on selected mode
2021-11-14 06:40:23 -08:00
* offset 1704
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float tachPulseDuractionMs = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-06-27 15:54:02 -07:00
* Above this RPM, disable AC. Set to 0 to disable check.
rpm
2021-11-14 06:40:23 -08:00
* offset 1708
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t maxAcRpm = (uint16_t)0;
2021-06-27 15:54:02 -07:00
/**
* Above this TPS, disable AC. Set to 0 to disable check.
%
2021-11-14 06:40:23 -08:00
* offset 1710
2021-06-27 15:54:02 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t maxAcTps = (uint8_t)0;
2021-06-27 15:54:02 -07:00
/**
* Above this CLT, disable AC to prevent overheating the engine. Set to 0 to disable check.
deg C
2021-11-14 06:40:23 -08:00
* offset 1711
2021-06-27 15:54:02 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t maxAcClt = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-11-06 19:14:13 -07:00
* Length of time the deposited wall fuel takes to dissipate after the start of acceleration.
2021-04-26 14:59:44 -07:00
Seconds
2021-11-14 06:40:23 -08:00
* offset 1712
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float wwaeTau = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 1716
2017-03-27 19:19:58 -07:00
*/
pid_s alternatorControl;
2017-03-27 19:19:58 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 1736
2017-03-27 19:19:58 -07:00
*/
pid_s etb;
2017-03-27 19:19:58 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 1756
2017-03-27 19:19:58 -07:00
*/
2021-07-13 11:37:37 -07:00
brain_pin_e triggerInputDebugPins[TRIGGER_INPUT_PIN_COUNT];
/**
2021-11-14 06:40:23 -08:00
* offset 1759
2021-07-13 11:37:37 -07:00
*/
2021-07-27 14:37:24 -07:00
brain_input_pin_e turboSpeedSensorInputPin;
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 1760
*/
2021-11-30 18:00:42 -08:00
float unused1760 = (float)0;
2019-10-23 18:41:30 -07:00
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 1764
2019-10-23 18:41:30 -07:00
*/
2021-11-30 18:00:42 -08:00
float unused1764 = (float)0;
2019-10-23 18:41:30 -07:00
/**
2019-12-07 21:37:33 -08:00
* Closed throttle#2. todo: extract these two fields into a structure
* See also tps2_1AdcChannel
* set tps2_min X
2021-04-26 14:59:44 -07:00
ADC
2021-11-14 06:40:23 -08:00
* offset 1768
2019-10-23 18:41:30 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tps2Min = (int16_t)0;
2019-12-07 21:37:33 -08:00
/**
* Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!
* See also tps1_1AdcChannel
* set tps2_max X
2021-04-26 14:59:44 -07:00
ADC
2021-11-14 06:40:23 -08:00
* offset 1770
2019-12-07 21:37:33 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t tps2Max = (int16_t)0;
2019-12-07 21:37:33 -08:00
/**
2020-03-24 21:58:59 -07:00
* See also startStopButtonPin
2021-11-14 06:40:23 -08:00
* offset 1772
2019-12-07 21:37:33 -08:00
*/
2020-03-18 12:56:17 -07:00
output_pin_e starterControlPin;
/**
2021-11-14 06:40:23 -08:00
* offset 1773
2020-03-18 12:56:17 -07:00
*/
2020-03-20 17:45:35 -07:00
pin_input_mode_e startStopButtonMode;
/**
2021-11-14 06:40:23 -08:00
* offset 1774
2020-03-20 17:45:35 -07:00
*/
2020-04-13 16:01:22 -07:00
brain_pin_e mc33816_flag0;
2019-12-29 22:41:23 -08:00
/**
2021-04-26 14:59:44 -07:00
Pulse
2021-11-14 06:40:23 -08:00
* offset 1775
2019-12-29 22:41:23 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t tachPulsePerRev = (uint8_t)0;
2017-03-27 19:19:58 -07:00
/**
* kPa value which is too low to be true
2021-04-26 14:59:44 -07:00
kPa
2021-11-14 06:40:23 -08:00
* offset 1776
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float mapErrorDetectionTooLow = (float)0;
2017-03-27 19:19:58 -07:00
/**
* kPa value which is too high to be true
2021-04-26 14:59:44 -07:00
kPa
2021-11-14 06:40:23 -08:00
* offset 1780
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float mapErrorDetectionTooHigh = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-03-28 05:41:23 -07:00
* How long to wait for the spark to fire before recharging the coil for another spark.
2021-04-26 14:59:44 -07:00
ms
2021-11-14 06:40:23 -08:00
* offset 1784
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t multisparkSparkDuration = (uint16_t)0;
2020-03-14 06:18:25 -07:00
/**
2021-03-28 05:41:23 -07:00
* This sets the dwell time for subsequent sparks. The main spark's dwell is set by the dwell table.
2021-04-26 14:59:44 -07:00
ms
2021-11-14 06:40:23 -08:00
* offset 1786
2020-03-14 06:18:25 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t multisparkDwell = (uint16_t)0;
2017-03-27 19:19:58 -07:00
/**
2018-01-07 09:11:49 -08:00
* See cltIdleRpmBins
2021-11-14 06:40:23 -08:00
* offset 1788
2017-03-27 19:19:58 -07:00
*/
pid_s idleRpmPid;
/**
2021-11-06 19:14:13 -07:00
* 0 = No fuel settling on port walls 1 = All the fuel settling on port walls setting this to 0 disables the wall wetting enrichment.
2021-04-26 14:59:44 -07:00
Fraction
2021-11-14 06:40:23 -08:00
* offset 1808
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float wwaeBeta = (float)0;
2017-03-27 19:19:58 -07:00
/**
2020-05-09 15:59:03 -07:00
* blue LED on many rusEFI boards.
* Blue Communication LED which is expected to blink at 50% duty cycle during normal board operation.
* If USB communication cable is connected Blue LED starts to blink faster.
2021-11-14 06:40:23 -08:00
* offset 1812
2017-03-27 19:19:58 -07:00
*/
2018-07-26 12:51:06 -07:00
brain_pin_e communicationLedPin;
2017-03-27 19:19:58 -07:00
/**
2020-05-09 15:59:03 -07:00
* Green LED on many rusEFI boards.
* Off if engine is stopped, blinks if engine is cranking, solid if engine is running.
2021-11-14 06:40:23 -08:00
* offset 1813
2017-03-27 19:19:58 -07:00
*/
2018-07-26 12:51:06 -07:00
brain_pin_e runningLedPin;
2017-03-27 19:19:58 -07:00
/**
2020-05-02 21:11:27 -07:00
* See also EFI_CONSOLE_RX_BRAIN_PIN
2021-11-14 06:40:23 -08:00
* offset 1814
2017-03-27 19:19:58 -07:00
*/
brain_pin_e binarySerialTxPin;
/**
2021-11-14 06:40:23 -08:00
* offset 1815
2017-03-27 19:19:58 -07:00
*/
brain_pin_e binarySerialRxPin;
/**
2021-11-14 06:40:23 -08:00
* offset 1816
*/
brain_pin_e auxValves[AUX_DIGITAL_VALVE_COUNT];
2017-03-27 19:19:58 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 1818
2017-03-27 19:19:58 -07:00
*/
2021-06-12 04:03:20 -07:00
switch_input_pin_e tcuUpshiftButtonPin;
/**
2021-11-14 06:40:23 -08:00
* offset 1819
2021-06-12 04:03:20 -07:00
*/
switch_input_pin_e tcuDownshiftButtonPin;
2017-03-27 19:19:58 -07:00
/**
* Knock sensor output knock detection threshold depending on current RPM
2021-04-26 14:59:44 -07:00
v
2021-11-14 06:40:23 -08:00
* offset 1820
2017-03-27 19:19:58 -07:00
*/
2016-01-01 15:01:46 -08:00
float knockNoise[ENGINE_NOISE_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 1852
2017-03-27 19:19:58 -07:00
*/
2016-01-01 15:01:46 -08:00
float knockNoiseRpmBins[ENGINE_NOISE_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
voltage
2021-11-14 06:40:23 -08:00
* offset 1884
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float throttlePedalUpVoltage = (float)0;
/**
* Pedal in the floor
2021-04-26 14:59:44 -07:00
voltage
2021-11-14 06:40:23 -08:00
* offset 1888
*/
2021-11-30 18:00:42 -08:00
float throttlePedalWOTVoltage = (float)0;
2017-06-13 07:40:16 -07:00
/**
* on ECU start turn fuel pump on to build fuel pressure
2021-04-26 14:59:44 -07:00
seconds
2021-11-14 06:40:23 -08:00
* offset 1892
2017-06-13 07:40:16 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t startUpFuelPumpDuration = (int16_t)0;
/**
2021-05-21 12:28:41 -07:00
* If the RPM closer to target than this value, disable closed loop idle correction to prevent oscillation
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 1894
*/
2021-11-30 18:00:42 -08:00
int16_t idlePidRpmDeadZone = (int16_t)0;
2017-03-27 19:19:58 -07:00
/**
* CLT-based target RPM for automatic idle controller
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 1896
2017-03-27 19:19:58 -07:00
*/
2015-11-18 18:02:51 -08:00
float cltIdleRpmBins[CLT_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2018-01-07 09:11:49 -08:00
* See idleRpmPid
2021-11-14 06:40:23 -08:00
* offset 1960
2017-03-27 19:19:58 -07:00
*/
2015-11-18 16:01:34 -08:00
float cltIdleRpm[CLT_CURVE_SIZE];
2017-03-27 19:19:58 -07:00
/**
2019-07-11 18:14:02 -07:00
* This is the target battery voltage the alternator PID control will attempt to maintain
2021-04-26 14:59:44 -07:00
Volts
2021-11-14 06:40:23 -08:00
* offset 2024
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float targetVBatt = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Turns off alternator output above specified TPS, enabling this reduced parasitic drag on the engine at full load.
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 2028
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float alternatorOffAboveTps = (float)0;
2017-03-27 19:19:58 -07:00
/**
2019-03-21 17:26:14 -07:00
* Prime pulse for cold engine, duration in ms
* Linear interpolation between -40F/-40C and fallout temperature
*
* See also isFasterEngineSpinUpEnabled
2018-03-04 20:21:43 -08:00
* set cranking_priming_pulse X
2021-04-26 14:59:44 -07:00
ms
2021-11-14 06:40:23 -08:00
* offset 2032
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float startOfCrankingPrimingPulse = (float)0;
2017-07-15 12:36:49 -07:00
/**
* This is the duration in cycles that the IAC will take to reach its normal idle position, it can be used to hold the idle higher for a few seconds after cranking to improve startup.
2021-04-26 14:59:44 -07:00
cycles
2021-11-14 06:40:23 -08:00
* offset 2036
2017-07-15 12:36:49 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t afterCrankingIACtaperDuration = (int16_t)0;
2017-07-31 12:35:12 -07:00
/**
* Extra IAC, in percent between 0 and 100, tapered between zero and idle deactivation TPS value
2021-04-26 14:59:44 -07:00
percent
2021-11-14 06:40:23 -08:00
* offset 2038
2017-07-31 12:35:12 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t iacByTpsTaper = (int16_t)0;
/**
2021-11-11 15:37:47 -08:00
* Auxiliary sensor serial, not to be confused with secondary calibration serial
2020-04-19 12:47:29 -07:00
* set_aux_tx_pin X
2021-11-14 06:40:23 -08:00
* offset 2040
*/
2020-04-19 12:47:29 -07:00
brain_pin_e auxSerialTxPin;
/**
2021-11-14 06:40:23 -08:00
* offset 2041
*/
brain_pin_e warningLedPin;
/**
2021-11-11 15:37:47 -08:00
* Auxiliary sensor serial, not to be confused with secondary calibration serial
2020-04-19 12:47:29 -07:00
* set_aux_rx_pin X
2021-11-14 06:40:23 -08:00
* offset 2042
*/
2020-04-19 12:47:29 -07:00
brain_pin_e auxSerialRxPin;
/**
2021-11-14 06:40:23 -08:00
* offset 2043
*/
2017-08-16 23:32:06 -07:00
brain_pin_e LIS302DLCsPin;
/**
2021-11-06 19:14:13 -07:00
* This is the number of engine cycles that the TPS position change can occur over, a longer duration will make the enrichment more active but too long may affect steady state driving, a good default is 30-60 cycles.
2021-04-26 14:59:44 -07:00
cycles
2021-11-14 06:40:23 -08:00
* offset 2044
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int tpsAccelLength = (int)0;
2017-03-27 19:19:58 -07:00
/**
2019-07-11 18:14:02 -07:00
* Maximum change delta of TPS percentage over the 'length'. Actual TPS change has to be above this value in order for TPS/TPS acceleration to kick in.
2021-04-26 14:59:44 -07:00
roc
2021-11-14 06:40:23 -08:00
* offset 2048
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float tpsAccelEnrichmentThreshold = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-07-03 09:12:21 -07:00
v
2021-11-14 06:40:23 -08:00
* offset 2052
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedVvtOffsetWasHere = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
cycles
2021-11-14 06:40:23 -08:00
* offset 2056
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
int engineLoadAccelLength = (int)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
roc
2021-11-14 06:40:23 -08:00
* offset 2060
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedEL1 = (float)0;
2021-10-16 19:38:42 -07:00
/**
coeff
2021-11-14 06:40:23 -08:00
* offset 2064
2021-10-16 19:38:42 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedEL2 = (float)0;
2021-10-16 19:38:42 -07:00
/**
roc
2021-11-14 06:40:23 -08:00
* offset 2068
2021-10-16 19:38:42 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedEL3 = (float)0;
2021-10-16 19:38:42 -07:00
/**
coeff
2021-11-14 06:40:23 -08:00
* offset 2072
2021-10-16 19:38:42 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedEL4 = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-10-16 18:29:33 -07:00
* Band rate for primary TTL
BPs
2021-11-14 06:40:23 -08:00
* offset 2076
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint32_t uartConsoleSerialSpeed = (uint32_t)0;
2017-03-27 19:19:58 -07:00
/**
2021-10-30 19:08:31 -07:00
* For decel we simply multiply delta of TPS and tFor decel we do not use table?!
2021-04-26 14:59:44 -07:00
roc
2021-11-14 06:40:23 -08:00
* offset 2080
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float tpsDecelEnleanmentThreshold = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-10-30 19:08:31 -07:00
* Magic multiplier, we multiply delta of TPS and get fuel squirt duration
2021-04-26 14:59:44 -07:00
coeff
2021-11-14 06:40:23 -08:00
* offset 2084
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float tpsDecelEnleanmentMultiplier = (float)0;
2017-03-27 19:19:58 -07:00
/**
* ExpAverage alpha coefficient
2021-04-26 14:59:44 -07:00
coeff
2021-11-14 06:40:23 -08:00
* offset 2088
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float slowAdcAlpha = (float)0;
2017-03-27 19:19:58 -07:00
/**
2019-04-20 11:54:16 -07:00
* See http://rusefi.com/s/debugmode
*
2017-06-07 20:12:04 -07:00
* set debug_mode X
2021-11-14 06:40:23 -08:00
* offset 2092
2017-03-27 19:19:58 -07:00
*/
debug_mode_e debugMode;
/**
2021-04-26 14:59:44 -07:00
BPs
2021-11-14 06:40:23 -08:00
* offset 2096
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
uint32_t auxSerialSpeed = (uint32_t)0;
2020-04-19 12:47:29 -07:00
/**
2021-04-26 14:59:44 -07:00
voltage
2021-11-14 06:40:23 -08:00
* offset 2100
2020-04-19 12:47:29 -07:00
*/
2021-11-30 18:00:42 -08:00
float throttlePedalSecondaryUpVoltage = (float)0;
2020-05-23 07:55:42 -07:00
/**
* Pedal in the floor
2021-04-26 14:59:44 -07:00
voltage
2021-11-14 06:40:23 -08:00
* offset 2104
2020-05-23 07:55:42 -07:00
*/
2021-11-30 18:00:42 -08:00
float throttlePedalSecondaryWOTVoltage = (float)0;
2020-05-23 07:55:42 -07:00
/**
2021-11-06 19:14:13 -07:00
* set can_baudrate
2021-11-14 06:40:23 -08:00
* offset 2108
2020-05-23 07:55:42 -07:00
*/
2020-06-14 14:01:05 -07:00
can_baudrate_e canBaudRate;
/**
2020-09-07 07:17:40 -07:00
* Override the Y axis (load) value used for the VE table.
* Advanced users only: If you aren't sure you need this, you probably don't need this.
2021-11-14 06:40:23 -08:00
* offset 2109
2020-06-14 14:01:05 -07:00
*/
2020-09-07 07:17:40 -07:00
ve_override_e veOverrideMode;
2020-08-02 10:46:08 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 2110
2020-08-02 10:46:08 -07:00
*/
can_baudrate_e can2BaudRate;
2020-06-14 14:01:05 -07:00
/**
2020-09-07 07:17:40 -07:00
* Override the Y axis (load) value used for the AFR table.
* Advanced users only: If you aren't sure you need this, you probably don't need this.
2021-11-14 06:40:23 -08:00
* offset 2111
2020-08-02 10:46:08 -07:00
*/
2020-09-07 07:17:40 -07:00
afr_override_e afrOverrideMode;
2020-08-02 10:46:08 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 2112
2020-08-05 04:59:46 -07:00
*/
2021-11-30 18:00:42 -08:00
uint32_t verboseCan2BaseAddress = (uint32_t)0;
2020-08-05 04:59:46 -07:00
/**
* CAN broadcast using custom rusEFI protocol
* enable can_broadcast/disable can_broadcast
2021-11-14 06:40:23 -08:00
offset 2116 bit 0 */
2021-11-19 20:16:43 -08:00
bool enableVerboseCan2Tx : 1 {};
2020-08-05 04:59:46 -07:00
/**
* enable can_read/disable can_read
2021-11-14 06:40:23 -08:00
offset 2116 bit 1 */
2021-11-19 20:16:43 -08:00
bool can2ReadEnabled : 1 {};
2020-08-05 04:59:46 -07:00
/**
* enable can_write/disable can_write
2021-11-14 06:40:23 -08:00
offset 2116 bit 2 */
2021-11-19 20:16:43 -08:00
bool can2WriteEnabled : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-10-06 11:01:16 -07:00
* Enable if DC-motor driver (H-bridge) inverts the signals (eg. RZ7899 on Hellen boards)
2021-11-14 06:40:23 -08:00
offset 2116 bit 3 */
2021-11-19 20:16:43 -08:00
bool stepperDcInvertedPins : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 4 */
2021-11-19 20:16:43 -08:00
bool unused1127 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 5 */
2021-11-19 20:16:43 -08:00
bool unused1128 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 6 */
2021-11-19 20:16:43 -08:00
bool unused1129 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 7 */
2021-11-19 20:16:43 -08:00
bool unused1130 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 8 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_8 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 9 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_9 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 10 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_10 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 11 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_11 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 12 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_12 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 13 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_13 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 14 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_14 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 15 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_15 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 16 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_16 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 17 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_17 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 18 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_18 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 19 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_19 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 20 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_20 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 21 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_21 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 22 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_22 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 23 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_23 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 24 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_24 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 25 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_25 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 26 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_26 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 27 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_27 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 28 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_28 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 29 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_29 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 30 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_30 : 1 {};
2020-08-05 04:59:46 -07:00
/**
2021-11-14 06:40:23 -08:00
offset 2116 bit 31 */
2021-11-27 06:01:08 -08:00
bool unusedBit_509_31 : 1 {};
2020-08-05 04:59:46 -07:00
/**
* set can_mode X
2021-11-14 06:40:23 -08:00
* offset 2120
2020-08-05 04:59:46 -07:00
*/
can_nbc_e can2NbcType;
/**
* set_can2_tx_pin X
2021-11-14 06:40:23 -08:00
* offset 2124
2020-08-05 04:59:46 -07:00
*/
brain_pin_e can2TxPin;
/**
* set_can2_rx_pin X
2021-11-14 06:40:23 -08:00
* offset 2125
2020-08-05 04:59:46 -07:00
*/
brain_pin_e can2RxPin;
/**
2021-11-14 06:40:23 -08:00
* offset 2126
2020-06-14 14:01:05 -07:00
*/
2020-09-08 23:44:30 -07:00
pin_output_mode_e starterControlPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2127
2020-09-08 23:44:30 -07:00
*/
2020-09-18 00:05:55 -07:00
adc_channel_e wastegatePositionSensor;
/**
2020-10-09 14:19:04 -07:00
* Override the Y axis (load) value used for the ignition table.
* Advanced users only: If you aren't sure you need this, you probably don't need this.
2021-11-14 06:40:23 -08:00
* offset 2128
2020-09-18 00:05:55 -07:00
*/
2020-10-09 14:19:04 -07:00
afr_override_e ignOverrideMode;
/**
2020-10-23 12:48:01 -07:00
* Select which fuel pressure sensor measures the pressure of the fuel at your injectors.
2021-11-14 06:40:23 -08:00
* offset 2129
2020-10-09 14:19:04 -07:00
*/
2020-10-23 12:48:01 -07:00
injector_pressure_type_e injectorPressureType;
/**
2021-11-14 06:40:23 -08:00
* offset 2130
2020-10-23 12:48:01 -07:00
*/
2020-11-15 14:33:48 -08:00
output_pin_e hpfpValvePin;
2020-11-03 07:53:22 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2131
2020-11-03 07:53:22 -08:00
*/
pin_output_mode_e hpfpValvePinMode;
2017-03-27 19:19:58 -07:00
/**
2020-09-28 11:47:21 -07:00
* MAP value above which fuel is cut in case of overboost.
2021-01-27 17:33:00 -08:00
* Set to 0 to disable overboost cut.
2021-04-26 14:59:44 -07:00
kPa (absolute)
2021-11-14 06:40:23 -08:00
* offset 2132
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float boostCutPressure = (float)0;
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
counter
2021-11-14 06:40:23 -08:00
* offset 2136
2017-03-27 19:19:58 -07:00
*/
2016-03-12 07:01:55 -08:00
float mapAccelTaperBins[MAP_ACCEL_TAPER];
2017-03-27 19:19:58 -07:00
/**
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2168
2017-03-27 19:19:58 -07:00
*/
2016-03-12 07:01:55 -08:00
float mapAccelTaperMult[MAP_ACCEL_TAPER];
2017-03-27 19:19:58 -07:00
/**
2021-10-19 16:54:00 -07:00
* EGO value correction
value
2021-11-14 06:40:23 -08:00
* offset 2200
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float unusedAnotherOneOfThose = (float)0;
2017-03-27 19:19:58 -07:00
/**
* Fixed timing, useful for TDC testing
2021-04-26 14:59:44 -07:00
deg
2021-11-14 06:40:23 -08:00
* offset 2204
2017-03-27 19:19:58 -07:00
*/
2021-11-30 18:00:42 -08:00
float fixedTiming = (float)0;
2018-11-29 21:17:55 -08:00
/**
* MAP voltage for low point
2021-04-26 14:59:44 -07:00
v
2021-11-14 06:40:23 -08:00
* offset 2208
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float mapLowValueVoltage = (float)0;
2018-11-29 21:17:55 -08:00
/**
* MAP voltage for low point
2021-04-26 14:59:44 -07:00
v
2021-11-14 06:40:23 -08:00
* offset 2212
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float mapHighValueVoltage = (float)0;
2018-11-29 21:17:55 -08:00
/**
* EGO value correction
2021-04-26 14:59:44 -07:00
value
2021-11-14 06:40:23 -08:00
* offset 2216
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float egoValueShift = (float)0;
/**
2021-11-14 06:40:23 -08:00
* offset 2220
*/
2021-10-28 21:20:12 -07:00
output_pin_e vvtPins[CAM_INPUTS_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2224
2018-11-29 21:17:55 -08:00
*/
spi_device_e cj125SpiDevice;
/**
2021-11-14 06:40:23 -08:00
* offset 2225
*/
pin_output_mode_e cj125CsPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2226
*/
2020-09-27 04:38:53 -07:00
pin_output_mode_e sdCardCsPinMode;
/**
2020-09-09 13:54:16 -07:00
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2227
*/
2021-11-14 06:40:23 -08:00
uint8_t alignmentFill_at_2227[1];
2018-11-29 21:17:55 -08:00
/**
* This is the IAC position during cranking, some engines start better if given more air during cranking to improve cylinder filling.
2021-04-26 14:59:44 -07:00
percent
2021-11-14 06:40:23 -08:00
* offset 2228
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int crankingIACposition = (int)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2232
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeMinRpmMinTps = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2236
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeMinRpmMaxTps = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2240
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeMaxRpmMinTps = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2244
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeMaxRpmMaxTps = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2248
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
pwm_freq_t vvtOutputFrequency[CAMS_PER_BANK];
2021-02-10 17:23:22 -08:00
/**
2021-05-31 15:02:57 -07:00
* Additional idle % when fan #1 is active
%
2021-11-14 06:40:23 -08:00
* offset 2252
2021-02-10 17:23:22 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t fan1ExtraIdle = (uint8_t)0;
2021-02-10 17:23:22 -08:00
/**
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2253
2021-02-10 17:23:22 -08:00
*/
2021-11-14 06:40:23 -08:00
uint8_t alignmentFill_at_2253[3];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Hz
2021-11-14 06:40:23 -08:00
* offset 2256
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int alternatorPwmFrequency = (int)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2260
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int unused2260 = (int)0;
2018-11-29 21:17:55 -08:00
/**
* Narrow Band WBO Approximation
2021-04-26 14:59:44 -07:00
V
2021-11-14 06:40:23 -08:00
* offset 2264
2018-11-29 21:17:55 -08:00
*/
float narrowToWideOxygenBins[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE];
/**
2021-04-26 14:59:44 -07:00
ratio
2021-11-14 06:40:23 -08:00
* offset 2296
2018-11-29 21:17:55 -08:00
*/
float narrowToWideOxygen[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE];
/**
* set vvt_mode X
2021-11-14 06:40:23 -08:00
* offset 2328
2018-11-29 21:17:55 -08:00
*/
2021-02-08 18:50:31 -08:00
vvt_mode_e vvtMode[CAMS_PER_BANK];
2021-02-08 21:26:52 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2330
2021-02-08 21:26:52 -08:00
*/
uint8_t vvtModePadding[CAMS_PER_BANK_padding];
2021-02-08 11:13:25 -08:00
/**
2021-05-31 15:02:57 -07:00
* Additional idle % when fan #2 is active
%
2021-11-14 06:40:23 -08:00
* offset 2330
2021-02-08 11:13:25 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t fan2ExtraIdle = (uint8_t)0;
2021-05-31 15:02:57 -07:00
/**
units
2021-11-14 06:40:23 -08:00
* offset 2331
2021-05-31 15:02:57 -07:00
*/
2021-10-19 16:54:00 -07:00
uint8_t unusedOldBiquad[1];
/**
2021-11-14 06:40:23 -08:00
* offset 2332
2021-10-19 16:54:00 -07:00
*/
adc_channel_e auxAnalogInputs[AUX_ANALOG_INPUT_COUNT];
2021-07-09 07:09:27 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 2340
2021-07-09 07:09:27 -07:00
*/
output_pin_e trailingCoilPins[MAX_CYLINDER_COUNT];
2018-11-29 21:17:55 -08:00
/**
* CLT-based timing correction
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 2352
2018-11-29 21:17:55 -08:00
*/
float cltTimingBins[CLT_TIMING_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
degree
2021-11-14 06:40:23 -08:00
* offset 2384
2018-11-29 21:17:55 -08:00
*/
float cltTimingExtra[CLT_TIMING_CURVE_SIZE];
/**
2021-11-14 06:40:23 -08:00
* offset 2416
2018-11-29 21:17:55 -08:00
*/
2020-04-23 13:57:37 -07:00
tle8888_mode_e tle8888mode;
/**
2021-11-14 06:40:23 -08:00
* offset 2417
2020-04-23 13:57:37 -07:00
*/
2020-09-27 04:38:53 -07:00
pin_output_mode_e LIS302DLCsPinMode;
/**
2021-05-21 12:28:41 -07:00
* None = I have a MAP-referenced fuel pressure regulator
* Fixed rail pressure = I have an atmosphere-referenced fuel pressure regulator (returnless, typically)
* Sensed rail pressure = I have a fuel pressure sensor
2021-11-14 06:40:23 -08:00
* offset 2418
2020-09-27 04:38:53 -07:00
*/
2020-11-10 20:13:06 -08:00
injector_compensation_mode_e injectorCompensationMode;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2419
2020-11-10 20:13:06 -08:00
*/
2021-06-13 05:09:09 -07:00
pin_output_mode_e fan2PinMode;
2020-11-10 20:13:06 -08:00
/**
* This is the pressure at which your injector flow is known.
* For example if your injectors flow 400cc/min at 3.5 bar, enter 350kpa here.
2021-04-26 14:59:44 -07:00
kPa
2021-11-14 06:40:23 -08:00
* offset 2420
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float fuelReferencePressure = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2424
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float unused244_2 = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2428
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float unused244_3 = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2432
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float unused2432 = (float)0;
2018-11-29 21:17:55 -08:00
/**
2020-04-30 16:43:31 -07:00
* Fuel multiplier (enrichment) immediately after engine start
2021-04-26 14:59:44 -07:00
mult
2021-11-14 06:40:23 -08:00
* offset 2436
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float postCrankingFactor = (float)0;
2018-11-29 21:17:55 -08:00
/**
2020-04-30 16:43:31 -07:00
* Time over which to taper out after start enrichment
2021-04-26 14:59:44 -07:00
seconds
2021-11-14 06:40:23 -08:00
* offset 2440
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float postCrankingDurationSec = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2444
2018-11-29 21:17:55 -08:00
*/
ThermistorConf auxTempSensor1;
/**
2021-11-14 06:40:23 -08:00
* offset 2476
2018-11-29 21:17:55 -08:00
*/
ThermistorConf auxTempSensor2;
/**
2021-07-07 20:49:03 -07:00
* Apply nonlinearity correction below a pulse of this duration. Pulses longer than this duration will receive no adjustment.
ms
2021-11-14 06:40:23 -08:00
* offset 2508
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
uint16_t applyNonlinearBelowPulse = (uint16_t)0;
2021-07-07 20:49:03 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 2510
2021-07-07 20:49:03 -07:00
*/
InjectorNonlinearMode injectorNonlinearMode;
/**
units
2021-11-14 06:40:23 -08:00
* offset 2511
2021-07-07 20:49:03 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t unused2508 = (uint8_t)0;
2021-08-09 13:40:28 -07:00
/**
Deg
2021-11-14 06:40:23 -08:00
* offset 2512
2021-08-09 13:40:28 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t knockSamplingDuration = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Hz
2021-11-14 06:40:23 -08:00
* offset 2514
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t etbFreq = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2516
2018-11-29 21:17:55 -08:00
*/
2020-10-19 05:06:22 -07:00
pid_s etbWastegatePid;
/**
2021-10-06 11:01:16 -07:00
* For micro-stepping, make sure that PWM frequency (etbFreq) is high enough
2021-11-14 06:40:23 -08:00
* offset 2536
2020-10-19 05:06:22 -07:00
*/
2021-10-06 11:01:16 -07:00
stepper_num_micro_steps_e stepperNumMicroSteps;
/**
* Use to limit the current when the stepper motor is idle, not moving (100% = no limit)
%
2021-11-14 06:40:23 -08:00
* offset 2537
2021-10-06 11:01:16 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t stepperMinDutyCycle = (uint8_t)0;
2021-10-06 11:01:16 -07:00
/**
* Use to limit the max.current through the stepper motor (100% = no limit)
%
2021-11-14 06:40:23 -08:00
* offset 2538
2021-10-06 11:01:16 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t stepperMaxDutyCycle = (uint8_t)0;
2021-10-06 11:01:16 -07:00
/**
units
2021-11-14 06:40:23 -08:00
* offset 2539
2021-10-06 11:01:16 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t unused2536 = (uint8_t)0;
2018-11-29 21:17:55 -08:00
/**
* per-cylinder timing correction
2021-05-27 05:25:55 -07:00
deg
2021-11-14 06:40:23 -08:00
* offset 2540
2018-11-29 21:17:55 -08:00
*/
2021-07-06 17:57:01 -07:00
angle_t timing_offset_cylinder[MAX_CYLINDER_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
seconds
2021-11-14 06:40:23 -08:00
* offset 2588
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float idlePidActivationTime = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2592
2018-11-29 21:17:55 -08:00
*/
spi_device_e sdCardSpiDevice;
2019-04-14 15:12:15 -07:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 2593
2019-04-14 15:12:15 -07:00
*/
uint8_t unusedSpiPadding4[3];
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2596
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi1SckMode;
2018-11-29 21:17:55 -08:00
/**
2020-03-17 10:40:14 -07:00
* Modes count be used for 3v<>5v integration using pull-ups/pull-downs etc.
2021-11-14 06:40:23 -08:00
* offset 2597
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi1MosiMode;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2598
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi1MisoMode;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2599
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi2SckMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2600
*/
pin_mode_e spi2MosiMode;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2601
*/
pin_mode_e spi2MisoMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2602
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi3SckMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2603
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi3MosiMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2604
2018-11-29 21:17:55 -08:00
*/
pin_mode_e spi3MisoMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2605
2018-11-29 21:17:55 -08:00
*/
pin_output_mode_e stepperEnablePinMode;
2018-11-29 21:17:55 -08:00
/**
2019-05-25 10:47:09 -07:00
* ResetB
2021-11-14 06:40:23 -08:00
* offset 2606
2018-11-29 21:17:55 -08:00
*/
2019-05-25 10:47:09 -07:00
brain_pin_e mc33816_rstb;
/**
2021-11-14 06:40:23 -08:00
* offset 2607
2019-05-25 10:47:09 -07:00
*/
brain_pin_e mc33816_driven;
2018-11-29 21:17:55 -08:00
/**
2019-07-21 14:06:16 -07:00
* Brake pedal switch
2021-11-14 06:40:23 -08:00
* offset 2608
2018-11-29 21:17:55 -08:00
*/
2019-06-07 14:38:12 -07:00
switch_input_pin_e brakePedalPin;
2018-11-29 21:17:55 -08:00
/**
* lambda input
2021-11-14 06:40:23 -08:00
* offset 2609
2018-11-29 21:17:55 -08:00
*/
adc_channel_e cj125ua;
2018-11-29 21:17:55 -08:00
/**
* heater input
2021-11-14 06:40:23 -08:00
* offset 2610
*/
adc_channel_e cj125ur;
/**
2021-11-14 06:40:23 -08:00
* offset 2611
*/
pin_input_mode_e brakePedalPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 2612
2018-11-29 21:17:55 -08:00
*/
2021-02-10 17:23:22 -08:00
pid_s auxPid[CAMS_PER_BANK];
/**
2021-11-14 06:40:23 -08:00
* offset 2652
2021-02-10 17:23:22 -08:00
*/
2021-07-07 20:49:03 -07:00
float injectorCorrectionPolynomial[8];
/**
units
2021-11-14 06:40:23 -08:00
* offset 2684
2021-07-07 20:49:03 -07:00
*/
uint8_t unused1366[8];
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2692
2018-11-29 21:17:55 -08:00
*/
2020-10-23 04:33:40 -07:00
linear_sensor_s oilPressure;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 2712
2018-11-29 21:17:55 -08:00
*/
spi_device_e accelerometerSpiDevice;
2019-04-14 15:12:15 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 2713
2019-04-14 15:12:15 -07:00
*/
2021-06-13 05:09:09 -07:00
output_pin_e fan2Pin;
2020-05-02 12:56:36 -07:00
/**
2021-06-13 05:09:09 -07:00
* Cooling fan turn-on temperature threshold, in Celsius
deg C
2021-11-14 06:40:23 -08:00
* offset 2714
2020-05-02 12:56:36 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t fan2OnTemperature = (uint8_t)0;
2020-05-02 12:56:36 -07:00
/**
2021-06-13 05:09:09 -07:00
* Cooling fan turn-off temperature threshold, in Celsius
deg C
2021-11-14 06:40:23 -08:00
* offset 2715
2020-05-02 12:56:36 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t fan2OffTemperature = (uint8_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 2716
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve1Bins[SCRIPT_CURVE_16];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
y
2021-11-14 06:40:23 -08:00
* offset 2780
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve1[SCRIPT_CURVE_16];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 2844
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve2Bins[SCRIPT_CURVE_16];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
y
2021-11-14 06:40:23 -08:00
* offset 2908
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve2[SCRIPT_CURVE_16];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 2972
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve3Bins[SCRIPT_CURVE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
y
2021-11-14 06:40:23 -08:00
* offset 3004
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve3[SCRIPT_CURVE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
x
2021-11-14 06:40:23 -08:00
* offset 3036
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve4Bins[SCRIPT_CURVE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
y
2021-11-14 06:40:23 -08:00
* offset 3068
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve4[SCRIPT_CURVE_8];
2018-11-29 21:17:55 -08:00
/**
2021-01-05 04:59:14 -08:00
* Continental/GM flex fuel sensor, 50-150hz type
2021-11-14 06:40:23 -08:00
* offset 3100
2018-11-29 21:17:55 -08:00
*/
2021-01-05 04:59:14 -08:00
brain_input_pin_e flexSensorPin;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 3101
2018-11-29 21:17:55 -08:00
*/
brain_pin_e test557pin;
/**
2021-11-14 06:40:23 -08:00
* offset 3102
*/
pin_output_mode_e stepperDirectionPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 3103
*/
2021-11-30 18:00:42 -08:00
uint8_t unused3103 = (uint8_t)0;
/**
2021-11-14 06:40:23 -08:00
* offset 3104
*/
2020-07-03 12:10:58 -07:00
output_pin_e stepperEnablePin;
/**
2021-11-14 06:40:23 -08:00
* offset 3105
*/
2019-03-25 12:08:32 -07:00
brain_pin_e tle8888_cs;
/**
2021-11-14 06:40:23 -08:00
* offset 3106
2019-03-25 12:08:32 -07:00
*/
2019-03-25 17:30:36 -07:00
pin_output_mode_e tle8888_csPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 3107
2019-03-25 17:30:36 -07:00
*/
brain_pin_e mc33816_cs;
2018-11-29 21:17:55 -08:00
/**
* Optional timing advance table for Cranking (see useSeparateAdvanceForCranking)
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 3108
2018-11-29 21:17:55 -08:00
*/
float crankingAdvanceBins[CRANKING_ADVANCE_CURVE_SIZE];
/**
* Optional timing advance table for Cranking (see useSeparateAdvanceForCranking)
2021-04-26 14:59:44 -07:00
deg
2021-11-14 06:40:23 -08:00
* offset 3124
2018-11-29 21:17:55 -08:00
*/
float crankingAdvance[CRANKING_ADVANCE_CURVE_SIZE];
/**
* todo: more comments
2021-11-14 06:40:23 -08:00
* offset 3140
2018-11-29 21:17:55 -08:00
*/
brain_pin_e servoOutputPins[SERVO_COUNT];
/**
2021-04-12 05:25:48 -07:00
* This sets the RPM above which fuel cut is active.
2021-04-26 14:59:44 -07:00
rpm
2021-11-14 06:40:23 -08:00
* offset 3148
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t coastingFuelCutRpmHigh = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-12 05:25:48 -07:00
* This sets the RPM below which fuel cut is deactivated, this prevents jerking or issues transitioning to idle
2021-04-26 14:59:44 -07:00
rpm
2021-11-14 06:40:23 -08:00
* offset 3150
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t coastingFuelCutRpmLow = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-12 05:25:48 -07:00
* Throttle position below which fuel cut is active.
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 3152
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t coastingFuelCutTps = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-12 05:25:48 -07:00
* Fuel cutoff is disabled when the engine is cold.
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 3154
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t coastingFuelCutClt = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
* Increases PID reaction for RPM<target by adding extra percent to PID-error
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 3156
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t pidExtraForLowRpm = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
* MAP value above which fuel injection is re-enabled.
2021-04-26 14:59:44 -07:00
kPa
2021-11-14 06:40:23 -08:00
* offset 3158
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t coastingFuelCutMap = (int16_t)0;
2018-11-29 21:17:55 -08:00
/**
* CLT-based idle position for coasting (used in Auto-PID Idle mode)
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 3160
2018-11-29 21:17:55 -08:00
*/
float iacCoastingBins[CLT_CURVE_SIZE];
/**
2021-11-06 19:14:13 -07:00
* CLT-based idle position for coasting (used in Auto-PID Idle mode)
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 3224
2018-11-29 21:17:55 -08:00
*/
float iacCoasting[CLT_CURVE_SIZE];
/**
2021-11-14 06:40:23 -08:00
* offset 3288
2018-11-29 21:17:55 -08:00
*/
2020-10-23 04:33:40 -07:00
linear_sensor_s highPressureFuel;
/**
2021-11-14 06:40:23 -08:00
* offset 3308
2020-10-23 04:33:40 -07:00
*/
linear_sensor_s lowPressureFuel;
/**
2021-02-17 14:46:18 -08:00
* CLT-based target RPM for hard limit depending on CLT like on Lexus LFA
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 3328
2020-10-23 04:33:40 -07:00
*/
2021-02-17 14:46:18 -08:00
int8_t cltRevLimitRpmBins[CLT_LIMITER_CURVE_SIZE];
/**
* See idleRpmPid
2021-11-14 06:40:23 -08:00
* offset 3332
2021-02-17 14:46:18 -08:00
*/
uint16_t cltRevLimitRpm[CLT_LIMITER_CURVE_SIZE];
2021-06-11 21:19:09 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 3340
2021-06-11 21:19:09 -07:00
*/
2021-11-04 20:03:11 -07:00
gppwm_note_t scriptCurveName[SCRIPT_CURVE_COUNT];
/**
x
2021-11-14 06:40:23 -08:00
* offset 3436
2021-11-04 20:03:11 -07:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve5Bins[SCRIPT_CURVE_8];
2021-11-04 20:03:11 -07:00
/**
y
2021-11-14 06:40:23 -08:00
* offset 3468
2021-11-04 20:03:11 -07:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve5[SCRIPT_CURVE_8];
2021-11-04 20:03:11 -07:00
/**
x
2021-11-14 06:40:23 -08:00
* offset 3500
2021-11-04 20:03:11 -07:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve6Bins[SCRIPT_CURVE_8];
2021-11-04 20:03:11 -07:00
/**
y
2021-11-14 06:40:23 -08:00
* offset 3532
2021-11-04 20:03:11 -07:00
*/
2021-11-14 07:39:47 -08:00
float scriptCurve6[SCRIPT_CURVE_8];
2021-11-04 20:03:11 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 3564
2021-11-04 20:03:11 -07:00
*/
2021-11-07 07:30:54 -08:00
gppwm_note_t scriptTableName[SCRIPT_TABLE_COUNT];
/**
2021-11-14 06:40:23 -08:00
* offset 3628
2021-11-07 07:30:54 -08:00
*/
2021-11-14 08:51:07 -08:00
gppwm_note_t scriptSettingName[SCRIPT_SETTING_COUNT];
/**
units
* offset 3756
*/
uint8_t unused3328[108];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Min tCharge Coeff.
2021-11-14 06:40:23 -08:00
* offset 3864
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeAirCoefMin = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Max tCharge Coeff.
2021-11-14 06:40:23 -08:00
* offset 3868
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeAirCoefMax = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Max Air Flow (kg/h)
2021-11-14 06:40:23 -08:00
* offset 3872
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeAirFlowMax = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
tChange Increment Limit (deg/sec)
2021-11-14 06:40:23 -08:00
* offset 3876
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeAirIncrLimit = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
tChange Decrement Limit (deg/sec)
2021-11-14 06:40:23 -08:00
* offset 3880
2018-11-29 21:17:55 -08:00
*/
2021-11-30 18:00:42 -08:00
float tChargeAirDecrLimit = (float)0;
2018-11-29 21:17:55 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 3884
2018-11-29 21:17:55 -08:00
*/
tChargeMode_e tChargeMode;
/**
2018-12-09 07:19:47 -08:00
* target TPS value, 0 to 100%
* TODO: use int8 data date once we template interpolation method
2021-04-26 14:59:44 -07:00
target TPS position
2021-11-14 06:40:23 -08:00
* offset 3888
2018-11-29 21:17:55 -08:00
*/
2019-01-07 16:30:35 -08:00
float etbBiasBins[ETB_BIAS_CURVE_LENGTH];
2018-12-09 07:19:47 -08:00
/**
* PWM bias, 0 to 100%
2021-04-26 14:59:44 -07:00
ETB duty cycle bias
2021-11-14 06:40:23 -08:00
* offset 3920
2018-12-09 07:19:47 -08:00
*/
float etbBiasValues[ETB_BIAS_CURVE_LENGTH];
/**
2021-11-14 06:40:23 -08:00
* offset 3952
2018-12-09 07:19:47 -08:00
*/
2021-11-30 18:00:42 -08:00
float hip9011Gain = (float)0;
2019-01-04 14:18:43 -08:00
/**
2019-03-02 11:00:32 -08:00
* iTerm min value
2021-11-14 06:40:23 -08:00
* offset 3956
2019-01-04 14:18:43 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t etb_iTermMin = (int16_t)0;
2019-03-02 11:00:32 -08:00
/**
* iTerm max value
2021-11-14 06:40:23 -08:00
* offset 3958
2019-03-02 11:00:32 -08:00
*/
2021-11-30 18:00:42 -08:00
int16_t etb_iTermMax = (int16_t)0;
2019-03-02 11:00:32 -08:00
/**
2021-11-05 15:21:29 -07:00
* Maximum allowed ETB position. Some throttles go past fully open, so this allows you to limit it to fully open.
%
2021-11-14 06:40:23 -08:00
* offset 3960
2019-03-02 11:00:32 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t etbMaximumPosition = (uint8_t)0;
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 3961
*/
2021-11-05 15:21:29 -07:00
uint8_t unused1059[7];
/**
2019-03-22 20:00:21 -07:00
* See useIdleTimingPidControl
2021-11-14 06:40:23 -08:00
* offset 3968
*/
2019-03-22 20:00:21 -07:00
pid_s idleTimingPid;
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 3988
2019-03-22 20:00:21 -07:00
*/
2021-01-07 05:08:14 -08:00
uint8_t unused3988[2];
2019-03-22 20:00:21 -07:00
/**
2019-09-11 17:59:05 -07:00
* If the RPM closer to target than this value, disable timing correction to prevent oscillation
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 3990
2019-03-22 20:00:21 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t idleTimingPidDeadZone = (int16_t)0;
2019-03-22 20:00:21 -07:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 3992
2019-03-22 20:00:21 -07:00
*/
2021-01-07 05:08:14 -08:00
uint8_t unused3942[2];
2019-03-22 20:00:21 -07:00
/**
2019-03-28 19:48:12 -07:00
* A delay in cycles between fuel-enrich. portions
2021-04-26 14:59:44 -07:00
cycles
2021-11-14 06:40:23 -08:00
* offset 3994
2019-03-22 20:00:21 -07:00
*/
2021-11-30 18:00:42 -08:00
int16_t tpsAccelFractionPeriod = (int16_t)0;
2019-03-22 20:00:21 -07:00
/**
2019-03-28 19:48:12 -07:00
* A fraction divisor: 1 or less = entire portion at once, or split into diminishing fractions
2021-04-26 14:59:44 -07:00
coef
2021-11-14 06:40:23 -08:00
* offset 3996
2019-03-22 20:00:21 -07:00
*/
2021-11-30 18:00:42 -08:00
float tpsAccelFractionDivisor = (float)0;
2019-03-25 12:08:32 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4000
2019-03-25 12:08:32 -07:00
*/
2019-03-28 19:48:12 -07:00
spi_device_e tle8888spiDevice;
2019-04-14 15:12:15 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4001
2019-04-14 15:12:15 -07:00
*/
spi_device_e mc33816spiDevice;
/**
* iTerm min value
2021-11-14 06:40:23 -08:00
* offset 4002
*/
2021-11-30 18:00:42 -08:00
int16_t idlerpmpid_iTermMin = (int16_t)0;
2019-03-28 19:48:12 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4004
2019-03-28 19:48:12 -07:00
*/
2019-04-13 07:58:52 -07:00
spi_device_e tle6240spiDevice;
2019-04-14 15:12:15 -07:00
/**
2021-01-05 13:32:00 -08:00
* Stoichiometric ratio for your primary fuel. When Flex Fuel is enabled, this value is used when the Flex Fuel sensor indicates E0.
2021-05-21 12:28:41 -07:00
* E0 = 14.7
* E10 = 14.1
* E85 = 9.9
* E100 = 9.0
2021-04-26 14:59:44 -07:00
:1
2021-11-14 06:40:23 -08:00
* offset 4005
2019-04-14 15:12:15 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint8_t, 10, 1> stoichRatioPrimary = (uint8_t)0;
/**
* iTerm max value
2021-11-14 06:40:23 -08:00
* offset 4006
*/
2021-11-30 18:00:42 -08:00
int16_t idlerpmpid_iTermMax = (int16_t)0;
2019-04-13 07:58:52 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4008
2019-04-13 07:58:52 -07:00
*/
spi_device_e mc33972spiDevice;
2019-04-14 15:12:15 -07:00
/**
2021-05-21 12:28:41 -07:00
* Stoichiometric ratio for your secondary fuel. This value is used when the Flex Fuel sensor indicates E100, typically 9.0
2021-04-26 14:59:44 -07:00
:1
2021-11-14 06:40:23 -08:00
* offset 4009
2019-04-14 15:12:15 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint8_t, 10, 1> stoichRatioSecondary = (uint8_t)0;
2021-01-05 13:32:00 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 4010
2021-01-05 13:32:00 -08:00
*/
uint8_t unusedSpiPadding8[2];
2019-04-13 07:58:52 -07:00
/**
2021-05-21 12:28:41 -07:00
* This sets the range of the idle control on the ETB. At 100% idle position, the value specified here sets the base ETB position.
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 4012
2019-04-13 07:58:52 -07:00
*/
2021-11-30 18:00:42 -08:00
float etbIdleThrottleRange = (float)0;
/**
2021-01-02 06:16:50 -08:00
* Select which fuel correction bank this cylinder belongs to. Group cylinders that share the same O2 sensor
2021-11-14 06:40:23 -08:00
* offset 4016
*/
2021-07-06 17:57:01 -07:00
uint8_t cylinderBankSelect[MAX_CYLINDER_COUNT];
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 4028
*/
2021-01-02 06:16:50 -08:00
int unused4028[2];
/**
2019-12-03 21:38:40 -08:00
* Trigger comparator center point voltage
2021-04-26 14:59:44 -07:00
V
2021-11-14 06:40:23 -08:00
* offset 4036
*/
2021-11-30 18:00:42 -08:00
uint8_t triggerCompCenterVolt = (uint8_t)0;
2019-12-03 21:38:40 -08:00
/**
* Trigger comparator hysteresis voltage (Min)
2021-04-26 14:59:44 -07:00
V
2021-11-14 06:40:23 -08:00
* offset 4037
2019-12-03 21:38:40 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t triggerCompHystMin = (uint8_t)0;
2019-12-03 21:38:40 -08:00
/**
* Trigger comparator hysteresis voltage (Max)
2021-04-26 14:59:44 -07:00
V
2021-11-14 06:40:23 -08:00
* offset 4038
2019-12-03 21:38:40 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t triggerCompHystMax = (uint8_t)0;
2019-12-03 21:38:40 -08:00
/**
* VR-sensor saturation RPM
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 4039
2019-12-03 21:38:40 -08:00
*/
2021-11-30 18:00:42 -08:00
uint8_t triggerCompSensorSatRpm = (uint8_t)0;
2019-06-15 10:33:14 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4040
2019-06-15 10:33:14 -07:00
*/
2019-09-11 17:46:50 -07:00
pid_s idleRpmPid2;
/**
2021-11-05 19:01:07 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 4060
2019-09-11 17:46:50 -07:00
*/
2021-11-05 19:01:07 -07:00
uint8_t iacPidMultTable[IAC_PID_MULT_SIZE][IAC_PID_MULT_SIZE];
2019-10-30 06:27:12 -07:00
/**
2021-04-26 14:59:44 -07:00
Load
2021-11-14 06:40:23 -08:00
* offset 4124
2019-10-30 06:27:12 -07:00
*/
uint8_t iacPidMultLoadBins[IAC_PID_MULT_SIZE];
/**
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 4132
2019-10-30 06:27:12 -07:00
*/
uint8_t iacPidMultRpmBins[IAC_PID_MULT_SIZE];
/**
2020-04-19 15:32:24 -07:00
* set can_vss X
2021-11-14 06:40:23 -08:00
* offset 4140
2019-10-30 06:27:12 -07:00
*/
2020-04-19 15:32:24 -07:00
can_vss_nbc_e canVssNbcType;
/**
2021-11-14 06:40:23 -08:00
* offset 4144
2020-04-19 15:32:24 -07:00
*/
2020-05-08 19:05:44 -07:00
gppwm_channel gppwm[GPPWM_CHANNELS];
2020-04-25 15:07:37 -07:00
/**
2021-04-26 14:59:44 -07:00
mA
2021-11-14 06:40:23 -08:00
* offset 4496
2020-04-25 15:07:37 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_i_boost = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
mA
2021-11-14 06:40:23 -08:00
* offset 4498
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_i_peak = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
mA
2021-11-14 06:40:23 -08:00
* offset 4500
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_i_hold = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4502
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_max_boost = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4504
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_peak_off = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4506
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_peak_tot = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4508
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_bypass = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4510
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_hold_off = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-04-26 14:59:44 -07:00
us
2021-11-14 06:40:23 -08:00
* offset 4512
2020-05-19 05:38:31 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t mc33_t_hold_tot = (uint16_t)0;
2020-05-19 05:38:31 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4514
2020-05-19 05:38:31 -07:00
*/
2021-06-12 04:28:45 -07:00
pin_input_mode_e tcuUpshiftButtonPinMode;
/**
2021-11-14 06:40:23 -08:00
* offset 4515
2021-06-12 04:28:45 -07:00
*/
pin_input_mode_e tcuDownshiftButtonPinMode;
2020-05-19 05:38:31 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4516
2020-05-19 05:38:31 -07:00
*/
2020-09-10 19:18:18 -07:00
pin_input_mode_e acSwitchMode;
/**
2021-11-14 06:40:23 -08:00
* offset 4517
2020-09-10 19:18:18 -07:00
*/
2020-09-28 18:41:06 -07:00
pin_output_mode_e tcu_solenoid_mode[TCU_SOLENOID_COUNT];
/**
2021-04-26 14:59:44 -07:00
dB
2021-11-14 06:40:23 -08:00
* offset 4523
2020-09-28 18:41:06 -07:00
*/
2020-12-08 18:10:55 -08:00
int8_t knockBaseNoise[IGN_RPM_COUNT];
/**
* need 4 byte alignment
2021-07-03 08:33:11 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 4539
2020-12-08 18:10:55 -08:00
*/
2021-11-14 06:40:23 -08:00
uint8_t alignmentFill_at_4539[1];
2020-09-10 19:18:18 -07:00
/**
2021-10-30 07:50:41 -07:00
from
2021-11-14 06:40:23 -08:00
* offset 4540
2020-09-10 19:18:18 -07:00
*/
2021-10-30 07:50:41 -07:00
float triggerGapOverrideFrom[GAP_TRACKING_LENGTH];
2021-05-23 17:00:27 -07:00
/**
2021-09-29 20:55:33 -07:00
Percent
2021-11-14 06:40:23 -08:00
* offset 4612
2021-05-23 17:00:27 -07:00
*/
2021-09-29 20:55:33 -07:00
int8_t fuelTrim[MAX_CYLINDER_COUNT];
/**
2021-10-30 07:50:41 -07:00
to
2021-11-14 06:40:23 -08:00
* offset 4624
2021-09-29 20:55:33 -07:00
*/
2021-10-30 07:50:41 -07:00
float triggerGapOverrideTo[GAP_TRACKING_LENGTH];
/**
2021-11-05 20:28:22 -07:00
lobes/cam
2021-11-14 06:40:23 -08:00
* offset 4696
2021-10-30 07:50:41 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t hpfpCamLobes = (uint8_t)0;
2021-11-05 20:28:22 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4697
2021-11-05 20:28:22 -07:00
*/
hpfp_cam_e hpfpCam;
/**
* Crank angle ATDC of first lobe peak
deg
2021-11-14 06:40:23 -08:00
* offset 4698
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t hpfpPeakPos = (uint8_t)0;
2021-11-05 20:28:22 -07:00
/**
* If the requested activation time is below this angle, don't bother running the pump
deg
2021-11-14 06:40:23 -08:00
* offset 4699
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t hpfpMinAngle = (uint8_t)0;
2021-11-05 20:28:22 -07:00
/**
* Size of the pump chamber in cc. Typical Bosch HDP5 has a 9.0mm diameter, typical BMW N* stroke is 4.4mm.
cc
2021-11-14 06:40:23 -08:00
* offset 4700
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint16_t, 1000, 1> hpfpPumpVolume = (uint16_t)0;
2021-11-05 20:28:22 -07:00
/**
* How long to keep the valve activated (in order to allow the pump to build pressure and keep the valve open on its own)
deg
2021-11-14 06:40:23 -08:00
* offset 4702
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t hpfpActivationAngle = (uint8_t)0;
2021-11-05 20:28:22 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 4703
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
uint8_t unusedFiller_4703 = (uint8_t)0;
2021-11-05 20:28:22 -07:00
/**
%/kPa
2021-11-14 06:40:23 -08:00
* offset 4704
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint16_t, 1000, 1> hpfpPidP = (uint16_t)0;
2021-11-05 20:28:22 -07:00
/**
%/kPa/lobe
2021-11-14 06:40:23 -08:00
* offset 4706
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
scaled_channel<uint16_t, 100000, 1> hpfpPidI = (uint16_t)0;
2021-11-05 20:28:22 -07:00
/**
* The fastest rate the target pressure can be reduced by. This is because HPFP have no way to bleed off pressure other than injecting fuel.
kPa/s
2021-11-14 06:40:23 -08:00
* offset 4708
2021-11-05 20:28:22 -07:00
*/
2021-11-30 18:00:42 -08:00
uint16_t hpfpTargetDecay = (uint16_t)0;
2021-11-05 20:28:22 -07:00
/**
%
2021-11-14 06:40:23 -08:00
* offset 4710
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint8_t, 2, 1> hpfpLobeProfileQuantityBins[HPFP_LOBE_PROFILE_SIZE];
/**
deg
2021-11-14 06:40:23 -08:00
* offset 4726
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint8_t, 2, 1> hpfpLobeProfileAngle[HPFP_LOBE_PROFILE_SIZE];
/**
volts
2021-11-14 06:40:23 -08:00
* offset 4742
2021-11-05 20:28:22 -07:00
*/
uint8_t hpfpDeadtimeVoltsBins[HPFP_DEADTIME_SIZE];
/**
ms
2021-11-14 06:40:23 -08:00
* offset 4750
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint16_t, 1000, 1> hpfpDeadtimeMS[HPFP_DEADTIME_SIZE];
/**
kPa
2021-11-14 06:40:23 -08:00
* offset 4766
2021-11-05 20:28:22 -07:00
*/
uint16_t hpfpTarget[HPFP_TARGET_SIZE][HPFP_TARGET_SIZE];
/**
load
2021-11-14 06:40:23 -08:00
* offset 4966
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint16_t, 10, 1> hpfpTargetLoadBins[HPFP_TARGET_SIZE];
/**
RPM
2021-11-14 06:40:23 -08:00
* offset 4986
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint8_t, 1, 50> hpfpTargetRpmBins[HPFP_TARGET_SIZE];
/**
%
2021-11-14 06:40:23 -08:00
* offset 4996
2021-11-05 20:28:22 -07:00
*/
int8_t hpfpCompensation[HPFP_COMPENSATION_SIZE][HPFP_COMPENSATION_SIZE];
/**
cc/lobe
2021-11-14 06:40:23 -08:00
* offset 5096
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint16_t, 1000, 1> hpfpCompensationLoadBins[HPFP_COMPENSATION_SIZE];
/**
RPM
2021-11-14 06:40:23 -08:00
* offset 5116
2021-11-05 20:28:22 -07:00
*/
scaled_channel<uint8_t, 1, 50> hpfpCompensationRpmBins[HPFP_COMPENSATION_SIZE];
/**
* need 4 byte alignment
units
2021-11-14 06:40:23 -08:00
* offset 5126
2021-11-05 20:28:22 -07:00
*/
2021-11-14 06:40:23 -08:00
uint8_t alignmentFill_at_5126[2];
2021-11-05 20:28:22 -07:00
/**
units
2021-11-14 06:40:23 -08:00
* offset 5128
2021-11-05 20:28:22 -07:00
*/
int mainUnusedEnd[218];
2021-11-14 06:40:23 -08:00
/** total size 6000*/
};
2018-12-19 18:32:26 -08:00
// start of persistent_config_s
struct persistent_config_s {
2018-11-29 21:17:55 -08:00
/**
* offset 0
*/
engine_configuration_s engineConfiguration;
2020-03-28 17:14:17 -07:00
/**
2021-11-14 06:40:23 -08:00
* offset 6000
2020-03-28 17:14:17 -07:00
*/
2020-04-19 18:42:00 -07:00
error_message_t warning_message;
2020-03-27 09:13:12 -07:00
/**
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 6120
2020-03-27 09:13:12 -07:00
*/
float afterstartCoolantBins[AFTERSTART_HOLD_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
Seconds
2021-11-14 06:40:23 -08:00
* offset 6152
2020-03-27 09:13:12 -07:00
*/
float afterstartHoldTime[AFTERSTART_HOLD_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6184
2020-03-27 09:13:12 -07:00
*/
float afterstartEnrich[AFTERSTART_ENRICH_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
Seconds
2021-11-14 06:40:23 -08:00
* offset 6216
2020-03-27 09:13:12 -07:00
*/
float afterstartDecayTime[AFTERSTART_DECAY_CURVE_SIZE];
2020-01-31 11:23:15 -08:00
/**
2021-11-14 06:40:23 -08:00
* offset 6248
2020-01-31 11:23:15 -08:00
*/
2021-11-05 19:01:07 -07:00
uint8_t boostTableOpenLoop[BOOST_RPM_COUNT][BOOST_LOAD_COUNT];
2020-01-31 11:23:15 -08:00
/**
2021-04-26 14:59:44 -07:00
units
2021-11-14 06:40:23 -08:00
* offset 6312
2020-01-31 11:23:15 -08:00
*/
2020-05-06 05:49:08 -07:00
uint8_t unused6312[8];
2020-01-31 11:23:15 -08:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 6320
2020-01-31 11:23:15 -08:00
*/
uint8_t boostRpmBins[BOOST_RPM_COUNT];
/**
2021-11-14 06:40:23 -08:00
* offset 6328
2020-01-31 11:23:15 -08:00
*/
2021-11-05 19:01:07 -07:00
uint8_t boostTableClosedLoop[BOOST_RPM_COUNT][BOOST_LOAD_COUNT];
2020-01-31 11:23:15 -08:00
/**
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6392
2020-01-31 11:23:15 -08:00
*/
uint8_t boostTpsBins[BOOST_LOAD_COUNT];
2019-06-10 09:52:26 -07:00
/**
2021-11-05 19:01:07 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6400
2019-06-10 09:52:26 -07:00
*/
2021-11-05 19:01:07 -07:00
uint8_t pedalToTpsTable[PEDAL_TO_TPS_SIZE][PEDAL_TO_TPS_SIZE];
2019-06-10 09:52:26 -07:00
/**
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6464
2019-06-10 09:52:26 -07:00
*/
uint8_t pedalToTpsPedalBins[PEDAL_TO_TPS_SIZE];
2019-06-10 09:52:26 -07:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 6472
2019-06-10 09:52:26 -07:00
*/
2019-06-10 20:38:44 -07:00
uint8_t pedalToTpsRpmBins[PEDAL_TO_TPS_SIZE];
2018-11-29 21:17:55 -08:00
/**
* CLT-based cranking position multiplier for simple manual idle controller
2021-04-26 14:59:44 -07:00
C
2021-11-14 06:40:23 -08:00
* offset 6480
2018-11-29 21:17:55 -08:00
*/
float cltCrankingCorrBins[CLT_CRANKING_CURVE_SIZE];
/**
* CLT-based cranking position multiplier for simple manual idle controller
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6512
2018-11-29 21:17:55 -08:00
*/
float cltCrankingCorr[CLT_CRANKING_CURVE_SIZE];
/**
* Optional timing advance table for Idle (see useSeparateAdvanceForIdle)
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 6544
2018-11-29 21:17:55 -08:00
*/
float idleAdvanceBins[IDLE_ADVANCE_CURVE_SIZE];
/**
* Optional timing advance table for Idle (see useSeparateAdvanceForIdle)
2021-04-26 14:59:44 -07:00
deg
2021-11-14 06:40:23 -08:00
* offset 6576
2018-11-29 21:17:55 -08:00
*/
float idleAdvance[IDLE_ADVANCE_CURVE_SIZE];
/**
* Optional VE table for Idle (see useSeparateVEForIdle)
2021-04-26 14:59:44 -07:00
RPM
2021-11-14 06:40:23 -08:00
* offset 6608
2018-11-29 21:17:55 -08:00
*/
float idleVeBins[IDLE_VE_CURVE_SIZE];
/**
2021-11-06 19:14:13 -07:00
* Optional VE table for Idle (see useSeparateVEForIdle)
2021-04-26 14:59:44 -07:00
%
2021-11-14 06:40:23 -08:00
* offset 6640
2018-11-29 21:17:55 -08:00
*/
float idleVe[IDLE_VE_CURVE_SIZE];
/**
2021-11-14 06:40:23 -08:00
* offset 6672
2018-11-29 21:17:55 -08:00
*/
2021-08-16 03:57:59 -07:00
lua_script_t luaScript;
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
C
2021-12-01 06:21:38 -08:00
* offset 10272
2018-11-29 21:17:55 -08:00
*/
float cltFuelCorrBins[CLT_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
ratio
2021-12-01 06:21:38 -08:00
* offset 10336
2018-11-29 21:17:55 -08:00
*/
float cltFuelCorr[CLT_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
C
2021-12-01 06:21:38 -08:00
* offset 10400
2018-11-29 21:17:55 -08:00
*/
float iatFuelCorrBins[IAT_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
ratio
2021-12-01 06:21:38 -08:00
* offset 10464
2018-11-29 21:17:55 -08:00
*/
float iatFuelCorr[IAT_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
ratio
2021-12-01 06:21:38 -08:00
* offset 10528
2018-11-29 21:17:55 -08:00
*/
float crankingFuelCoef[CRANKING_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
C
2021-12-01 06:21:38 -08:00
* offset 10560
2018-11-29 21:17:55 -08:00
*/
float crankingFuelBins[CRANKING_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
ratio
2021-12-01 06:21:38 -08:00
* offset 10592
2018-11-29 21:17:55 -08:00
*/
float crankingCycleCoef[CRANKING_CURVE_SIZE];
/**
2021-04-26 14:59:44 -07:00
counter
2021-12-01 06:21:38 -08:00
* offset 10624
2018-11-29 21:17:55 -08:00
*/
float crankingCycleBins[CRANKING_CURVE_SIZE];
/**
* CLT-based idle position multiplier for simple manual idle controller
2021-04-26 14:59:44 -07:00
C
2021-12-01 06:21:38 -08:00
* offset 10656
2018-11-29 21:17:55 -08:00
*/
float cltIdleCorrBins[CLT_CURVE_SIZE];
/**
2021-11-06 19:14:13 -07:00
* CLT-based idle position multiplier for simple manual idle controller
2021-04-26 14:59:44 -07:00
ratio
2021-12-01 06:21:38 -08:00
* offset 10720
2018-11-29 21:17:55 -08:00
*/
float cltIdleCorr[CLT_CURVE_SIZE];
/**
2020-04-26 18:41:03 -07:00
* Also known as MAF transfer function.
2018-11-29 21:17:55 -08:00
* kg/hour value.
* By the way 2.081989116 kg/h = 1 ft3/m
2021-04-26 14:59:44 -07:00
kg/hour
2021-12-01 06:21:38 -08:00
* offset 10784
2018-11-29 21:17:55 -08:00
*/
float mafDecoding[MAF_DECODING_COUNT];
/**
2021-04-26 14:59:44 -07:00
V
2021-12-01 06:21:38 -08:00
* offset 11808
2018-11-29 21:17:55 -08:00
*/
float mafDecodingBins[MAF_DECODING_COUNT];
/**
2021-11-05 19:01:07 -07:00
deg
2021-12-01 06:21:38 -08:00
* offset 12832
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
float ignitionIatCorrTable[IGN_RPM_COUNT][IGN_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Temperature
2021-12-01 06:21:38 -08:00
* offset 13856
2018-11-29 21:17:55 -08:00
*/
float ignitionIatCorrLoadBins[IGN_LOAD_COUNT];
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 13920
2018-11-29 21:17:55 -08:00
*/
float ignitionIatCorrRpmBins[IGN_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
deg
2021-12-01 06:21:38 -08:00
* offset 13984
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
float injectionPhase[IGN_RPM_COUNT][IGN_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Load
2021-12-01 06:21:38 -08:00
* offset 15008
2018-11-29 21:17:55 -08:00
*/
float injPhaseLoadBins[FUEL_LOAD_COUNT];
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 15072
2018-11-29 21:17:55 -08:00
*/
float injPhaseRpmBins[FUEL_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
onoff
2021-12-01 06:21:38 -08:00
* offset 15136
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
uint8_t tcuSolenoidTable[TCU_SOLENOID_COUNT][TCU_GEAR_COUNT];
2020-09-15 01:35:57 -07:00
/**
2021-01-10 07:16:52 -08:00
* Good example: number of tooth on wheel, For Can 10 is a good number.
2021-04-26 14:59:44 -07:00
Hz
2021-12-01 06:21:38 -08:00
* offset 15196
2020-09-15 01:35:57 -07:00
*/
2021-11-30 18:00:42 -08:00
float vssFilterReciprocal = (float)0;
2021-01-10 07:16:52 -08:00
/**
2021-11-05 19:01:07 -07:00
kPa
2021-12-01 06:21:38 -08:00
* offset 15200
2021-01-10 07:16:52 -08:00
*/
2021-11-05 19:01:07 -07:00
uint16_t mapEstimateTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT];
2021-01-31 14:21:02 -08:00
/**
2021-04-26 14:59:44 -07:00
% TPS
2021-12-01 06:21:38 -08:00
* offset 15712
2021-01-31 14:21:02 -08:00
*/
2021-11-05 16:52:02 -07:00
scaled_channel<uint16_t, 100, 1> mapEstimateTpsBins[FUEL_LOAD_COUNT];
2021-01-31 14:21:02 -08:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 15744
2021-01-31 14:21:02 -08:00
*/
uint16_t mapEstimateRpmBins[FUEL_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 15776
2021-01-31 14:21:02 -08:00
*/
2021-11-14 07:53:06 -08:00
uint8_t vvtTable1[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 15840
2021-02-09 11:01:08 -08:00
*/
2021-11-14 07:53:06 -08:00
float vvtTable1LoadBins[SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 15872
2021-02-09 11:01:08 -08:00
*/
2021-11-14 07:53:06 -08:00
float vvtTable1RpmBins[SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 15904
2021-02-09 11:01:08 -08:00
*/
2021-11-14 07:53:06 -08:00
uint8_t vvtTable2[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 15968
2021-02-09 11:01:08 -08:00
*/
2021-11-14 07:53:06 -08:00
float vvtTable2LoadBins[SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 16000
2021-02-09 11:01:08 -08:00
*/
2021-11-14 07:53:06 -08:00
float vvtTable2RpmBins[SCRIPT_TABLE_8];
2021-02-09 11:01:08 -08:00
/**
2021-08-16 03:57:59 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 16032
2021-02-09 11:01:08 -08:00
*/
2021-08-16 03:57:59 -07:00
float unusedLuaWasHere[64];
2018-11-29 21:17:55 -08:00
/**
2021-11-05 19:01:07 -07:00
deg
2021-12-01 06:21:38 -08:00
* offset 16288
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
float ignitionTable[IGN_RPM_COUNT][IGN_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
Load
2021-12-01 06:21:38 -08:00
* offset 17312
2018-11-29 21:17:55 -08:00
*/
float ignitionLoadBins[IGN_LOAD_COUNT];
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 17376
2018-11-29 21:17:55 -08:00
*/
float ignitionRpmBins[IGN_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
%
2021-12-01 06:21:38 -08:00
* offset 17440
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
float veTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
kPa
2021-12-01 06:21:38 -08:00
* offset 18464
2018-11-29 21:17:55 -08:00
*/
float veLoadBins[FUEL_LOAD_COUNT];
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 18528
2018-11-29 21:17:55 -08:00
*/
float veRpmBins[FUEL_RPM_COUNT];
/**
2021-11-05 19:01:07 -07:00
lambda
2021-12-01 06:21:38 -08:00
* offset 18592
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
scaled_channel<uint8_t, 147, 1> lambdaTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-12-01 06:21:38 -08:00
* offset 18848
2018-11-29 21:17:55 -08:00
*/
2020-10-26 15:17:20 -07:00
float lambdaLoadBins[FUEL_LOAD_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 18912
2018-11-29 21:17:55 -08:00
*/
2020-10-26 15:17:20 -07:00
float lambdaRpmBins[FUEL_RPM_COUNT];
2018-11-29 21:17:55 -08:00
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 18976
2018-11-29 21:17:55 -08:00
*/
2021-11-05 19:01:07 -07:00
float tpsTpsAccelTable[TPS_TPS_ACCEL_TABLE][TPS_TPS_ACCEL_TABLE];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
from
2021-12-01 06:21:38 -08:00
* offset 19232
2018-11-29 21:17:55 -08:00
*/
float tpsTpsAccelFromRpmBins[TPS_TPS_ACCEL_TABLE];
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
to
2021-12-01 06:21:38 -08:00
* offset 19264
2018-11-29 21:17:55 -08:00
*/
float tpsTpsAccelToRpmBins[TPS_TPS_ACCEL_TABLE];
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 19296
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable1[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 19552
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable1LoadBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 19584
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable1RpmBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 19616
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
uint8_t scriptTable2[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 19680
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable2LoadBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 19712
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable2RpmBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 19744
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
uint8_t scriptTable3[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 19808
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable3LoadBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 19840
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable3RpmBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-11-05 19:01:07 -07:00
value
2021-12-01 06:21:38 -08:00
* offset 19872
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
uint8_t scriptTable4[SCRIPT_TABLE_8][SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
2021-04-26 14:59:44 -07:00
L
2021-12-01 06:21:38 -08:00
* offset 19936
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable4LoadBins[SCRIPT_TABLE_8];
2018-11-29 21:17:55 -08:00
/**
* RPM is float and not integer in order to use unified methods for interpolation
2021-04-26 14:59:44 -07:00
RPM
2021-12-01 06:21:38 -08:00
* offset 19968
2018-11-29 21:17:55 -08:00
*/
2021-11-14 07:53:06 -08:00
float scriptTable4RpmBins[SCRIPT_TABLE_8];
2021-12-01 06:21:38 -08:00
/** total size 20000*/
};
2018-11-29 21:17:55 -08:00
// end
2021-12-01 18:59:01 -08:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Dec 02 02:57:19 UTC 2021