6250 lines
134 KiB
C
6250 lines
134 KiB
C
// this section was generated automatically by rusEFI tool config_definition-all.jar based on (unknown script) integration/rusefi_config.txt
|
|
// by class com.rusefi.output.CHeaderConsumer
|
|
// begin
|
|
#pragma once
|
|
#include "rusefi_types.h"
|
|
// start of stft_cell_cfg_s
|
|
struct stft_cell_cfg_s {
|
|
/**
|
|
* Maximum % that the short term fuel trim can add
|
|
* units: %
|
|
* offset 0
|
|
*/
|
|
int8_t maxAdd;
|
|
/**
|
|
* Maximum % that the short term fuel trim can remove
|
|
* units: %
|
|
* offset 1
|
|
*/
|
|
int8_t maxRemove;
|
|
/**
|
|
* Commonly referred as Integral gain.
|
|
* 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.
|
|
* Lower values makes the correction more sensitive, higher values slow the correction down.
|
|
* units: sec
|
|
* offset 2
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> timeConstant;
|
|
};
|
|
static_assert(sizeof(stft_cell_cfg_s) == 4);
|
|
|
|
// start of stft_s
|
|
struct stft_s {
|
|
/**
|
|
* Below this RPM, the idle region is active, idle+300 would be a good value
|
|
* units: RPM
|
|
* offset 0
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> maxIdleRegionRpm;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1
|
|
*/
|
|
uint8_t alignmentFill_at_1[1] = {};
|
|
/**
|
|
* Below this engine load, the overrun region is active
|
|
* When tuning by MAP the units are kPa, e.g. 30 would mean 30kPa. When tuning TPS, 30 would be 30%
|
|
* units: load
|
|
* offset 2
|
|
*/
|
|
uint16_t maxOverrunLoad;
|
|
/**
|
|
* Above this engine load, the power region is active
|
|
* When tuning by MAP the units are kPa
|
|
* units: load
|
|
* offset 4
|
|
*/
|
|
uint16_t minPowerLoad;
|
|
/**
|
|
* 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.
|
|
* units: %
|
|
* offset 6
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> deadband;
|
|
/**
|
|
* Below this temperature, correction is disabled.
|
|
* units: C
|
|
* offset 7
|
|
*/
|
|
int8_t minClt;
|
|
/**
|
|
* Below this AFR, correction is paused
|
|
* units: afr
|
|
* offset 8
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> minAfr;
|
|
/**
|
|
* Above this AFR, correction is paused
|
|
* units: afr
|
|
* offset 9
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> maxAfr;
|
|
/**
|
|
* Delay after starting the engine before beginning closed loop correction.
|
|
* units: seconds
|
|
* offset 10
|
|
*/
|
|
uint8_t startupDelay;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 11
|
|
*/
|
|
uint8_t alignmentFill_at_11[1] = {};
|
|
/**
|
|
* offset 12
|
|
*/
|
|
stft_cell_cfg_s cellCfgs[STFT_CELL_COUNT] = {};
|
|
};
|
|
static_assert(sizeof(stft_s) == 28);
|
|
|
|
// start of pid_s
|
|
struct pid_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
float pFactor;
|
|
/**
|
|
* offset 4
|
|
*/
|
|
float iFactor;
|
|
/**
|
|
* offset 8
|
|
*/
|
|
float dFactor;
|
|
/**
|
|
* Linear addition to PID logic
|
|
* offset 12
|
|
*/
|
|
int16_t offset;
|
|
/**
|
|
* PID dTime
|
|
* units: ms
|
|
* offset 14
|
|
*/
|
|
int16_t periodMs;
|
|
/**
|
|
* Output Min Duty Cycle
|
|
* offset 16
|
|
*/
|
|
int16_t minValue;
|
|
/**
|
|
* Output Max Duty Cycle
|
|
* offset 18
|
|
*/
|
|
int16_t maxValue;
|
|
};
|
|
static_assert(sizeof(pid_s) == 20);
|
|
|
|
// start of MsIoBox_config_s
|
|
struct MsIoBox_config_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
MsIoBoxId id;
|
|
/**
|
|
* offset 1
|
|
*/
|
|
MsIoBoxVss vss;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 2
|
|
*/
|
|
uint8_t alignmentFill_at_2[2] = {};
|
|
};
|
|
static_assert(sizeof(MsIoBox_config_s) == 4);
|
|
|
|
// start of cranking_parameters_s
|
|
struct cranking_parameters_s {
|
|
/**
|
|
* 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.
|
|
* units: mg
|
|
* offset 0
|
|
*/
|
|
float baseFuel;
|
|
/**
|
|
* This sets the RPM limit below which the ECU will use cranking fuel and ignition logic, typically this is around 350-450rpm.
|
|
* set cranking_rpm X
|
|
* units: RPM
|
|
* offset 4
|
|
*/
|
|
int16_t rpm;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 6
|
|
*/
|
|
uint8_t alignmentFill_at_6[2] = {};
|
|
};
|
|
static_assert(sizeof(cranking_parameters_s) == 8);
|
|
|
|
// start of gppwm_channel
|
|
struct gppwm_channel {
|
|
/**
|
|
* Select a pin to use for PWM or on-off output.
|
|
* offset 0
|
|
*/
|
|
output_pin_e pin;
|
|
/**
|
|
* 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.
|
|
* units: %
|
|
* offset 2
|
|
*/
|
|
uint8_t dutyIfError;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3
|
|
*/
|
|
uint8_t alignmentFill_at_3[1] = {};
|
|
/**
|
|
* Select a frequency to run PWM at.
|
|
* Set this to 0hz to enable on-off mode.
|
|
* units: hz
|
|
* offset 4
|
|
*/
|
|
uint16_t pwmFrequency;
|
|
/**
|
|
* Hysteresis: in on-off mode, turn the output on when the table value is above this duty.
|
|
* units: %
|
|
* offset 6
|
|
*/
|
|
uint8_t onAboveDuty;
|
|
/**
|
|
* Hysteresis: in on-off mode, turn the output off when the table value is below this duty.
|
|
* units: %
|
|
* offset 7
|
|
*/
|
|
uint8_t offBelowDuty;
|
|
/**
|
|
* Selects the Y axis to use for the table.
|
|
* offset 8
|
|
*/
|
|
gppwm_channel_e loadAxis;
|
|
/**
|
|
* Selects the X axis to use for the table.
|
|
* offset 9
|
|
*/
|
|
gppwm_channel_e rpmAxis;
|
|
/**
|
|
* offset 10
|
|
*/
|
|
scaled_channel<int16_t, 2, 1> loadBins[GPPWM_LOAD_COUNT] = {};
|
|
/**
|
|
* offset 26
|
|
*/
|
|
int16_t rpmBins[GPPWM_RPM_COUNT] = {};
|
|
/**
|
|
* units: duty
|
|
* offset 42
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> table[GPPWM_LOAD_COUNT][GPPWM_RPM_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 106
|
|
*/
|
|
uint8_t alignmentFill_at_106[2] = {};
|
|
};
|
|
static_assert(sizeof(gppwm_channel) == 108);
|
|
|
|
// start of air_pressure_sensor_config_s
|
|
struct air_pressure_sensor_config_s {
|
|
/**
|
|
* kPa value at low volts
|
|
* units: kpa
|
|
* offset 0
|
|
*/
|
|
float lowValue;
|
|
/**
|
|
* kPa value at high volts
|
|
* units: kpa
|
|
* offset 4
|
|
*/
|
|
float highValue;
|
|
/**
|
|
* offset 8
|
|
*/
|
|
air_pressure_sensor_type_e type;
|
|
/**
|
|
* offset 9
|
|
*/
|
|
adc_channel_e hwChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 10
|
|
*/
|
|
uint8_t alignmentFill_at_10[2] = {};
|
|
};
|
|
static_assert(sizeof(air_pressure_sensor_config_s) == 12);
|
|
|
|
// start of MAP_sensor_config_s
|
|
struct MAP_sensor_config_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
float samplingAngleBins[MAP_ANGLE_SIZE] = {};
|
|
/**
|
|
* MAP averaging sampling start crank degree angle
|
|
* units: deg
|
|
* offset 32
|
|
*/
|
|
float samplingAngle[MAP_ANGLE_SIZE] = {};
|
|
/**
|
|
* offset 64
|
|
*/
|
|
float samplingWindowBins[MAP_WINDOW_SIZE] = {};
|
|
/**
|
|
* MAP averaging angle crank degree duration
|
|
* units: deg
|
|
* offset 96
|
|
*/
|
|
float samplingWindow[MAP_WINDOW_SIZE] = {};
|
|
/**
|
|
* offset 128
|
|
*/
|
|
air_pressure_sensor_config_s sensor;
|
|
};
|
|
static_assert(sizeof(MAP_sensor_config_s) == 140);
|
|
|
|
/**
|
|
* @brief Thermistor known values
|
|
|
|
*/
|
|
// start of thermistor_conf_s
|
|
struct thermistor_conf_s {
|
|
/**
|
|
* these values are in Celcius
|
|
* units: *C
|
|
* offset 0
|
|
*/
|
|
float tempC_1;
|
|
/**
|
|
* units: *C
|
|
* offset 4
|
|
*/
|
|
float tempC_2;
|
|
/**
|
|
* units: *C
|
|
* offset 8
|
|
*/
|
|
float tempC_3;
|
|
/**
|
|
* units: Ohm
|
|
* offset 12
|
|
*/
|
|
float resistance_1;
|
|
/**
|
|
* units: Ohm
|
|
* offset 16
|
|
*/
|
|
float resistance_2;
|
|
/**
|
|
* units: Ohm
|
|
* offset 20
|
|
*/
|
|
float resistance_3;
|
|
/**
|
|
* Pull-up resistor value on your board
|
|
* units: Ohm
|
|
* offset 24
|
|
*/
|
|
float bias_resistor;
|
|
};
|
|
static_assert(sizeof(thermistor_conf_s) == 28);
|
|
|
|
// start of linear_sensor_s
|
|
struct linear_sensor_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
adc_channel_e hwChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1
|
|
*/
|
|
uint8_t alignmentFill_at_1[3] = {};
|
|
/**
|
|
* units: volts
|
|
* offset 4
|
|
*/
|
|
float v1;
|
|
/**
|
|
* offset 8
|
|
*/
|
|
float value1;
|
|
/**
|
|
* units: volts
|
|
* offset 12
|
|
*/
|
|
float v2;
|
|
/**
|
|
* offset 16
|
|
*/
|
|
float value2;
|
|
};
|
|
static_assert(sizeof(linear_sensor_s) == 20);
|
|
|
|
// start of ThermistorConf
|
|
struct ThermistorConf {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
thermistor_conf_s config;
|
|
/**
|
|
* offset 28
|
|
*/
|
|
adc_channel_e adcChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 29
|
|
*/
|
|
uint8_t alignmentFill_at_29[3] = {};
|
|
};
|
|
static_assert(sizeof(ThermistorConf) == 32);
|
|
|
|
// start of injector_s
|
|
struct injector_s {
|
|
/**
|
|
* This is your injector flow at the fuel pressure used in the vehicle
|
|
* See units setting below
|
|
* offset 0
|
|
*/
|
|
float flow;
|
|
/**
|
|
* units: volts
|
|
* offset 4
|
|
*/
|
|
float battLagCorrBins[VBAT_INJECTOR_CURVE_SIZE] = {};
|
|
/**
|
|
* ms delay between injector open and close dead times
|
|
* units: ms
|
|
* offset 36
|
|
*/
|
|
float battLagCorr[VBAT_INJECTOR_CURVE_SIZE] = {};
|
|
};
|
|
static_assert(sizeof(injector_s) == 68);
|
|
|
|
// start of trigger_config_s
|
|
struct trigger_config_s {
|
|
/**
|
|
* https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers
|
|
* offset 0
|
|
*/
|
|
trigger_type_e type;
|
|
/**
|
|
* units: number
|
|
* offset 4
|
|
*/
|
|
int customTotalToothCount;
|
|
/**
|
|
* units: number
|
|
* offset 8
|
|
*/
|
|
int customSkippedToothCount;
|
|
};
|
|
static_assert(sizeof(trigger_config_s) == 12);
|
|
|
|
// start of afr_sensor_s
|
|
struct afr_sensor_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
adc_channel_e hwChannel;
|
|
/**
|
|
* offset 1
|
|
*/
|
|
adc_channel_e hwChannel2;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 2
|
|
*/
|
|
uint8_t alignmentFill_at_2[2] = {};
|
|
/**
|
|
* units: volts
|
|
* offset 4
|
|
*/
|
|
float v1;
|
|
/**
|
|
* units: AFR
|
|
* offset 8
|
|
*/
|
|
float value1;
|
|
/**
|
|
* units: volts
|
|
* offset 12
|
|
*/
|
|
float v2;
|
|
/**
|
|
* units: AFR
|
|
* offset 16
|
|
*/
|
|
float value2;
|
|
};
|
|
static_assert(sizeof(afr_sensor_s) == 20);
|
|
|
|
// start of idle_hardware_s
|
|
struct idle_hardware_s {
|
|
/**
|
|
* units: Hz
|
|
* offset 0
|
|
*/
|
|
int solenoidFrequency;
|
|
/**
|
|
* offset 4
|
|
*/
|
|
output_pin_e solenoidPin;
|
|
/**
|
|
* offset 6
|
|
*/
|
|
Gpio stepperDirectionPin;
|
|
/**
|
|
* offset 8
|
|
*/
|
|
Gpio stepperStepPin;
|
|
/**
|
|
* offset 10
|
|
*/
|
|
pin_output_mode_e solenoidPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 11
|
|
*/
|
|
uint8_t alignmentFill_at_11[1] = {};
|
|
};
|
|
static_assert(sizeof(idle_hardware_s) == 12);
|
|
|
|
// start of dc_io
|
|
struct dc_io {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
Gpio directionPin1;
|
|
/**
|
|
* offset 2
|
|
*/
|
|
Gpio directionPin2;
|
|
/**
|
|
* Acts as EN pin in two-wire mode
|
|
* offset 4
|
|
*/
|
|
Gpio controlPin;
|
|
/**
|
|
* offset 6
|
|
*/
|
|
Gpio disablePin;
|
|
};
|
|
static_assert(sizeof(dc_io) == 8);
|
|
|
|
// start of vr_threshold_s
|
|
struct vr_threshold_s {
|
|
/**
|
|
* units: rpm
|
|
* offset 0
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> rpmBins[6] = {};
|
|
/**
|
|
* units: volts
|
|
* offset 6
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> values[6] = {};
|
|
/**
|
|
* offset 12
|
|
*/
|
|
Gpio pin;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 14
|
|
*/
|
|
uint8_t alignmentFill_at_14[2] = {};
|
|
};
|
|
static_assert(sizeof(vr_threshold_s) == 16);
|
|
|
|
// start of engine_configuration_s
|
|
struct engine_configuration_s {
|
|
/**
|
|
* http://rusefi.com/wiki/index.php?title=Manual:Engine_Type
|
|
* set engine_type X
|
|
* offset 0
|
|
*/
|
|
engine_type_e engineType;
|
|
/**
|
|
* offset 2
|
|
*/
|
|
uint16_t startButtonSuppressOnStartUpMs;
|
|
/**
|
|
* Disable sensor sniffer above this rpm
|
|
* units: RPM
|
|
* offset 4
|
|
*/
|
|
uint16_t sensorSnifferRpmThreshold;
|
|
/**
|
|
* A secondary Rev limit engaged by the driver to help launch the vehicle faster
|
|
* units: rpm
|
|
* offset 6
|
|
*/
|
|
uint16_t launchRpm;
|
|
/**
|
|
* set rpm_hard_limit X
|
|
* units: rpm
|
|
* offset 8
|
|
*/
|
|
uint16_t rpmHardLimit;
|
|
/**
|
|
* Engine sniffer would be disabled above this rpm
|
|
* set engineSnifferRpmThreshold X
|
|
* units: RPM
|
|
* offset 10
|
|
*/
|
|
uint16_t engineSnifferRpmThreshold;
|
|
/**
|
|
* Disable multispark above this engine speed.
|
|
* units: rpm
|
|
* offset 12
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> multisparkMaxRpm;
|
|
/**
|
|
* Above this RPM, disable AC. Set to 0 to disable check.
|
|
* units: rpm
|
|
* offset 13
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> maxAcRpm;
|
|
/**
|
|
* Above this TPS, disable AC. Set to 0 to disable check.
|
|
* units: %
|
|
* offset 14
|
|
*/
|
|
uint8_t maxAcTps;
|
|
/**
|
|
* Above this CLT, disable AC to prevent overheating the engine. Set to 0 to disable check.
|
|
* units: deg C
|
|
* offset 15
|
|
*/
|
|
uint8_t maxAcClt;
|
|
/**
|
|
* Just for reference really, not taken into account by any logic at this point
|
|
* units: CR
|
|
* offset 16
|
|
*/
|
|
float compressionRatio;
|
|
/**
|
|
* Voltage when the wastegate is closed.
|
|
* You probably don't have one of these!
|
|
* units: mv
|
|
* offset 20
|
|
*/
|
|
uint16_t wastegatePositionMin;
|
|
/**
|
|
* Voltage when the wastegate is fully open.
|
|
* You probably don't have one of these!
|
|
* 1 volt = 1000 units
|
|
* units: mv
|
|
* offset 22
|
|
*/
|
|
uint16_t wastegatePositionMax;
|
|
/**
|
|
* Voltage when the idle valve is closed.
|
|
* You probably don't have one of these!
|
|
* units: mv
|
|
* offset 24
|
|
*/
|
|
uint16_t idlePositionMin;
|
|
/**
|
|
* Voltage when the idle valve is open.
|
|
* You probably don't have one of these!
|
|
* 1 volt = 1000 units
|
|
* units: mv
|
|
* offset 26
|
|
*/
|
|
uint16_t idlePositionMax;
|
|
/**
|
|
* offset 28
|
|
*/
|
|
output_pin_e mainRelayPin;
|
|
/**
|
|
* offset 30
|
|
*/
|
|
Gpio sdCardCsPin;
|
|
/**
|
|
* offset 32
|
|
*/
|
|
Gpio canTxPin;
|
|
/**
|
|
* offset 34
|
|
*/
|
|
Gpio canRxPin;
|
|
/**
|
|
* Pin that activates the reduction/cut for shifting. Sometimes shared with the Launch Control pin
|
|
* offset 36
|
|
*/
|
|
switch_input_pin_e torqueReductionTriggerPin;
|
|
/**
|
|
* units: %
|
|
* offset 38
|
|
*/
|
|
int8_t launchFuelAdderPercent;
|
|
/**
|
|
* Time after which the throttle is considered jammed.
|
|
* units: sec
|
|
* offset 39
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> etbJamTimeout;
|
|
/**
|
|
* offset 40
|
|
*/
|
|
output_pin_e tachOutputPin;
|
|
/**
|
|
* offset 42
|
|
*/
|
|
pin_output_mode_e tachOutputPinMode;
|
|
/**
|
|
* Additional idle % while A/C is active
|
|
* units: %
|
|
* offset 43
|
|
*/
|
|
uint8_t acIdleExtraOffset;
|
|
/**
|
|
* Value between 0 and 100 used in Manual mode
|
|
* units: %
|
|
* offset 44
|
|
*/
|
|
float manIdlePosition;
|
|
/**
|
|
* 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.
|
|
* units: deg
|
|
* offset 48
|
|
*/
|
|
uint8_t multisparkMaxSparkingAngle;
|
|
/**
|
|
* Configures the maximum number of extra sparks to fire (does not include main spark)
|
|
* units: count
|
|
* offset 49
|
|
*/
|
|
uint8_t multisparkMaxExtraSparkCount;
|
|
/**
|
|
* units: RPM
|
|
* offset 50
|
|
*/
|
|
int16_t vvtControlMinRpm;
|
|
/**
|
|
* offset 52
|
|
*/
|
|
injector_s injector;
|
|
/**
|
|
* offset 120
|
|
*/
|
|
injector_s injectorSecondary;
|
|
/**
|
|
* Does the vehicle have a turbo or supercharger?
|
|
offset 188 bit 0 */
|
|
bool isForcedInduction : 1 {};
|
|
/**
|
|
* On some Ford and Toyota vehicles one of the throttle sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor.
|
|
offset 188 bit 1 */
|
|
bool useFordRedundantTps : 1 {};
|
|
/**
|
|
offset 188 bit 2 */
|
|
bool enableKline : 1 {};
|
|
/**
|
|
offset 188 bit 3 */
|
|
bool overrideTriggerGaps : 1 {};
|
|
/**
|
|
* Turn on this fan when AC is on.
|
|
offset 188 bit 4 */
|
|
bool enableFan1WithAc : 1 {};
|
|
/**
|
|
* Turn on this fan when AC is on.
|
|
offset 188 bit 5 */
|
|
bool enableFan2WithAc : 1 {};
|
|
/**
|
|
* Inhibit operation of this fan while the engine is not running.
|
|
offset 188 bit 6 */
|
|
bool disableFan1WhenStopped : 1 {};
|
|
/**
|
|
* Inhibit operation of this fan while the engine is not running.
|
|
offset 188 bit 7 */
|
|
bool disableFan2WhenStopped : 1 {};
|
|
/**
|
|
* Enable secondary spark outputs that fire after the primary (rotaries, twin plug engines).
|
|
offset 188 bit 8 */
|
|
bool enableTrailingSparks : 1 {};
|
|
/**
|
|
* TLE7209 and L6205 use two-wire mode. TLE9201 and VNH2SP30 do NOT use two wire mode.
|
|
offset 188 bit 9 */
|
|
bool etb_use_two_wires : 1 {};
|
|
/**
|
|
* 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 188 bit 10 */
|
|
bool isDoubleSolenoidIdle : 1 {};
|
|
/**
|
|
offset 188 bit 11 */
|
|
bool useEeprom : 1 {};
|
|
/**
|
|
* Switch between Industrial and Cic PID implementation
|
|
offset 188 bit 12 */
|
|
bool useCicPidForIdle : 1 {};
|
|
/**
|
|
offset 188 bit 13 */
|
|
bool useTLE8888_cranking_hack : 1 {};
|
|
/**
|
|
offset 188 bit 14 */
|
|
bool kickStartCranking : 1 {};
|
|
/**
|
|
* 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 188 bit 15 */
|
|
bool useSeparateIdleTablesForCrankingTaper : 1 {};
|
|
/**
|
|
offset 188 bit 16 */
|
|
bool launchControlEnabled : 1 {};
|
|
/**
|
|
* "Detect double trigger edges"
|
|
offset 188 bit 17 */
|
|
bool doNotFilterTriggerEdgeNoise : 1 {};
|
|
/**
|
|
offset 188 bit 18 */
|
|
bool antiLagEnabled : 1 {};
|
|
/**
|
|
* For cranking either use the specified fixed base fuel mass, or use the normal running math (VE table).
|
|
offset 188 bit 19 */
|
|
bool useRunningMathForCranking : 1 {};
|
|
/**
|
|
* Shall we display real life signal or just the part consumed by trigger decoder.
|
|
* Applies to both trigger and cam/vvt input.
|
|
*
|
|
* enable logic_level_trigger
|
|
offset 188 bit 20 */
|
|
bool displayLogicLevelsInEngineSniffer : 1 {};
|
|
/**
|
|
offset 188 bit 21 */
|
|
bool useTLE8888_stepper : 1 {};
|
|
/**
|
|
offset 188 bit 22 */
|
|
bool usescriptTableForCanSniffingFiltering : 1 {};
|
|
/**
|
|
* Print incoming and outgoing first bus CAN messages in rusEFI console
|
|
offset 188 bit 23 */
|
|
bool verboseCan : 1 {};
|
|
/**
|
|
* Experimental setting that will cause a misfire
|
|
* DO NOT ENABLE.
|
|
offset 188 bit 24 */
|
|
bool artificialTestMisfire : 1 {};
|
|
/**
|
|
* On some Ford and Toyota vehicles one of the pedal sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor.
|
|
offset 188 bit 25 */
|
|
bool useFordRedundantPps : 1 {};
|
|
/**
|
|
offset 188 bit 26 */
|
|
bool cltSensorPulldown : 1 {};
|
|
/**
|
|
offset 188 bit 27 */
|
|
bool iatSensorPulldown : 1 {};
|
|
/**
|
|
offset 188 bit 28 */
|
|
bool allowIdenticalPps : 1 {};
|
|
/**
|
|
offset 188 bit 29 */
|
|
bool overrideVvtTriggerGaps : 1 {};
|
|
/**
|
|
* If enabled - use onboard SPI Accelerometer, otherwise listen for CAN messages
|
|
offset 188 bit 30 */
|
|
bool useSpiImu : 1 {};
|
|
/**
|
|
offset 188 bit 31 */
|
|
bool enableStagedInjection : 1 {};
|
|
/**
|
|
* Closed throttle, 1 volt = 200 units.
|
|
* See also tps1_1AdcChannel
|
|
* set tps_min X
|
|
* units: ADC
|
|
* offset 192
|
|
*/
|
|
int16_t tpsMin;
|
|
/**
|
|
* Full throttle.
|
|
* See also tps1_1AdcChannel
|
|
* set tps_max X
|
|
* units: ADC
|
|
* offset 194
|
|
*/
|
|
int16_t tpsMax;
|
|
/**
|
|
* TPS error detection: what throttle % is unrealistically low?
|
|
* Also used for accelerator pedal error detection if so equipped.
|
|
* units: %
|
|
* offset 196
|
|
*/
|
|
int16_t tpsErrorDetectionTooLow;
|
|
/**
|
|
* TPS error detection: what throttle % is unrealistically high?
|
|
* Also used for accelerator pedal error detection if so equipped.
|
|
* units: %
|
|
* offset 198
|
|
*/
|
|
int16_t tpsErrorDetectionTooHigh;
|
|
/**
|
|
* offset 200
|
|
*/
|
|
cranking_parameters_s cranking;
|
|
/**
|
|
* Dwell duration while cranking
|
|
* units: ms
|
|
* offset 208
|
|
*/
|
|
float ignitionDwellForCrankingMs;
|
|
/**
|
|
* Once engine speed passes this value, start reducing ETB angle.
|
|
* units: rpm
|
|
* offset 212
|
|
*/
|
|
uint16_t etbRevLimitStart;
|
|
/**
|
|
* 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.
|
|
* units: rpm
|
|
* offset 214
|
|
*/
|
|
uint16_t etbRevLimitRange;
|
|
/**
|
|
* @see isMapAveragingEnabled
|
|
* offset 216
|
|
*/
|
|
MAP_sensor_config_s map;
|
|
/**
|
|
* todo: merge with channel settings, use full-scale Thermistor here!
|
|
* offset 356
|
|
*/
|
|
ThermistorConf clt;
|
|
/**
|
|
* offset 388
|
|
*/
|
|
ThermistorConf iat;
|
|
/**
|
|
* units: deg
|
|
* offset 420
|
|
*/
|
|
float launchTimingRetard;
|
|
/**
|
|
* value '6' for 8MHz hw osc
|
|
* read hip9011 datasheet for details
|
|
* todo split into two bit fields
|
|
* units: integer
|
|
* offset 424
|
|
*/
|
|
uint8_t hip9011Prescaler;
|
|
/**
|
|
* offset 425
|
|
*/
|
|
uint8_t unusedHip0;
|
|
/**
|
|
* offset 426
|
|
*/
|
|
uint8_t unusedHip1;
|
|
/**
|
|
* offset 427
|
|
*/
|
|
uint8_t unusedHip2;
|
|
/**
|
|
* iTerm min value
|
|
* offset 428
|
|
*/
|
|
int16_t alternator_iTermMin;
|
|
/**
|
|
* iTerm max value
|
|
* offset 430
|
|
*/
|
|
int16_t alternator_iTermMax;
|
|
/**
|
|
* @@DISPLACEMENT_TOOLTIP@@
|
|
* units: L
|
|
* offset 432
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> displacement;
|
|
/**
|
|
* units: RPM
|
|
* offset 434
|
|
*/
|
|
uint16_t triggerSimulatorRpm;
|
|
/**
|
|
* Number of cylinder the engine has.
|
|
* offset 436
|
|
*/
|
|
uint32_t cylindersCount;
|
|
/**
|
|
* offset 440
|
|
*/
|
|
firing_order_e firingOrder;
|
|
/**
|
|
* offset 441
|
|
*/
|
|
uint8_t justATempTest;
|
|
/**
|
|
* Delta kPa for MAP sync
|
|
* units: kPa
|
|
* offset 442
|
|
*/
|
|
uint8_t mapSyncThreshold;
|
|
/**
|
|
* How many % of ignition events will be cut
|
|
* units: %
|
|
* offset 443
|
|
*/
|
|
int8_t torqueReductionIgnitionCut;
|
|
/**
|
|
* @@CYLINDER_BORE_TOOLTIP@@
|
|
* units: mm
|
|
* offset 444
|
|
*/
|
|
float cylinderBore;
|
|
/**
|
|
* This setting controls which fuel quantity control algorithm is used.
|
|
* 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 448
|
|
*/
|
|
engine_load_mode_e fuelAlgorithm;
|
|
/**
|
|
* units: %
|
|
* offset 449
|
|
*/
|
|
uint8_t ALSMaxTPS;
|
|
/**
|
|
* This is the injection strategy during engine start. See Fuel/Injection settings for more detail. It is suggested to use "Simultaneous".
|
|
* offset 450
|
|
*/
|
|
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.
|
|
* offset 451
|
|
*/
|
|
injection_mode_e injectionMode;
|
|
/**
|
|
* Minimum RPM to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases.
|
|
* offset 452
|
|
*/
|
|
uint16_t boostControlMinRpm;
|
|
/**
|
|
* Minimum TPS to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases.
|
|
* offset 454
|
|
*/
|
|
uint8_t boostControlMinTps;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 455
|
|
*/
|
|
uint8_t alignmentFill_at_455[1] = {};
|
|
/**
|
|
* Minimum MAP to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases.
|
|
* offset 456
|
|
*/
|
|
uint16_t boostControlMinMap;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 458
|
|
*/
|
|
uint8_t alignmentFill_at_458[2] = {};
|
|
/**
|
|
* Ignition advance angle used during engine cranking, 5-10 degrees will work as a base setting for most engines.
|
|
* There is tapering towards running timing advance
|
|
* set cranking_timing_angle X
|
|
* units: deg
|
|
* offset 460
|
|
*/
|
|
angle_t crankingTimingAngle;
|
|
/**
|
|
* 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 464
|
|
*/
|
|
ignition_mode_e ignitionMode;
|
|
/**
|
|
* How many consecutive gap rations have to match expected ranges for sync to happen
|
|
* units: count
|
|
* offset 465
|
|
*/
|
|
int8_t gapTrackingLengthOverride;
|
|
/**
|
|
* Above this speed, disable closed loop idle control. Set to 0 to disable (allow closed loop idle at any speed).
|
|
* units: kph
|
|
* offset 466
|
|
*/
|
|
uint8_t maxIdleVss;
|
|
/**
|
|
* offset 467
|
|
*/
|
|
uint8_t camDecoder2jzPrecision;
|
|
/**
|
|
* 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.
|
|
* units: kPa
|
|
* offset 468
|
|
*/
|
|
uint16_t minOilPressureAfterStart;
|
|
/**
|
|
* 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 470
|
|
*/
|
|
timing_mode_e timingMode;
|
|
/**
|
|
* offset 471
|
|
*/
|
|
can_nbc_e canNbcType;
|
|
/**
|
|
* This value is the ignition timing used when in 'fixed timing' mode, i.e. constant timing
|
|
* This mode is useful when adjusting distributor location.
|
|
* units: RPM
|
|
* offset 472
|
|
*/
|
|
angle_t fixedModeTiming;
|
|
/**
|
|
* Angle between Top Dead Center (TDC) and the first trigger event.
|
|
* Positive value in case of synchronization point before TDC and negative in case of synchronization point after TDC
|
|
* .Knowing this angle allows us to control timing and other angles in reference to TDC.
|
|
* HOWTO:
|
|
* 1: Switch to fixed timing mode on 'ignition setting' dialog
|
|
* 2: use an actual timing light to calibrate
|
|
* 3: add/subtract until timing light confirms desired fixed timing value!'
|
|
* units: deg btdc
|
|
* offset 476
|
|
*/
|
|
angle_t globalTriggerAngleOffset;
|
|
/**
|
|
* 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.
|
|
* units: coef
|
|
* offset 480
|
|
*/
|
|
float analogInputDividerCoefficient;
|
|
/**
|
|
* 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.
|
|
* units: coef
|
|
* offset 484
|
|
*/
|
|
float vbattDividerCoeff;
|
|
/**
|
|
* Cooling fan turn-on temperature threshold, in Celsius
|
|
* units: deg C
|
|
* offset 488
|
|
*/
|
|
float fanOnTemperature;
|
|
/**
|
|
* Cooling fan turn-off temperature threshold, in Celsius
|
|
* units: deg C
|
|
* offset 492
|
|
*/
|
|
float fanOffTemperature;
|
|
/**
|
|
* offset 496
|
|
*/
|
|
output_pin_e acrPin;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 498
|
|
*/
|
|
uint8_t alignmentFill_at_498[2] = {};
|
|
/**
|
|
* 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.
|
|
* units: revs/km
|
|
* offset 500
|
|
*/
|
|
float driveWheelRevPerKm;
|
|
/**
|
|
* CANbus thread period in ms
|
|
* units: ms
|
|
* offset 504
|
|
*/
|
|
int canSleepPeriodMs;
|
|
/**
|
|
* units: index
|
|
* offset 508
|
|
*/
|
|
int byFirmwareVersion;
|
|
/**
|
|
* First throttle body, first sensor. See also pedalPositionAdcChannel
|
|
* offset 512
|
|
*/
|
|
adc_channel_e tps1_1AdcChannel;
|
|
/**
|
|
* 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
|
|
*/
|
|
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
|
|
* offset 515
|
|
*/
|
|
adc_channel_e tps2_1AdcChannel;
|
|
/**
|
|
* 0.1 is a good default value
|
|
* units: x
|
|
* offset 516
|
|
*/
|
|
float idle_derivativeFilterLoss;
|
|
/**
|
|
* offset 520
|
|
*/
|
|
trigger_config_s trigger;
|
|
/**
|
|
* Extra air taper amount
|
|
* units: %
|
|
* offset 532
|
|
*/
|
|
float airByRpmTaper;
|
|
/**
|
|
* offset 536
|
|
*/
|
|
spi_device_e hip9011SpiDevice;
|
|
/**
|
|
* Duty cycle to use in case of a sensor failure. This duty cycle should produce the minimum possible amount of boost. This duty is also used in case any of the minimum RPM/TPS/MAP conditions are not met.
|
|
* units: %
|
|
* offset 537
|
|
*/
|
|
uint8_t boostControlSafeDutyCycle;
|
|
/**
|
|
* offset 538
|
|
*/
|
|
adc_channel_e mafAdcChannel;
|
|
/**
|
|
* offset 539
|
|
*/
|
|
uint8_t acrRevolutions;
|
|
/**
|
|
* offset 540
|
|
*/
|
|
int calibrationBirthday;
|
|
/**
|
|
* units: volts
|
|
* offset 544
|
|
*/
|
|
float adcVcc;
|
|
/**
|
|
* Magic engine phase: we compare instant MAP at X to instant MAP at x+360 angle in one complete cycle
|
|
* units: Deg
|
|
* offset 548
|
|
*/
|
|
float mapCamDetectionAnglePosition;
|
|
/**
|
|
* 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 552
|
|
*/
|
|
brain_input_pin_e camInputs[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* offset 560
|
|
*/
|
|
afr_sensor_s afr;
|
|
/**
|
|
* Electronic throttle pedal position first channel
|
|
* See throttlePedalPositionSecondAdcChannel for second channel
|
|
* See also tps1_1AdcChannel
|
|
* See throttlePedalUpVoltage and throttlePedalWOTVoltage
|
|
* offset 580
|
|
*/
|
|
adc_channel_e throttlePedalPositionAdcChannel;
|
|
/**
|
|
* TPS/PPS error threshold
|
|
* units: %
|
|
* offset 581
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> etbSplit;
|
|
/**
|
|
* offset 582
|
|
*/
|
|
Gpio tle6240_cs;
|
|
/**
|
|
* offset 584
|
|
*/
|
|
pin_output_mode_e tle6240_csPinMode;
|
|
/**
|
|
* offset 585
|
|
*/
|
|
pin_output_mode_e mc33810_csPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 586
|
|
*/
|
|
uint8_t alignmentFill_at_586[2] = {};
|
|
/**
|
|
* @see hasBaroSensor
|
|
* offset 588
|
|
*/
|
|
air_pressure_sensor_config_s baroSensor;
|
|
/**
|
|
* offset 600
|
|
*/
|
|
idle_hardware_s idle;
|
|
/**
|
|
* Ignition timing to remove when a knock event occurs. Advice: 5% (mild), 10% (turbo/high comp.), 15% (high knock, e.g. GDI), 20% (spicy lump),
|
|
* units: %
|
|
* offset 612
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> knockRetardAggression;
|
|
/**
|
|
* After a knock event, reapply timing at this rate.
|
|
* units: deg/s
|
|
* offset 613
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> knockRetardReapplyRate;
|
|
/**
|
|
* Select which cam is used for engine sync. Other cams will be used only for VVT measurement, but not engine sync.
|
|
* offset 614
|
|
*/
|
|
engineSyncCam_e engineSyncCam;
|
|
/**
|
|
* offset 615
|
|
*/
|
|
pin_output_mode_e sdCardCsPinMode;
|
|
/**
|
|
* 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.
|
|
* units: ratio
|
|
* offset 616
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> vssGearRatio;
|
|
/**
|
|
* Set this so your vehicle speed signal is responsive, but not noisy. Larger value give smoother but slower response.
|
|
* offset 618
|
|
*/
|
|
uint8_t vssFilterReciprocal;
|
|
/**
|
|
* 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.
|
|
* units: count
|
|
* offset 619
|
|
*/
|
|
uint8_t vssToothCount;
|
|
/**
|
|
* Override the Y axis (load) value used for only the Idle VE table.
|
|
* Advanced users only: If you aren't sure you need this, you probably don't need this.
|
|
* offset 620
|
|
*/
|
|
ve_override_e idleVeOverrideMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 621
|
|
*/
|
|
uint8_t alignmentFill_at_621[1] = {};
|
|
/**
|
|
* offset 622
|
|
*/
|
|
Gpio l9779_cs;
|
|
/**
|
|
* offset 624
|
|
*/
|
|
output_pin_e injectionPins[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* offset 648
|
|
*/
|
|
output_pin_e ignitionPins[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* offset 672
|
|
*/
|
|
pin_output_mode_e injectionPinMode;
|
|
/**
|
|
* offset 673
|
|
*/
|
|
pin_output_mode_e ignitionPinMode;
|
|
/**
|
|
* offset 674
|
|
*/
|
|
output_pin_e fuelPumpPin;
|
|
/**
|
|
* offset 676
|
|
*/
|
|
pin_output_mode_e fuelPumpPinMode;
|
|
/**
|
|
* How many consecutive VVT gap rations have to match expected ranges for sync to happen
|
|
* units: count
|
|
* offset 677
|
|
*/
|
|
int8_t gapVvtTrackingLengthOverride;
|
|
/**
|
|
* Check engine light, also malfunction indicator light. Always blinks once on boot.
|
|
* offset 678
|
|
*/
|
|
output_pin_e malfunctionIndicatorPin;
|
|
/**
|
|
* offset 680
|
|
*/
|
|
pin_output_mode_e malfunctionIndicatorPinMode;
|
|
/**
|
|
* offset 681
|
|
*/
|
|
pin_output_mode_e fanPinMode;
|
|
/**
|
|
* offset 682
|
|
*/
|
|
output_pin_e fanPin;
|
|
/**
|
|
* Some cars have a switch to indicate that clutch pedal is all the way down
|
|
* offset 684
|
|
*/
|
|
switch_input_pin_e clutchDownPin;
|
|
/**
|
|
* offset 686
|
|
*/
|
|
output_pin_e alternatorControlPin;
|
|
/**
|
|
* offset 688
|
|
*/
|
|
pin_output_mode_e alternatorControlPinMode;
|
|
/**
|
|
* offset 689
|
|
*/
|
|
pin_input_mode_e clutchDownPinMode;
|
|
/**
|
|
* offset 690
|
|
*/
|
|
Gpio digitalPotentiometerChipSelect[DIGIPOT_COUNT] = {};
|
|
/**
|
|
* offset 698
|
|
*/
|
|
pin_output_mode_e electronicThrottlePin1Mode;
|
|
/**
|
|
* offset 699
|
|
*/
|
|
spi_device_e max31855spiDevice;
|
|
/**
|
|
* offset 700
|
|
*/
|
|
Gpio debugTriggerSync;
|
|
/**
|
|
* Digital Potentiometer is used by stock ECU stimulation code
|
|
* offset 702
|
|
*/
|
|
spi_device_e digitalPotentiometerSpiDevice;
|
|
/**
|
|
* offset 703
|
|
*/
|
|
pin_input_mode_e brakePedalPinMode;
|
|
/**
|
|
* offset 704
|
|
*/
|
|
Gpio mc33972_cs;
|
|
/**
|
|
* offset 706
|
|
*/
|
|
pin_output_mode_e mc33972_csPinMode;
|
|
/**
|
|
* Useful in Research&Development phase
|
|
* offset 707
|
|
*/
|
|
adc_channel_e auxFastSensor1_adcChannel;
|
|
/**
|
|
* First throttle body, second sensor.
|
|
* offset 708
|
|
*/
|
|
adc_channel_e tps1_2AdcChannel;
|
|
/**
|
|
* Second throttle body, second sensor.
|
|
* offset 709
|
|
*/
|
|
adc_channel_e tps2_2AdcChannel;
|
|
/**
|
|
* Electronic throttle pedal position input
|
|
* Second channel
|
|
* See also tps1_1AdcChannel
|
|
* See throttlePedalSecondaryUpVoltage and throttlePedalSecondaryWOTVoltage
|
|
* offset 710
|
|
*/
|
|
adc_channel_e throttlePedalPositionSecondAdcChannel;
|
|
/**
|
|
* AFR, WBO, EGO - whatever you like to call it
|
|
* offset 711
|
|
*/
|
|
ego_sensor_e afr_type;
|
|
/**
|
|
* offset 712
|
|
*/
|
|
Gpio mc33810_cs[C_MC33810_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 714
|
|
*/
|
|
uint8_t alignmentFill_at_714[2] = {};
|
|
/**
|
|
* 0.1 is a good default value
|
|
* units: x
|
|
* offset 716
|
|
*/
|
|
float idle_antiwindupFreq;
|
|
/**
|
|
* offset 720
|
|
*/
|
|
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT] = {};
|
|
/**
|
|
* Minimum allowed time for the boost phase. If the boost target current is reached before this time elapses, it is assumed that the injector has failed short circuit.
|
|
* units: us
|
|
* offset 724
|
|
*/
|
|
uint16_t mc33_t_min_boost;
|
|
/**
|
|
* offset 726
|
|
*/
|
|
pin_output_mode_e hip9011CsPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 727
|
|
*/
|
|
uint8_t alignmentFill_at_727[1] = {};
|
|
/**
|
|
* Ratio between the wheels and your transmission output.
|
|
* units: ratio
|
|
* offset 728
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> finalGearRatio;
|
|
/**
|
|
* offset 730
|
|
*/
|
|
brain_input_pin_e tcuInputSpeedSensorPin;
|
|
/**
|
|
* offset 732
|
|
*/
|
|
uint8_t tcuInputSpeedSensorTeeth;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 733
|
|
*/
|
|
uint8_t alignmentFill_at_733[1] = {};
|
|
/**
|
|
* 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 734
|
|
*/
|
|
Gpio triggerSimulatorPins[TRIGGER_SIMULATOR_PIN_COUNT] = {};
|
|
/**
|
|
* units: g/s
|
|
* offset 738
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> fordInjectorSmallPulseSlope;
|
|
/**
|
|
* offset 740
|
|
*/
|
|
pin_output_mode_e triggerSimulatorPinModes[TRIGGER_SIMULATOR_PIN_COUNT] = {};
|
|
/**
|
|
* offset 742
|
|
*/
|
|
adc_channel_e maf2AdcChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 743
|
|
*/
|
|
uint8_t alignmentFill_at_743[1] = {};
|
|
/**
|
|
* On-off O2 sensor heater control. 'ON' if engine is running, 'OFF' if stopped or cranking.
|
|
* offset 744
|
|
*/
|
|
output_pin_e o2heaterPin;
|
|
/**
|
|
* offset 746
|
|
*/
|
|
pin_output_mode_e o2heaterPinModeTodO;
|
|
/**
|
|
* units: RPM
|
|
* offset 747
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> lambdaProtectionMinRpm;
|
|
/**
|
|
* units: %
|
|
* offset 748
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> lambdaProtectionMinLoad;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 749
|
|
*/
|
|
uint8_t alignmentFill_at_749[3] = {};
|
|
/**
|
|
offset 752 bit 0 */
|
|
bool is_enabled_spi_1 : 1 {};
|
|
/**
|
|
offset 752 bit 1 */
|
|
bool is_enabled_spi_2 : 1 {};
|
|
/**
|
|
offset 752 bit 2 */
|
|
bool is_enabled_spi_3 : 1 {};
|
|
/**
|
|
* enable sd/disable sd
|
|
offset 752 bit 3 */
|
|
bool isSdCardEnabled : 1 {};
|
|
/**
|
|
* Use 11 bit (standard) or 29 bit (extended) IDs for rusEFI verbose CAN format.
|
|
offset 752 bit 4 */
|
|
bool rusefiVerbose29b : 1 {};
|
|
/**
|
|
offset 752 bit 5 */
|
|
bool rethrowHardFault : 1 {};
|
|
/**
|
|
offset 752 bit 6 */
|
|
bool isHip9011Enabled : 1 {};
|
|
/**
|
|
offset 752 bit 7 */
|
|
bool requireFootOnBrakeToCrank : 1 {};
|
|
/**
|
|
offset 752 bit 8 */
|
|
bool verboseQuad : 1 {};
|
|
/**
|
|
* This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed.
|
|
offset 752 bit 9 */
|
|
bool useStepperIdle : 1 {};
|
|
/**
|
|
offset 752 bit 10 */
|
|
bool enabledStep1Limiter : 1 {};
|
|
/**
|
|
offset 752 bit 11 */
|
|
bool useTpicAdvancedMode : 1 {};
|
|
/**
|
|
offset 752 bit 12 */
|
|
bool lambdaProtectionEnable : 1 {};
|
|
/**
|
|
offset 752 bit 13 */
|
|
bool verboseTLE8888 : 1 {};
|
|
/**
|
|
* CAN broadcast using custom rusEFI protocol
|
|
* enable can_broadcast/disable can_broadcast
|
|
offset 752 bit 14 */
|
|
bool enableVerboseCanTx : 1 {};
|
|
/**
|
|
offset 752 bit 15 */
|
|
bool externalRusEfiGdiModule : 1 {};
|
|
/**
|
|
offset 752 bit 16 */
|
|
bool flipWboChannels : 1 {};
|
|
/**
|
|
* Useful for individual intakes
|
|
offset 752 bit 17 */
|
|
bool measureMapOnlyInOneCylinder : 1 {};
|
|
/**
|
|
offset 752 bit 18 */
|
|
bool stepperForceParkingEveryRestart : 1 {};
|
|
/**
|
|
* 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 752 bit 19 */
|
|
bool isFasterEngineSpinUpEnabled : 1 {};
|
|
/**
|
|
* 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 752 bit 20 */
|
|
bool coastingFuelCutEnabled : 1 {};
|
|
/**
|
|
* Override the IAC position during overrun conditions to help reduce engine breaking, this can be helpful for large engines in light weight cars or engines that have trouble returning to idle.
|
|
offset 752 bit 21 */
|
|
bool useIacTableForCoasting : 1 {};
|
|
/**
|
|
offset 752 bit 22 */
|
|
bool useNoiselessTriggerDecoder : 1 {};
|
|
/**
|
|
offset 752 bit 23 */
|
|
bool useIdleTimingPidControl : 1 {};
|
|
/**
|
|
* 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 752 bit 24 */
|
|
bool disableEtbWhenEngineStopped : 1 {};
|
|
/**
|
|
offset 752 bit 25 */
|
|
bool is_enabled_spi_4 : 1 {};
|
|
/**
|
|
* 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 752 bit 26 */
|
|
bool pauseEtbControl : 1 {};
|
|
/**
|
|
offset 752 bit 27 */
|
|
bool tpsTpsPercentMode : 1 {};
|
|
/**
|
|
offset 752 bit 28 */
|
|
bool verboseKLine : 1 {};
|
|
/**
|
|
offset 752 bit 29 */
|
|
bool idleIncrementalPidCic : 1 {};
|
|
/**
|
|
* AEM X-Series or rusEFI Wideband
|
|
offset 752 bit 30 */
|
|
bool enableAemXSeries : 1 {};
|
|
/**
|
|
offset 752 bit 31 */
|
|
bool unused32nd : 1 {};
|
|
/**
|
|
* offset 756
|
|
*/
|
|
brain_input_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT] = {};
|
|
/**
|
|
* offset 764
|
|
*/
|
|
pin_output_mode_e mainRelayPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 765
|
|
*/
|
|
uint8_t alignmentFill_at_765[1] = {};
|
|
/**
|
|
* offset 766
|
|
*/
|
|
Gpio hip9011CsPin;
|
|
/**
|
|
* offset 768
|
|
*/
|
|
Gpio hip9011IntHoldPin;
|
|
/**
|
|
* offset 770
|
|
*/
|
|
pin_output_mode_e hip9011IntHoldPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 771
|
|
*/
|
|
uint8_t alignmentFill_at_771[1] = {};
|
|
/**
|
|
* offset 772
|
|
*/
|
|
uint32_t verboseCanBaseAddress;
|
|
/**
|
|
* Boost Voltage
|
|
* units: v
|
|
* offset 776
|
|
*/
|
|
uint8_t mc33_hvolt;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 777
|
|
*/
|
|
uint8_t alignmentFill_at_777[1] = {};
|
|
/**
|
|
* Minimum MAP before closed loop boost is enabled. Use to prevent misbehavior upon entering boost.
|
|
* units: kPa
|
|
* offset 778
|
|
*/
|
|
uint16_t minimumBoostClosedLoopMap;
|
|
/**
|
|
* units: %
|
|
* offset 780
|
|
*/
|
|
int8_t initialIgnitionCutPercent;
|
|
/**
|
|
* units: %
|
|
* offset 781
|
|
*/
|
|
int8_t finalIgnitionCutPercentBeforeLaunch;
|
|
/**
|
|
* offset 782
|
|
*/
|
|
gppwm_channel_e boostOpenLoopYAxis;
|
|
/**
|
|
* offset 783
|
|
*/
|
|
spi_device_e l9779spiDevice;
|
|
/**
|
|
* offset 784
|
|
*/
|
|
imu_type_e imuType;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 785
|
|
*/
|
|
uint8_t alignmentFill_at_785[1] = {};
|
|
/**
|
|
* How far above idle speed do we consider idling, i.e. coasting detection threshold.
|
|
* For example, if target = 800, this param = 200, then anything below 1000 RPM is considered idle.
|
|
* units: RPM
|
|
* offset 786
|
|
*/
|
|
int16_t idlePidRpmUpperLimit;
|
|
/**
|
|
* Apply nonlinearity correction below a pulse of this duration. Pulses longer than this duration will receive no adjustment.
|
|
* units: ms
|
|
* offset 788
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> applyNonlinearBelowPulse;
|
|
/**
|
|
* offset 790
|
|
*/
|
|
Gpio lps25BaroSensorScl;
|
|
/**
|
|
* offset 792
|
|
*/
|
|
Gpio lps25BaroSensorSda;
|
|
/**
|
|
* offset 794
|
|
*/
|
|
brain_input_pin_e vehicleSpeedSensorInputPin;
|
|
/**
|
|
* Some vehicles have a switch to indicate that clutch pedal is all the way up
|
|
* offset 796
|
|
*/
|
|
switch_input_pin_e clutchUpPin;
|
|
/**
|
|
* offset 798
|
|
*/
|
|
InjectorNonlinearMode injectorNonlinearMode;
|
|
/**
|
|
* offset 799
|
|
*/
|
|
pin_input_mode_e clutchUpPinMode;
|
|
/**
|
|
* offset 800
|
|
*/
|
|
Gpio max31855_cs[EGT_CHANNEL_COUNT] = {};
|
|
/**
|
|
* Continental/GM flex fuel sensor, 50-150hz type
|
|
* offset 816
|
|
*/
|
|
brain_input_pin_e flexSensorPin;
|
|
/**
|
|
* Since torque reduction pin is usually shared with launch control, most people have an RPM where behavior under that is Launch Control, over that is Flat Shift/Torque Reduction
|
|
* units: rpm
|
|
* offset 818
|
|
*/
|
|
uint16_t torqueReductionArmingRpm;
|
|
/**
|
|
* offset 820
|
|
*/
|
|
pin_output_mode_e stepperDirectionPinMode;
|
|
/**
|
|
* offset 821
|
|
*/
|
|
spi_device_e mc33972spiDevice;
|
|
/**
|
|
* Stoichiometric ratio for your secondary fuel. This value is used when the Flex Fuel sensor indicates E100, typically 9.0
|
|
* units: :1
|
|
* offset 822
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> stoichRatioSecondary;
|
|
/**
|
|
* Maximum allowed ETB position. Some throttles go past fully open, so this allows you to limit it to fully open.
|
|
* units: %
|
|
* offset 823
|
|
*/
|
|
uint8_t etbMaximumPosition;
|
|
/**
|
|
* Rate the ECU will log to the SD card, in hz (log lines per second).
|
|
* units: hz
|
|
* offset 824
|
|
*/
|
|
uint16_t sdCardLogFrequency;
|
|
/**
|
|
* offset 826
|
|
*/
|
|
adc_channel_e idlePositionChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 827
|
|
*/
|
|
uint8_t alignmentFill_at_827[1] = {};
|
|
/**
|
|
* offset 828
|
|
*/
|
|
uint16_t launchCorrectionsEndRpm;
|
|
/**
|
|
* offset 830
|
|
*/
|
|
output_pin_e starterRelayDisablePin;
|
|
/**
|
|
* On some vehicles we can disable starter once engine is already running
|
|
* offset 832
|
|
*/
|
|
pin_output_mode_e starterRelayDisablePinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 833
|
|
*/
|
|
uint8_t alignmentFill_at_833[1] = {};
|
|
/**
|
|
* Some Subaru and some Mazda use double-solenoid idle air valve
|
|
* offset 834
|
|
*/
|
|
output_pin_e secondSolenoidPin;
|
|
/**
|
|
* See also starterControlPin
|
|
* offset 836
|
|
*/
|
|
switch_input_pin_e startStopButtonPin;
|
|
/**
|
|
* units: RPM
|
|
* offset 838
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> lambdaProtectionRestoreRpm;
|
|
/**
|
|
* offset 839
|
|
*/
|
|
pin_output_mode_e acRelayPinMode;
|
|
/**
|
|
* 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.
|
|
* units: count
|
|
* offset 840
|
|
*/
|
|
int mapMinBufferLength;
|
|
/**
|
|
* Below this throttle position, the engine is considered idling. If you have an electronic throttle, this checks accelerator pedal position instead of throttle position, and should be set to 1-2%.
|
|
* units: %
|
|
* offset 844
|
|
*/
|
|
int16_t idlePidDeactivationTpsThreshold;
|
|
/**
|
|
* units: %
|
|
* offset 846
|
|
*/
|
|
int16_t stepperParkingExtraSteps;
|
|
/**
|
|
* units: ADC
|
|
* offset 848
|
|
*/
|
|
uint16_t tps1SecondaryMin;
|
|
/**
|
|
* units: ADC
|
|
* offset 850
|
|
*/
|
|
uint16_t tps1SecondaryMax;
|
|
/**
|
|
* units: rpm
|
|
* offset 852
|
|
*/
|
|
int16_t antiLagRpmTreshold;
|
|
/**
|
|
* Maximum time to crank starter when start/stop button is pressed
|
|
* units: Seconds
|
|
* offset 854
|
|
*/
|
|
uint16_t startCrankingDuration;
|
|
/**
|
|
* This pin is used for debugging - snap a logic analyzer on it and see if it's ever high
|
|
* offset 856
|
|
*/
|
|
Gpio triggerErrorPin;
|
|
/**
|
|
* offset 858
|
|
*/
|
|
pin_output_mode_e triggerErrorPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 859
|
|
*/
|
|
uint8_t alignmentFill_at_859[1] = {};
|
|
/**
|
|
* offset 860
|
|
*/
|
|
output_pin_e acRelayPin;
|
|
/**
|
|
* units: %
|
|
* offset 862
|
|
*/
|
|
uint8_t lambdaProtectionMinTps;
|
|
/**
|
|
* Only respond once lambda is out of range for this period of time. Use to avoid transients triggering lambda protection when not needed
|
|
* units: s
|
|
* offset 863
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> lambdaProtectionTimeout;
|
|
/**
|
|
* offset 864
|
|
*/
|
|
script_setting_t scriptSetting[SCRIPT_SETTING_COUNT] = {};
|
|
/**
|
|
* offset 896
|
|
*/
|
|
Gpio spi1mosiPin;
|
|
/**
|
|
* offset 898
|
|
*/
|
|
Gpio spi1misoPin;
|
|
/**
|
|
* offset 900
|
|
*/
|
|
Gpio spi1sckPin;
|
|
/**
|
|
* offset 902
|
|
*/
|
|
Gpio spi2mosiPin;
|
|
/**
|
|
* offset 904
|
|
*/
|
|
Gpio spi2misoPin;
|
|
/**
|
|
* offset 906
|
|
*/
|
|
Gpio spi2sckPin;
|
|
/**
|
|
* offset 908
|
|
*/
|
|
Gpio spi3mosiPin;
|
|
/**
|
|
* offset 910
|
|
*/
|
|
Gpio spi3misoPin;
|
|
/**
|
|
* offset 912
|
|
*/
|
|
Gpio spi3sckPin;
|
|
/**
|
|
* Saab Combustion Detection Module knock signal input pin
|
|
* also known as Saab Ion Sensing Module
|
|
* offset 914
|
|
*/
|
|
Gpio cdmInputPin;
|
|
/**
|
|
* offset 916
|
|
*/
|
|
uart_device_e consoleUartDevice;
|
|
/**
|
|
* rusEFI console Sensor Sniffer mode
|
|
* offset 917
|
|
*/
|
|
sensor_chart_e sensorChartMode;
|
|
/**
|
|
* offset 918
|
|
*/
|
|
maf_sensor_type_e mafSensorType;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 919
|
|
*/
|
|
uint8_t alignmentFill_at_919[1] = {};
|
|
/**
|
|
offset 920 bit 0 */
|
|
bool unused920_0 : 1 {};
|
|
/**
|
|
offset 920 bit 1 */
|
|
bool unused920_1 : 1 {};
|
|
/**
|
|
* If enabled we use two H-bridges to drive stepper idle air valve
|
|
offset 920 bit 2 */
|
|
bool useHbridgesToDriveIdleStepper : 1 {};
|
|
/**
|
|
offset 920 bit 3 */
|
|
bool multisparkEnable : 1 {};
|
|
/**
|
|
offset 920 bit 4 */
|
|
bool enableLaunchRetard : 1 {};
|
|
/**
|
|
offset 920 bit 5 */
|
|
bool canInputBCM : 1 {};
|
|
/**
|
|
* This property is useful if using rusEFI as TCM or BCM only
|
|
offset 920 bit 6 */
|
|
bool consumeObdSensors : 1 {};
|
|
/**
|
|
* Read VSS from OEM CAN bus according to selected CAN vehicle configuration.
|
|
offset 920 bit 7 */
|
|
bool enableCanVss : 1 {};
|
|
/**
|
|
offset 920 bit 8 */
|
|
bool suppressWboWorkaround7048 : 1 {};
|
|
/**
|
|
* 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.
|
|
offset 920 bit 9 */
|
|
bool stftIgnoreErrorMagnitude : 1 {};
|
|
/**
|
|
offset 920 bit 10 */
|
|
bool vvtBooleanForVerySpecialCases : 1 {};
|
|
/**
|
|
offset 920 bit 11 */
|
|
bool enableSoftwareKnock : 1 {};
|
|
/**
|
|
* Verbose info in console below engineSnifferRpmThreshold
|
|
* enable vvt_details
|
|
offset 920 bit 12 */
|
|
bool verboseVVTDecoding : 1 {};
|
|
/**
|
|
offset 920 bit 13 */
|
|
bool invertCamVVTSignal : 1 {};
|
|
/**
|
|
* In Alpha-N mode, compensate for air temperature.
|
|
offset 920 bit 14 */
|
|
bool alphaNUseIat : 1 {};
|
|
/**
|
|
offset 920 bit 15 */
|
|
bool knockBankCyl1 : 1 {};
|
|
/**
|
|
offset 920 bit 16 */
|
|
bool knockBankCyl2 : 1 {};
|
|
/**
|
|
offset 920 bit 17 */
|
|
bool knockBankCyl3 : 1 {};
|
|
/**
|
|
offset 920 bit 18 */
|
|
bool knockBankCyl4 : 1 {};
|
|
/**
|
|
offset 920 bit 19 */
|
|
bool knockBankCyl5 : 1 {};
|
|
/**
|
|
offset 920 bit 20 */
|
|
bool knockBankCyl6 : 1 {};
|
|
/**
|
|
offset 920 bit 21 */
|
|
bool knockBankCyl7 : 1 {};
|
|
/**
|
|
offset 920 bit 22 */
|
|
bool knockBankCyl8 : 1 {};
|
|
/**
|
|
offset 920 bit 23 */
|
|
bool knockBankCyl9 : 1 {};
|
|
/**
|
|
offset 920 bit 24 */
|
|
bool knockBankCyl10 : 1 {};
|
|
/**
|
|
offset 920 bit 25 */
|
|
bool knockBankCyl11 : 1 {};
|
|
/**
|
|
offset 920 bit 26 */
|
|
bool knockBankCyl12 : 1 {};
|
|
/**
|
|
offset 920 bit 27 */
|
|
bool tcuEnabled : 1 {};
|
|
/**
|
|
offset 920 bit 28 */
|
|
bool canBroadcastUseChannelTwo : 1 {};
|
|
/**
|
|
* If enabled we use four Push-Pull outputs to directly drive stepper idle air valve coils
|
|
offset 920 bit 29 */
|
|
bool useRawOutputToDriveIdleStepper : 1 {};
|
|
/**
|
|
* Print incoming and outgoing second bus CAN messages in rusEFI console
|
|
offset 920 bit 30 */
|
|
bool verboseCan2 : 1 {};
|
|
/**
|
|
offset 920 bit 31 */
|
|
bool unusedBit_334_31 : 1 {};
|
|
/**
|
|
* offset 924
|
|
*/
|
|
dc_io etbIo[ETB_COUNT] = {};
|
|
/**
|
|
* Wastegate control Solenoid
|
|
* offset 940
|
|
*/
|
|
output_pin_e boostControlPin;
|
|
/**
|
|
* offset 942
|
|
*/
|
|
pin_output_mode_e boostControlPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 943
|
|
*/
|
|
uint8_t alignmentFill_at_943[1] = {};
|
|
/**
|
|
* offset 944
|
|
*/
|
|
switch_input_pin_e ALSActivatePin;
|
|
/**
|
|
* offset 946
|
|
*/
|
|
switch_input_pin_e launchActivatePin;
|
|
/**
|
|
* offset 948
|
|
*/
|
|
pid_s boostPid;
|
|
/**
|
|
* offset 968
|
|
*/
|
|
boostType_e boostType;
|
|
/**
|
|
* offset 969
|
|
*/
|
|
pin_input_mode_e ignitionKeyDigitalPinMode;
|
|
/**
|
|
* offset 970
|
|
*/
|
|
Gpio ignitionKeyDigitalPin;
|
|
/**
|
|
* units: Hz
|
|
* offset 972
|
|
*/
|
|
int boostPwmFrequency;
|
|
/**
|
|
* offset 976
|
|
*/
|
|
launchActivationMode_e launchActivationMode;
|
|
/**
|
|
* offset 977
|
|
*/
|
|
antiLagActivationMode_e antiLagActivationMode;
|
|
/**
|
|
* How long to look back for TPS-based acceleration enrichment. Increasing this time will trigger enrichment for longer when a throttle position change occurs.
|
|
* units: sec
|
|
* offset 978
|
|
*/
|
|
scaled_channel<uint8_t, 20, 1> tpsAccelLookback;
|
|
/**
|
|
* Pause closed loop fueling after deceleration fuel cut occurs. Set this to a little longer than however long is required for normal fueling behavior to resume after fuel cut.
|
|
* units: sec
|
|
* offset 979
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> noFuelTrimAfterDfcoTime;
|
|
/**
|
|
* Launch disabled above this speed if setting is above zero
|
|
* units: Kph
|
|
* offset 980
|
|
*/
|
|
int launchSpeedThreshold;
|
|
/**
|
|
* Starting Launch RPM window to activate (subtracts from Launch RPM)
|
|
* units: RPM
|
|
* offset 984
|
|
*/
|
|
int launchRpmWindow;
|
|
/**
|
|
* units: ms
|
|
* offset 988
|
|
*/
|
|
float triggerEventsTimeoutMs;
|
|
/**
|
|
* offset 992
|
|
*/
|
|
float mapExpAverageAlpha;
|
|
/**
|
|
* offset 996
|
|
*/
|
|
float magicNumberAvailableForDevTricks;
|
|
/**
|
|
* offset 1000
|
|
*/
|
|
float turbochargerFilter;
|
|
/**
|
|
* offset 1004
|
|
*/
|
|
int launchTpsThreshold;
|
|
/**
|
|
* offset 1008
|
|
*/
|
|
float launchActivateDelay;
|
|
/**
|
|
* offset 1012
|
|
*/
|
|
stft_s stft;
|
|
/**
|
|
* offset 1040
|
|
*/
|
|
dc_io stepperDcIo[DC_PER_STEPPER] = {};
|
|
/**
|
|
* For example, BMW, GM or Chevrolet
|
|
* REQUIRED for rusEFI Online
|
|
* offset 1056
|
|
*/
|
|
vehicle_info_t engineMake;
|
|
/**
|
|
* For example, LS1 or NB2
|
|
* REQUIRED for rusEFI Online
|
|
* offset 1088
|
|
*/
|
|
vehicle_info_t engineCode;
|
|
/**
|
|
* For example, Hunchback or Orange Miata
|
|
* Vehicle name has to be unique between your vehicles.
|
|
* REQUIRED for rusEFI Online
|
|
* offset 1120
|
|
*/
|
|
vehicle_info_t vehicleName;
|
|
/**
|
|
* offset 1152
|
|
*/
|
|
output_pin_e tcu_solenoid[TCU_SOLENOID_COUNT] = {};
|
|
/**
|
|
* offset 1164
|
|
*/
|
|
dc_function_e etbFunctions[ETB_COUNT] = {};
|
|
/**
|
|
* offset 1166
|
|
*/
|
|
spi_device_e drv8860spiDevice;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1167
|
|
*/
|
|
uint8_t alignmentFill_at_1167[1] = {};
|
|
/**
|
|
* offset 1168
|
|
*/
|
|
Gpio drv8860_cs;
|
|
/**
|
|
* offset 1170
|
|
*/
|
|
pin_output_mode_e drv8860_csPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1171
|
|
*/
|
|
uint8_t alignmentFill_at_1171[1] = {};
|
|
/**
|
|
* offset 1172
|
|
*/
|
|
Gpio drv8860_miso;
|
|
/**
|
|
* offset 1174
|
|
*/
|
|
output_pin_e luaOutputPins[LUA_PWM_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1190
|
|
*/
|
|
uint8_t alignmentFill_at_1190[2] = {};
|
|
/**
|
|
* Angle between cam sensor and VVT zero position
|
|
* units: value
|
|
* offset 1192
|
|
*/
|
|
float vvtOffsets[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* offset 1208
|
|
*/
|
|
vr_threshold_s vrThreshold[VR_THRESHOLD_COUNT] = {};
|
|
/**
|
|
* offset 1240
|
|
*/
|
|
gppwm_note_t gpPwmNote[GPPWM_CHANNELS] = {};
|
|
/**
|
|
* units: ADC
|
|
* offset 1304
|
|
*/
|
|
uint16_t tps2SecondaryMin;
|
|
/**
|
|
* units: ADC
|
|
* offset 1306
|
|
*/
|
|
uint16_t tps2SecondaryMax;
|
|
/**
|
|
* Select which bus the wideband controller is attached to.
|
|
offset 1308 bit 0 */
|
|
bool widebandOnSecondBus : 1 {};
|
|
/**
|
|
* Enables lambda sensor closed loop feedback for fuelling.
|
|
offset 1308 bit 1 */
|
|
bool fuelClosedLoopCorrectionEnabled : 1 {};
|
|
/**
|
|
* Write SD card log even when powered by USB
|
|
offset 1308 bit 2 */
|
|
bool alwaysWriteSdCard : 1 {};
|
|
/**
|
|
* Second harmonic (aka double) is usually quieter background noise
|
|
offset 1308 bit 3 */
|
|
bool knockDetectionUseDoubleFrequency : 1 {};
|
|
/**
|
|
offset 1308 bit 4 */
|
|
bool yesUnderstandLocking : 1 {};
|
|
/**
|
|
* Sometimes we have a performance issue while printing error
|
|
offset 1308 bit 5 */
|
|
bool silentTriggerError : 1 {};
|
|
/**
|
|
offset 1308 bit 6 */
|
|
bool useLinearCltSensor : 1 {};
|
|
/**
|
|
* enable can_read/disable can_read
|
|
offset 1308 bit 7 */
|
|
bool canReadEnabled : 1 {};
|
|
/**
|
|
* enable can_write/disable can_write. See also can1ListenMode
|
|
offset 1308 bit 8 */
|
|
bool canWriteEnabled : 1 {};
|
|
/**
|
|
offset 1308 bit 9 */
|
|
bool useLinearIatSensor : 1 {};
|
|
/**
|
|
offset 1308 bit 10 */
|
|
bool enableOilPressureProtect : 1 {};
|
|
/**
|
|
* Treat milliseconds value as duty cycle value, i.e. 0.5ms would become 50%
|
|
offset 1308 bit 11 */
|
|
bool tachPulseDurationAsDutyCycle : 1 {};
|
|
/**
|
|
* This enables smart alternator control and activates the extra alternator settings.
|
|
offset 1308 bit 12 */
|
|
bool isAlternatorControlEnabled : 1 {};
|
|
/**
|
|
* https://wiki.rusefi.com/Trigger-Configuration-Guide
|
|
* This setting flips the signal from the primary engine speed sensor.
|
|
offset 1308 bit 13 */
|
|
bool invertPrimaryTriggerSignal : 1 {};
|
|
/**
|
|
* https://wiki.rusefi.com/Trigger-Configuration-Guide
|
|
* This setting flips the signal from the secondary engine speed sensor.
|
|
offset 1308 bit 14 */
|
|
bool invertSecondaryTriggerSignal : 1 {};
|
|
/**
|
|
offset 1308 bit 15 */
|
|
bool cutFuelOnHardLimit : 1 {};
|
|
/**
|
|
* Be careful enabling this: some engines are known to self-disassemble their valvetrain with a spark cut. Fuel cut is much safer.
|
|
offset 1308 bit 16 */
|
|
bool cutSparkOnHardLimit : 1 {};
|
|
/**
|
|
offset 1308 bit 17 */
|
|
bool launchFuelCutEnable : 1 {};
|
|
/**
|
|
* This is the Cut Mode normally used
|
|
offset 1308 bit 18 */
|
|
bool launchSparkCutEnable : 1 {};
|
|
/**
|
|
offset 1308 bit 19 */
|
|
bool torqueReductionEnabled : 1 {};
|
|
/**
|
|
offset 1308 bit 20 */
|
|
bool unused1308_20 : 1 {};
|
|
/**
|
|
offset 1308 bit 21 */
|
|
bool limitTorqueReductionTime : 1 {};
|
|
/**
|
|
* Are you a developer troubleshooting TS over CAN ISO/TP?
|
|
offset 1308 bit 22 */
|
|
bool verboseIsoTp : 1 {};
|
|
/**
|
|
offset 1308 bit 23 */
|
|
bool engineSnifferFocusOnInputs : 1 {};
|
|
/**
|
|
offset 1308 bit 24 */
|
|
bool unused1308_24 : 1 {};
|
|
/**
|
|
offset 1308 bit 25 */
|
|
bool twoStroke : 1 {};
|
|
/**
|
|
* Where is your primary skipped wheel located?
|
|
offset 1308 bit 26 */
|
|
bool skippedWheelOnCam : 1 {};
|
|
/**
|
|
offset 1308 bit 27 */
|
|
bool unusedBit_405_27 : 1 {};
|
|
/**
|
|
offset 1308 bit 28 */
|
|
bool unusedBit_405_28 : 1 {};
|
|
/**
|
|
offset 1308 bit 29 */
|
|
bool unusedBit_405_29 : 1 {};
|
|
/**
|
|
offset 1308 bit 30 */
|
|
bool unusedBit_405_30 : 1 {};
|
|
/**
|
|
offset 1308 bit 31 */
|
|
bool unusedBit_405_31 : 1 {};
|
|
/**
|
|
* offset 1312
|
|
*/
|
|
adc_channel_e hipOutputChannel;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1313
|
|
*/
|
|
uint8_t alignmentFill_at_1313[1] = {};
|
|
/**
|
|
* A/C button input
|
|
* offset 1314
|
|
*/
|
|
switch_input_pin_e acSwitch;
|
|
/**
|
|
* offset 1316
|
|
*/
|
|
adc_channel_e vRefAdcChannel;
|
|
/**
|
|
* Expected neutral position
|
|
* units: %
|
|
* offset 1317
|
|
*/
|
|
uint8_t etbNeutralPosition;
|
|
/**
|
|
* See also idleRpmPid
|
|
* offset 1318
|
|
*/
|
|
idle_mode_e idleMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1319
|
|
*/
|
|
uint8_t alignmentFill_at_1319[1] = {};
|
|
/**
|
|
offset 1320 bit 0 */
|
|
bool isInjectionEnabled : 1 {};
|
|
/**
|
|
offset 1320 bit 1 */
|
|
bool isIgnitionEnabled : 1 {};
|
|
/**
|
|
* When enabled if TPS is held above 95% no fuel is injected while cranking to clear excess fuel from the cylinders.
|
|
offset 1320 bit 2 */
|
|
bool isCylinderCleanupEnabled : 1 {};
|
|
/**
|
|
* Should we use tables to vary tau/beta based on CLT/MAP, or just with fixed values?
|
|
offset 1320 bit 3 */
|
|
bool complexWallModel : 1 {};
|
|
/**
|
|
* RPM is measured based on last 720 degrees while instant RPM is measured based on the last 90 degrees of crank revolution
|
|
offset 1320 bit 4 */
|
|
bool alwaysInstantRpm : 1 {};
|
|
/**
|
|
offset 1320 bit 5 */
|
|
bool isMapAveragingEnabled : 1 {};
|
|
/**
|
|
* 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 1320 bit 6 */
|
|
bool overrideCrankingIacSetting : 1 {};
|
|
/**
|
|
* 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 advance at low idle speeds will prevent stalling and extra retard at high idle speeds can help reduce engine power and slow the idle speed.
|
|
offset 1320 bit 7 */
|
|
bool useSeparateAdvanceForIdle : 1 {};
|
|
/**
|
|
offset 1320 bit 8 */
|
|
bool isWaveAnalyzerEnabled : 1 {};
|
|
/**
|
|
* This activates a separate fuel table for Idle, this allows fine tuning of the idle fuelling.
|
|
offset 1320 bit 9 */
|
|
bool useSeparateVeForIdle : 1 {};
|
|
/**
|
|
* Verbose info in console below engineSnifferRpmThreshold
|
|
* enable trigger_details
|
|
offset 1320 bit 10 */
|
|
bool verboseTriggerSynchDetails : 1 {};
|
|
/**
|
|
offset 1320 bit 11 */
|
|
bool unusedCutFuelInAcr : 1 {};
|
|
/**
|
|
offset 1320 bit 12 */
|
|
bool hondaK : 1 {};
|
|
/**
|
|
* This is needed if your coils are individually wired (COP) and you wish to use batch ignition (Wasted Spark).
|
|
offset 1320 bit 13 */
|
|
bool twoWireBatchIgnition : 1 {};
|
|
/**
|
|
* Read MAP sensor on ECU start-up to use as baro value.
|
|
offset 1320 bit 14 */
|
|
bool useFixedBaroCorrFromMap : 1 {};
|
|
/**
|
|
* In Constant mode, timing is automatically tapered to running as RPM increases.
|
|
* In Table mode, the "Cranking ignition advance" table is used directly.
|
|
offset 1320 bit 15 */
|
|
bool useSeparateAdvanceForCranking : 1 {};
|
|
/**
|
|
* This enables the various ignition corrections during cranking (IAT, CLT and PID idle).
|
|
* You probably don't need this.
|
|
offset 1320 bit 16 */
|
|
bool useAdvanceCorrectionsForCranking : 1 {};
|
|
/**
|
|
* Enable a second cranking table to use for E100 flex fuel, interpolating between the two based on flex fuel sensor.
|
|
offset 1320 bit 17 */
|
|
bool flexCranking : 1 {};
|
|
/**
|
|
* This flag allows to use a special 'PID Multiplier' table (0.0-1.0) to compensate for nonlinear nature of IAC-RPM controller
|
|
offset 1320 bit 18 */
|
|
bool useIacPidMultTable : 1 {};
|
|
/**
|
|
offset 1320 bit 19 */
|
|
bool isBoostControlEnabled : 1 {};
|
|
/**
|
|
* Interpolates the Ignition Retard from 0 to 100% within the RPM Range
|
|
offset 1320 bit 20 */
|
|
bool launchSmoothRetard : 1 {};
|
|
/**
|
|
* Some engines are OK running semi-random sequential while other engine require phase synchronization
|
|
offset 1320 bit 21 */
|
|
bool isPhaseSyncRequiredForIgnition : 1 {};
|
|
/**
|
|
* If enabled, use a curve for RPM limit (based on coolant temperature) instead of a constant value.
|
|
offset 1320 bit 22 */
|
|
bool useCltBasedRpmLimit : 1 {};
|
|
/**
|
|
* If enabled, don't wait for engine start to heat O2 sensors.
|
|
* WARNING: this will reduce the life of your sensor, as condensation in the exhaust from a cold start can crack the sensing element.
|
|
offset 1320 bit 23 */
|
|
bool forceO2Heating : 1 {};
|
|
/**
|
|
* If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'.
|
|
offset 1320 bit 24 */
|
|
bool invertVvtControlIntake : 1 {};
|
|
/**
|
|
* If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'.
|
|
offset 1320 bit 25 */
|
|
bool invertVvtControlExhaust : 1 {};
|
|
/**
|
|
offset 1320 bit 26 */
|
|
bool useBiQuadOnAuxSpeedSensors : 1 {};
|
|
/**
|
|
* 'Trigger' mode will write a high speed log of trigger events (warning: uses lots of space!). 'Normal' mode will write a standard MLG of sensors, engine function, etc. similar to the one captured in TunerStudio.
|
|
offset 1320 bit 27 */
|
|
bool sdTriggerLog : 1 {};
|
|
/**
|
|
offset 1320 bit 28 */
|
|
bool unused1320_28 : 1 {};
|
|
/**
|
|
offset 1320 bit 29 */
|
|
bool stepper_dc_use_two_wires : 1 {};
|
|
/**
|
|
offset 1320 bit 30 */
|
|
bool watchOutForLinearTime : 1 {};
|
|
/**
|
|
offset 1320 bit 31 */
|
|
bool unusedBit_448_31 : 1 {};
|
|
/**
|
|
* units: count
|
|
* offset 1324
|
|
*/
|
|
uint32_t engineChartSize;
|
|
/**
|
|
* units: mult
|
|
* offset 1328
|
|
*/
|
|
float turboSpeedSensorMultiplier;
|
|
/**
|
|
* offset 1332
|
|
*/
|
|
Gpio camInputsDebug[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* Idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling.
|
|
* units: RPM
|
|
* offset 1340
|
|
*/
|
|
int16_t acIdleRpmTarget;
|
|
/**
|
|
* set warningPeriod X
|
|
* units: seconds
|
|
* offset 1342
|
|
*/
|
|
int16_t warningPeriod;
|
|
/**
|
|
* units: angle
|
|
* offset 1344
|
|
*/
|
|
float knockDetectionWindowStart;
|
|
/**
|
|
* units: ms
|
|
* offset 1348
|
|
*/
|
|
float idleStepperReactionTime;
|
|
/**
|
|
* units: count
|
|
* offset 1352
|
|
*/
|
|
int idleStepperTotalSteps;
|
|
/**
|
|
* Pedal position to realize that we need to reduce torque when the trigger pin is uuuh triggered
|
|
* offset 1356
|
|
*/
|
|
int torqueReductionArmingApp;
|
|
/**
|
|
* Duration in ms or duty cycle depending on selected mode
|
|
* offset 1360
|
|
*/
|
|
float tachPulseDuractionMs;
|
|
/**
|
|
* Length of time the deposited wall fuel takes to dissipate after the start of acceleration.
|
|
* units: Seconds
|
|
* offset 1364
|
|
*/
|
|
float wwaeTau;
|
|
/**
|
|
* offset 1368
|
|
*/
|
|
pid_s alternatorControl;
|
|
/**
|
|
* offset 1388
|
|
*/
|
|
pid_s etb;
|
|
/**
|
|
* offset 1408
|
|
*/
|
|
Gpio triggerInputDebugPins[TRIGGER_INPUT_PIN_COUNT] = {};
|
|
/**
|
|
* RPM range above upper limit for extra air taper
|
|
* units: RPM
|
|
* offset 1412
|
|
*/
|
|
int16_t airTaperRpmRange;
|
|
/**
|
|
* offset 1414
|
|
*/
|
|
brain_input_pin_e turboSpeedSensorInputPin;
|
|
/**
|
|
* Closed throttle#2. todo: extract these two fields into a structure
|
|
* See also tps2_1AdcChannel
|
|
* units: ADC
|
|
* offset 1416
|
|
*/
|
|
int16_t tps2Min;
|
|
/**
|
|
* Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!
|
|
* See also tps1_1AdcChannel
|
|
* units: ADC
|
|
* offset 1418
|
|
*/
|
|
int16_t tps2Max;
|
|
/**
|
|
* See also startStopButtonPin
|
|
* offset 1420
|
|
*/
|
|
output_pin_e starterControlPin;
|
|
/**
|
|
* offset 1422
|
|
*/
|
|
pin_input_mode_e startStopButtonMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1423
|
|
*/
|
|
uint8_t alignmentFill_at_1423[1] = {};
|
|
/**
|
|
* offset 1424
|
|
*/
|
|
Gpio mc33816_flag0;
|
|
/**
|
|
* units: Pulse
|
|
* offset 1426
|
|
*/
|
|
uint8_t tachPulsePerRev;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1427
|
|
*/
|
|
uint8_t alignmentFill_at_1427[1] = {};
|
|
/**
|
|
* kPa value which is too low to be true
|
|
* units: kPa
|
|
* offset 1428
|
|
*/
|
|
float mapErrorDetectionTooLow;
|
|
/**
|
|
* kPa value which is too high to be true
|
|
* units: kPa
|
|
* offset 1432
|
|
*/
|
|
float mapErrorDetectionTooHigh;
|
|
/**
|
|
* How long to wait for the spark to fire before recharging the coil for another spark.
|
|
* units: ms
|
|
* offset 1436
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> multisparkSparkDuration;
|
|
/**
|
|
* This sets the dwell time for subsequent sparks. The main spark's dwell is set by the dwell table.
|
|
* units: ms
|
|
* offset 1438
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> multisparkDwell;
|
|
/**
|
|
* See cltIdleRpmBins
|
|
* offset 1440
|
|
*/
|
|
pid_s idleRpmPid;
|
|
/**
|
|
* 0 = No fuel settling on port walls 1 = All the fuel settling on port walls setting this to 0 disables the wall wetting enrichment.
|
|
* units: Fraction
|
|
* offset 1460
|
|
*/
|
|
float wwaeBeta;
|
|
/**
|
|
* See also EFI_CONSOLE_RX_BRAIN_PIN
|
|
* offset 1464
|
|
*/
|
|
Gpio binarySerialTxPin;
|
|
/**
|
|
* offset 1466
|
|
*/
|
|
Gpio binarySerialRxPin;
|
|
/**
|
|
* offset 1468
|
|
*/
|
|
Gpio auxValves[AUX_DIGITAL_VALVE_COUNT] = {};
|
|
/**
|
|
* offset 1472
|
|
*/
|
|
switch_input_pin_e tcuUpshiftButtonPin;
|
|
/**
|
|
* offset 1474
|
|
*/
|
|
switch_input_pin_e tcuDownshiftButtonPin;
|
|
/**
|
|
* units: voltage
|
|
* offset 1476
|
|
*/
|
|
float throttlePedalUpVoltage;
|
|
/**
|
|
* Pedal in the floor
|
|
* units: voltage
|
|
* offset 1480
|
|
*/
|
|
float throttlePedalWOTVoltage;
|
|
/**
|
|
* on IGN voltage detection turn fuel pump on to build fuel pressure
|
|
* units: seconds
|
|
* offset 1484
|
|
*/
|
|
int16_t startUpFuelPumpDuration;
|
|
/**
|
|
* If the RPM closer to target than this value, disable closed loop idle correction to prevent oscillation
|
|
* units: RPM
|
|
* offset 1486
|
|
*/
|
|
int16_t idlePidRpmDeadZone;
|
|
/**
|
|
* For how long after the pin has been triggered will the cut/reduction stay active. After that, even if the pin is still triggered, torque is re-introduced
|
|
* units: ms
|
|
* offset 1488
|
|
*/
|
|
float torqueReductionTime;
|
|
/**
|
|
* See Over/Undervoltage Shutdown/Retry bit in documentation
|
|
offset 1492 bit 0 */
|
|
bool mc33810DisableRecoveryMode : 1 {};
|
|
/**
|
|
offset 1492 bit 1 */
|
|
bool mc33810Gpgd0Mode : 1 {};
|
|
/**
|
|
offset 1492 bit 2 */
|
|
bool mc33810Gpgd1Mode : 1 {};
|
|
/**
|
|
offset 1492 bit 3 */
|
|
bool mc33810Gpgd2Mode : 1 {};
|
|
/**
|
|
offset 1492 bit 4 */
|
|
bool mc33810Gpgd3Mode : 1 {};
|
|
/**
|
|
* Send out board statistics
|
|
offset 1492 bit 5 */
|
|
bool enableExtendedCanBroadcast : 1 {};
|
|
/**
|
|
* global_can_data performance hack
|
|
offset 1492 bit 6 */
|
|
bool luaCanRxWorkaround : 1 {};
|
|
/**
|
|
offset 1492 bit 7 */
|
|
bool flexSensorInverted : 1 {};
|
|
/**
|
|
offset 1492 bit 8 */
|
|
bool useHardSkipInTraction : 1 {};
|
|
/**
|
|
* Use Aux Speed 1 as one of speeds for wheel slip ratio?
|
|
offset 1492 bit 9 */
|
|
bool useAuxSpeedForSlipRatio : 1 {};
|
|
/**
|
|
* VSS and Aux Speed 1 or Aux Speed 1 with Aux Speed 2?
|
|
offset 1492 bit 10 */
|
|
bool useVssAsSecondWheelSpeed : 1 {};
|
|
/**
|
|
offset 1492 bit 11 */
|
|
bool is_enabled_spi_5 : 1 {};
|
|
/**
|
|
offset 1492 bit 12 */
|
|
bool is_enabled_spi_6 : 1 {};
|
|
/**
|
|
* AEM X-Series EGT gauge kit or rusEFI EGT sensor from Wideband controller
|
|
offset 1492 bit 13 */
|
|
bool enableAemXSeriesEgt : 1 {};
|
|
/**
|
|
offset 1492 bit 14 */
|
|
bool startRequestPinInverted : 1 {};
|
|
/**
|
|
offset 1492 bit 15 */
|
|
bool tcu_rangeSensorPulldown : 1 {};
|
|
/**
|
|
offset 1492 bit 16 */
|
|
bool devBit01 : 1 {};
|
|
/**
|
|
offset 1492 bit 17 */
|
|
bool devBit0 : 1 {};
|
|
/**
|
|
offset 1492 bit 18 */
|
|
bool devBit1 : 1 {};
|
|
/**
|
|
offset 1492 bit 19 */
|
|
bool devBit2 : 1 {};
|
|
/**
|
|
offset 1492 bit 20 */
|
|
bool devBit3 : 1 {};
|
|
/**
|
|
offset 1492 bit 21 */
|
|
bool devBit4 : 1 {};
|
|
/**
|
|
offset 1492 bit 22 */
|
|
bool devBit5 : 1 {};
|
|
/**
|
|
offset 1492 bit 23 */
|
|
bool devBit6 : 1 {};
|
|
/**
|
|
offset 1492 bit 24 */
|
|
bool devBit7 : 1 {};
|
|
/**
|
|
offset 1492 bit 25 */
|
|
bool invertExhaustCamVVTSignal : 1 {};
|
|
/**
|
|
* "Available via TS Plugin see https://rusefi.com/s/knock"
|
|
offset 1492 bit 26 */
|
|
bool enableKnockSpectrogram : 1 {};
|
|
/**
|
|
offset 1492 bit 27 */
|
|
bool enableKnockSpectrogramFilter : 1 {};
|
|
/**
|
|
offset 1492 bit 28 */
|
|
bool unusedBit_517_28 : 1 {};
|
|
/**
|
|
offset 1492 bit 29 */
|
|
bool unusedBit_517_29 : 1 {};
|
|
/**
|
|
offset 1492 bit 30 */
|
|
bool unusedBit_517_30 : 1 {};
|
|
/**
|
|
offset 1492 bit 31 */
|
|
bool unusedBit_517_31 : 1 {};
|
|
/**
|
|
* 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.
|
|
* Should be 100 once tune is better
|
|
* units: cycles
|
|
* offset 1496
|
|
*/
|
|
int16_t afterCrankingIACtaperDuration;
|
|
/**
|
|
* IAC Value added when coasting and transitioning into idle.
|
|
* units: percent
|
|
* offset 1498
|
|
*/
|
|
int16_t iacByTpsTaper;
|
|
/**
|
|
* offset 1500
|
|
*/
|
|
Gpio accelerometerCsPin;
|
|
/**
|
|
* Below this speed, disable DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears.
|
|
* units: kph
|
|
* offset 1502
|
|
*/
|
|
uint8_t coastingFuelCutVssLow;
|
|
/**
|
|
* Above this speed, allow DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears.
|
|
* units: kph
|
|
* offset 1503
|
|
*/
|
|
uint8_t coastingFuelCutVssHigh;
|
|
/**
|
|
* 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.
|
|
* units: roc
|
|
* offset 1504
|
|
*/
|
|
float tpsAccelEnrichmentThreshold;
|
|
/**
|
|
* offset 1508
|
|
*/
|
|
brain_input_pin_e auxSpeedSensorInputPin[AUX_SPEED_SENSOR_COUNT] = {};
|
|
/**
|
|
* offset 1512
|
|
*/
|
|
uint8_t totalGearsCount;
|
|
/**
|
|
* Sets what part of injection's is controlled by the injection phase table.
|
|
* offset 1513
|
|
*/
|
|
InjectionTimingMode injectionTimingMode;
|
|
/**
|
|
* See http://rusefi.com/s/debugmode
|
|
* offset 1514
|
|
*/
|
|
debug_mode_e debugMode;
|
|
/**
|
|
* Additional idle % when fan #1 is active
|
|
* units: %
|
|
* offset 1515
|
|
*/
|
|
uint8_t fan1ExtraIdle;
|
|
/**
|
|
* Band rate for primary TTL
|
|
* units: BPs
|
|
* offset 1516
|
|
*/
|
|
uint32_t uartConsoleSerialSpeed;
|
|
/**
|
|
* For decel we simply multiply delta of TPS and tFor decel we do not use table?!
|
|
* units: roc
|
|
* offset 1520
|
|
*/
|
|
float tpsDecelEnleanmentThreshold;
|
|
/**
|
|
* Magic multiplier, we multiply delta of TPS and get fuel squirt duration
|
|
* units: coeff
|
|
* offset 1524
|
|
*/
|
|
float tpsDecelEnleanmentMultiplier;
|
|
/**
|
|
* How many degrees of timing advance will be reduced during the Torque Reduction Time
|
|
* units: deg
|
|
* offset 1528
|
|
*/
|
|
float torqueReductionIgnitionRetard;
|
|
/**
|
|
* units: voltage
|
|
* offset 1532
|
|
*/
|
|
float throttlePedalSecondaryUpVoltage;
|
|
/**
|
|
* Pedal in the floor
|
|
* units: voltage
|
|
* offset 1536
|
|
*/
|
|
float throttlePedalSecondaryWOTVoltage;
|
|
/**
|
|
* offset 1540
|
|
*/
|
|
can_baudrate_e canBaudRate;
|
|
/**
|
|
* 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.
|
|
* offset 1541
|
|
*/
|
|
ve_override_e veOverrideMode;
|
|
/**
|
|
* offset 1542
|
|
*/
|
|
can_baudrate_e can2BaudRate;
|
|
/**
|
|
* 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.
|
|
* offset 1543
|
|
*/
|
|
load_override_e afrOverrideMode;
|
|
/**
|
|
* units: A
|
|
* offset 1544
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> mc33_hpfp_i_peak;
|
|
/**
|
|
* units: A
|
|
* offset 1545
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> mc33_hpfp_i_hold;
|
|
/**
|
|
* How long to deactivate power when hold current is reached before applying power again
|
|
* units: us
|
|
* offset 1546
|
|
*/
|
|
uint8_t mc33_hpfp_i_hold_off;
|
|
/**
|
|
* Maximum amount of time the solenoid can be active before assuming a programming error
|
|
* units: ms
|
|
* offset 1547
|
|
*/
|
|
uint8_t mc33_hpfp_max_hold;
|
|
/**
|
|
* Enable if DC-motor driver (H-bridge) inverts the signals (eg. RZ7899 on Hellen boards)
|
|
offset 1548 bit 0 */
|
|
bool stepperDcInvertedPins : 1 {};
|
|
/**
|
|
* Allow OpenBLT on Primary CAN
|
|
offset 1548 bit 1 */
|
|
bool canOpenBLT : 1 {};
|
|
/**
|
|
* Allow OpenBLT on Secondary CAN
|
|
offset 1548 bit 2 */
|
|
bool can2OpenBLT : 1 {};
|
|
/**
|
|
* Select whether to configure injector flow in volumetric flow (default, cc/min) or mass flow (g/s).
|
|
offset 1548 bit 3 */
|
|
bool injectorFlowAsMassFlow : 1 {};
|
|
/**
|
|
offset 1548 bit 4 */
|
|
bool boardUseCanTerminator : 1 {};
|
|
/**
|
|
offset 1548 bit 5 */
|
|
bool kLineDoHondaSend : 1 {};
|
|
/**
|
|
* ListenMode is about acknowledging CAN traffic on the protocol level. Different from canWriteEnabled
|
|
offset 1548 bit 6 */
|
|
bool can1ListenMode : 1 {};
|
|
/**
|
|
offset 1548 bit 7 */
|
|
bool can2ListenMode : 1 {};
|
|
/**
|
|
offset 1548 bit 8 */
|
|
bool unusedBit_554_8 : 1 {};
|
|
/**
|
|
offset 1548 bit 9 */
|
|
bool unusedBit_554_9 : 1 {};
|
|
/**
|
|
offset 1548 bit 10 */
|
|
bool unusedBit_554_10 : 1 {};
|
|
/**
|
|
offset 1548 bit 11 */
|
|
bool unusedBit_554_11 : 1 {};
|
|
/**
|
|
offset 1548 bit 12 */
|
|
bool unusedBit_554_12 : 1 {};
|
|
/**
|
|
offset 1548 bit 13 */
|
|
bool unusedBit_554_13 : 1 {};
|
|
/**
|
|
offset 1548 bit 14 */
|
|
bool unusedBit_554_14 : 1 {};
|
|
/**
|
|
offset 1548 bit 15 */
|
|
bool unusedBit_554_15 : 1 {};
|
|
/**
|
|
offset 1548 bit 16 */
|
|
bool unusedBit_554_16 : 1 {};
|
|
/**
|
|
offset 1548 bit 17 */
|
|
bool unusedBit_554_17 : 1 {};
|
|
/**
|
|
offset 1548 bit 18 */
|
|
bool unusedBit_554_18 : 1 {};
|
|
/**
|
|
offset 1548 bit 19 */
|
|
bool unusedBit_554_19 : 1 {};
|
|
/**
|
|
offset 1548 bit 20 */
|
|
bool unusedBit_554_20 : 1 {};
|
|
/**
|
|
offset 1548 bit 21 */
|
|
bool unusedBit_554_21 : 1 {};
|
|
/**
|
|
offset 1548 bit 22 */
|
|
bool unusedBit_554_22 : 1 {};
|
|
/**
|
|
offset 1548 bit 23 */
|
|
bool unusedBit_554_23 : 1 {};
|
|
/**
|
|
offset 1548 bit 24 */
|
|
bool unusedBit_554_24 : 1 {};
|
|
/**
|
|
offset 1548 bit 25 */
|
|
bool unusedBit_554_25 : 1 {};
|
|
/**
|
|
offset 1548 bit 26 */
|
|
bool unusedBit_554_26 : 1 {};
|
|
/**
|
|
offset 1548 bit 27 */
|
|
bool unusedBit_554_27 : 1 {};
|
|
/**
|
|
offset 1548 bit 28 */
|
|
bool unusedBit_554_28 : 1 {};
|
|
/**
|
|
offset 1548 bit 29 */
|
|
bool unusedBit_554_29 : 1 {};
|
|
/**
|
|
offset 1548 bit 30 */
|
|
bool unusedBit_554_30 : 1 {};
|
|
/**
|
|
offset 1548 bit 31 */
|
|
bool unusedBit_554_31 : 1 {};
|
|
/**
|
|
* offset 1552
|
|
*/
|
|
uint8_t camDecoder2jzPosition;
|
|
/**
|
|
* offset 1553
|
|
*/
|
|
mc33810maxDwellTimer_e mc33810maxDwellTimer;
|
|
/**
|
|
* Duration of each test pulse
|
|
* units: ms
|
|
* offset 1554
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> benchTestOnTime;
|
|
/**
|
|
* units: %
|
|
* offset 1556
|
|
*/
|
|
uint8_t lambdaProtectionRestoreTps;
|
|
/**
|
|
* units: %
|
|
* offset 1557
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> lambdaProtectionRestoreLoad;
|
|
/**
|
|
* offset 1558
|
|
*/
|
|
pin_input_mode_e launchActivatePinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1559
|
|
*/
|
|
uint8_t alignmentFill_at_1559[1] = {};
|
|
/**
|
|
* offset 1560
|
|
*/
|
|
Gpio can2TxPin;
|
|
/**
|
|
* offset 1562
|
|
*/
|
|
Gpio can2RxPin;
|
|
/**
|
|
* offset 1564
|
|
*/
|
|
pin_output_mode_e starterControlPinMode;
|
|
/**
|
|
* offset 1565
|
|
*/
|
|
adc_channel_e wastegatePositionSensor;
|
|
/**
|
|
* 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.
|
|
* offset 1566
|
|
*/
|
|
load_override_e ignOverrideMode;
|
|
/**
|
|
* Select which fuel pressure sensor measures the pressure of the fuel at your injectors.
|
|
* offset 1567
|
|
*/
|
|
injector_pressure_type_e injectorPressureType;
|
|
/**
|
|
* offset 1568
|
|
*/
|
|
output_pin_e hpfpValvePin;
|
|
/**
|
|
* offset 1570
|
|
*/
|
|
pin_output_mode_e hpfpValvePinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1571
|
|
*/
|
|
uint8_t alignmentFill_at_1571[1] = {};
|
|
/**
|
|
* MAP value above which fuel is cut in case of overboost.
|
|
* Set to 0 to disable overboost cut.
|
|
* units: kPa (absolute)
|
|
* offset 1572
|
|
*/
|
|
float boostCutPressure;
|
|
/**
|
|
* units: kg/h
|
|
* offset 1576
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> tchargeBins[16] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 1592
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> tchargeValues[16] = {};
|
|
/**
|
|
* Fixed timing, useful for TDC testing
|
|
* units: deg
|
|
* offset 1608
|
|
*/
|
|
float fixedTiming;
|
|
/**
|
|
* MAP voltage for low point
|
|
* units: v
|
|
* offset 1612
|
|
*/
|
|
float mapLowValueVoltage;
|
|
/**
|
|
* MAP voltage for low point
|
|
* units: v
|
|
* offset 1616
|
|
*/
|
|
float mapHighValueVoltage;
|
|
/**
|
|
* EGO value correction
|
|
* units: value
|
|
* offset 1620
|
|
*/
|
|
float egoValueShift;
|
|
/**
|
|
* VVT output solenoid pin for this cam
|
|
* offset 1624
|
|
*/
|
|
output_pin_e vvtPins[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* This is the IAC position during cranking, some engines start better if given more air during cranking to improve cylinder filling.
|
|
* units: percent
|
|
* offset 1632
|
|
*/
|
|
int crankingIACposition;
|
|
/**
|
|
* offset 1636
|
|
*/
|
|
scaled_channel<uint8_t, 200, 1> tChargeMinRpmMinTps;
|
|
/**
|
|
* offset 1637
|
|
*/
|
|
scaled_channel<uint8_t, 200, 1> tChargeMinRpmMaxTps;
|
|
/**
|
|
* offset 1638
|
|
*/
|
|
scaled_channel<uint8_t, 200, 1> tChargeMaxRpmMinTps;
|
|
/**
|
|
* offset 1639
|
|
*/
|
|
scaled_channel<uint8_t, 200, 1> tChargeMaxRpmMaxTps;
|
|
/**
|
|
* offset 1640
|
|
*/
|
|
pwm_freq_t vvtOutputFrequency;
|
|
/**
|
|
* Minimim timing advance allowed. No spark on any cylinder will ever fire after this angle BTDC. For example, setting -10 here means no spark ever fires later than 10 deg ATDC. Note that this only concerns the primary spark: any trailing sparks or multispark may violate this constraint.
|
|
* units: deg BTDC
|
|
* offset 1642
|
|
*/
|
|
int8_t minimumIgnitionTiming;
|
|
/**
|
|
* Maximum timing advance allowed. No spark on any cylinder will ever fire before this angle BTDC. For example, setting 45 here means no spark ever fires earlier than 45 deg BTDC
|
|
* units: deg BTDC
|
|
* offset 1643
|
|
*/
|
|
int8_t maximumIgnitionTiming;
|
|
/**
|
|
* units: Hz
|
|
* offset 1644
|
|
*/
|
|
int alternatorPwmFrequency;
|
|
/**
|
|
* set vvt_mode X
|
|
* offset 1648
|
|
*/
|
|
vvt_mode_e vvtMode[CAMS_PER_BANK] = {};
|
|
/**
|
|
* Additional idle % when fan #2 is active
|
|
* units: %
|
|
* offset 1650
|
|
*/
|
|
uint8_t fan2ExtraIdle;
|
|
/**
|
|
* Delay to allow fuel pressure to build before firing the priming pulse.
|
|
* units: sec
|
|
* offset 1651
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> primingDelay;
|
|
/**
|
|
* offset 1652
|
|
*/
|
|
adc_channel_e auxAnalogInputs[LUA_ANALOG_INPUT_COUNT] = {};
|
|
/**
|
|
* offset 1660
|
|
*/
|
|
output_pin_e trailingCoilPins[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* offset 1684
|
|
*/
|
|
tle8888_mode_e tle8888mode;
|
|
/**
|
|
* offset 1685
|
|
*/
|
|
pin_output_mode_e accelerometerCsPinMode;
|
|
/**
|
|
* 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
|
|
* offset 1686
|
|
*/
|
|
injector_compensation_mode_e injectorCompensationMode;
|
|
/**
|
|
* offset 1687
|
|
*/
|
|
pin_output_mode_e fan2PinMode;
|
|
/**
|
|
* 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.
|
|
* units: kPa
|
|
* offset 1688
|
|
*/
|
|
float fuelReferencePressure;
|
|
/**
|
|
* offset 1692
|
|
*/
|
|
ThermistorConf auxTempSensor1;
|
|
/**
|
|
* offset 1724
|
|
*/
|
|
ThermistorConf auxTempSensor2;
|
|
/**
|
|
* units: Deg
|
|
* offset 1756
|
|
*/
|
|
int16_t knockSamplingDuration;
|
|
/**
|
|
* units: Hz
|
|
* offset 1758
|
|
*/
|
|
int16_t etbFreq;
|
|
/**
|
|
* offset 1760
|
|
*/
|
|
pid_s etbWastegatePid;
|
|
/**
|
|
* For micro-stepping, make sure that PWM frequency (etbFreq) is high enough
|
|
* offset 1780
|
|
*/
|
|
stepper_num_micro_steps_e stepperNumMicroSteps;
|
|
/**
|
|
* Use to limit the current when the stepper motor is idle, not moving (100% = no limit)
|
|
* units: %
|
|
* offset 1781
|
|
*/
|
|
uint8_t stepperMinDutyCycle;
|
|
/**
|
|
* Use to limit the max.current through the stepper motor (100% = no limit)
|
|
* units: %
|
|
* offset 1782
|
|
*/
|
|
uint8_t stepperMaxDutyCycle;
|
|
/**
|
|
* offset 1783
|
|
*/
|
|
spi_device_e sdCardSpiDevice;
|
|
/**
|
|
* per-cylinder ignition and fueling timing correction for uneven engines
|
|
* units: deg
|
|
* offset 1784
|
|
*/
|
|
angle_t timing_offset_cylinder[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* units: seconds
|
|
* offset 1832
|
|
*/
|
|
float idlePidActivationTime;
|
|
/**
|
|
* offset 1836
|
|
*/
|
|
pin_mode_e spi1SckMode;
|
|
/**
|
|
* Modes count be used for 3v<>5v integration using pull-ups/pull-downs etc.
|
|
* offset 1837
|
|
*/
|
|
pin_mode_e spi1MosiMode;
|
|
/**
|
|
* offset 1838
|
|
*/
|
|
pin_mode_e spi1MisoMode;
|
|
/**
|
|
* offset 1839
|
|
*/
|
|
pin_mode_e spi2SckMode;
|
|
/**
|
|
* offset 1840
|
|
*/
|
|
pin_mode_e spi2MosiMode;
|
|
/**
|
|
* offset 1841
|
|
*/
|
|
pin_mode_e spi2MisoMode;
|
|
/**
|
|
* offset 1842
|
|
*/
|
|
pin_mode_e spi3SckMode;
|
|
/**
|
|
* offset 1843
|
|
*/
|
|
pin_mode_e spi3MosiMode;
|
|
/**
|
|
* offset 1844
|
|
*/
|
|
pin_mode_e spi3MisoMode;
|
|
/**
|
|
* offset 1845
|
|
*/
|
|
pin_output_mode_e stepperEnablePinMode;
|
|
/**
|
|
* ResetB
|
|
* offset 1846
|
|
*/
|
|
Gpio mc33816_rstb;
|
|
/**
|
|
* offset 1848
|
|
*/
|
|
Gpio mc33816_driven;
|
|
/**
|
|
* Brake pedal switch
|
|
* offset 1850
|
|
*/
|
|
switch_input_pin_e brakePedalPin;
|
|
/**
|
|
* VVT output PID
|
|
* TODO: rename to vvtPid
|
|
* offset 1852
|
|
*/
|
|
pid_s auxPid[CAMS_PER_BANK] = {};
|
|
/**
|
|
* offset 1892
|
|
*/
|
|
float injectorCorrectionPolynomial[8] = {};
|
|
/**
|
|
* units: C
|
|
* offset 1924
|
|
*/
|
|
int8_t primeBins[PRIME_CURVE_COUNT] = {};
|
|
/**
|
|
* offset 1932
|
|
*/
|
|
linear_sensor_s oilPressure;
|
|
/**
|
|
* offset 1952
|
|
*/
|
|
spi_device_e accelerometerSpiDevice;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1953
|
|
*/
|
|
uint8_t alignmentFill_at_1953[1] = {};
|
|
/**
|
|
* offset 1954
|
|
*/
|
|
output_pin_e fan2Pin;
|
|
/**
|
|
* Cooling fan turn-on temperature threshold, in Celsius
|
|
* units: deg C
|
|
* offset 1956
|
|
*/
|
|
uint8_t fan2OnTemperature;
|
|
/**
|
|
* Cooling fan turn-off temperature threshold, in Celsius
|
|
* units: deg C
|
|
* offset 1957
|
|
*/
|
|
uint8_t fan2OffTemperature;
|
|
/**
|
|
* offset 1958
|
|
*/
|
|
Gpio stepperEnablePin;
|
|
/**
|
|
* offset 1960
|
|
*/
|
|
Gpio tle8888_cs;
|
|
/**
|
|
* offset 1962
|
|
*/
|
|
pin_output_mode_e tle8888_csPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1963
|
|
*/
|
|
uint8_t alignmentFill_at_1963[1] = {};
|
|
/**
|
|
* offset 1964
|
|
*/
|
|
Gpio mc33816_cs;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1966
|
|
*/
|
|
uint8_t alignmentFill_at_1966[2] = {};
|
|
/**
|
|
* units: hz
|
|
* offset 1968
|
|
*/
|
|
float auxFrequencyFilter;
|
|
/**
|
|
* offset 1972
|
|
*/
|
|
sent_input_pin_e sentInputPins[SENT_INPUT_COUNT] = {};
|
|
/**
|
|
* This sets the RPM above which fuel cut is active.
|
|
* units: rpm
|
|
* offset 1974
|
|
*/
|
|
int16_t coastingFuelCutRpmHigh;
|
|
/**
|
|
* This sets the RPM below which fuel cut is deactivated, this prevents jerking or issues transitioning to idle
|
|
* units: rpm
|
|
* offset 1976
|
|
*/
|
|
int16_t coastingFuelCutRpmLow;
|
|
/**
|
|
* Throttle position below which fuel cut is active. With an electronic throttle enabled, this checks against pedal position.
|
|
* units: %
|
|
* offset 1978
|
|
*/
|
|
int16_t coastingFuelCutTps;
|
|
/**
|
|
* Fuel cutoff is disabled when the engine is cold.
|
|
* units: C
|
|
* offset 1980
|
|
*/
|
|
int16_t coastingFuelCutClt;
|
|
/**
|
|
* Increases PID reaction for RPM<target by adding extra percent to PID-error
|
|
* units: %
|
|
* offset 1982
|
|
*/
|
|
int16_t pidExtraForLowRpm;
|
|
/**
|
|
* MAP value above which fuel injection is re-enabled.
|
|
* units: kPa
|
|
* offset 1984
|
|
*/
|
|
int16_t coastingFuelCutMap;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1986
|
|
*/
|
|
uint8_t alignmentFill_at_1986[2] = {};
|
|
/**
|
|
* offset 1988
|
|
*/
|
|
linear_sensor_s highPressureFuel;
|
|
/**
|
|
* offset 2008
|
|
*/
|
|
linear_sensor_s lowPressureFuel;
|
|
/**
|
|
* offset 2028
|
|
*/
|
|
gppwm_note_t scriptCurveName[SCRIPT_CURVE_COUNT] = {};
|
|
/**
|
|
* offset 2124
|
|
*/
|
|
gppwm_note_t scriptTableName[SCRIPT_TABLE_COUNT] = {};
|
|
/**
|
|
* offset 2188
|
|
*/
|
|
gppwm_note_t scriptSettingName[SCRIPT_SETTING_COUNT] = {};
|
|
/**
|
|
* Heat transfer coefficient at zero flow.
|
|
* 0 means the air charge is fully heated to the same temperature as CLT.
|
|
* 1 means the air charge gains no heat, and enters the cylinder at the temperature measured by IAT.
|
|
* offset 2316
|
|
*/
|
|
float tChargeAirCoefMin;
|
|
/**
|
|
* Heat transfer coefficient at high flow, as defined by "max air flow".
|
|
* 0 means the air charge is fully heated to the same temperature as CLT.
|
|
* 1 means the air charge gains no heat, and enters the cylinder at the temperature measured by IAT.
|
|
* offset 2320
|
|
*/
|
|
float tChargeAirCoefMax;
|
|
/**
|
|
* High flow point for heat transfer estimation.
|
|
* Set this to perhaps 50-75% of your maximum airflow at wide open throttle.
|
|
* units: kg/h
|
|
* offset 2324
|
|
*/
|
|
float tChargeAirFlowMax;
|
|
/**
|
|
* Maximum allowed rate of increase allowed for the estimated charge temperature
|
|
* units: deg/sec
|
|
* offset 2328
|
|
*/
|
|
float tChargeAirIncrLimit;
|
|
/**
|
|
* Maximum allowed rate of decrease allowed for the estimated charge temperature
|
|
* units: deg/sec
|
|
* offset 2332
|
|
*/
|
|
float tChargeAirDecrLimit;
|
|
/**
|
|
* offset 2336
|
|
*/
|
|
float hip9011Gain;
|
|
/**
|
|
* iTerm min value
|
|
* offset 2340
|
|
*/
|
|
int16_t etb_iTermMin;
|
|
/**
|
|
* iTerm max value
|
|
* offset 2342
|
|
*/
|
|
int16_t etb_iTermMax;
|
|
/**
|
|
* See useIdleTimingPidControl
|
|
* offset 2344
|
|
*/
|
|
pid_s idleTimingPid;
|
|
/**
|
|
* When entering idle, and the PID settings are aggressive, it's good to make a soft entry upon entering closed loop
|
|
* offset 2364
|
|
*/
|
|
float idleTimingSoftEntryTime;
|
|
/**
|
|
* offset 2368
|
|
*/
|
|
pin_input_mode_e torqueReductionTriggerPinMode;
|
|
/**
|
|
* offset 2369
|
|
*/
|
|
torqueReductionActivationMode_e torqueReductionActivationMode;
|
|
/**
|
|
* A delay in cycles between fuel-enrich. portions
|
|
* units: cycles
|
|
* offset 2370
|
|
*/
|
|
int16_t tpsAccelFractionPeriod;
|
|
/**
|
|
* A fraction divisor: 1 or less = entire portion at once, or split into diminishing fractions
|
|
* units: coef
|
|
* offset 2372
|
|
*/
|
|
float tpsAccelFractionDivisor;
|
|
/**
|
|
* offset 2376
|
|
*/
|
|
spi_device_e tle8888spiDevice;
|
|
/**
|
|
* offset 2377
|
|
*/
|
|
spi_device_e mc33816spiDevice;
|
|
/**
|
|
* iTerm min value
|
|
* offset 2378
|
|
*/
|
|
int16_t idlerpmpid_iTermMin;
|
|
/**
|
|
* offset 2380
|
|
*/
|
|
spi_device_e tle6240spiDevice;
|
|
/**
|
|
* Stoichiometric ratio for your primary fuel. When Flex Fuel is enabled, this value is used when the Flex Fuel sensor indicates E0.
|
|
* E0 = 14.7
|
|
* E10 = 14.1
|
|
* E85 = 9.9
|
|
* E100 = 9.0
|
|
* units: :1
|
|
* offset 2381
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> stoichRatioPrimary;
|
|
/**
|
|
* iTerm max value
|
|
* offset 2382
|
|
*/
|
|
int16_t idlerpmpid_iTermMax;
|
|
/**
|
|
* This sets the range of the idle control on the ETB. At 100% idle position, the value specified here sets the base ETB position.
|
|
* units: %
|
|
* offset 2384
|
|
*/
|
|
float etbIdleThrottleRange;
|
|
/**
|
|
* Select which fuel correction bank this cylinder belongs to. Group cylinders that share the same O2 sensor
|
|
* offset 2388
|
|
*/
|
|
uint8_t cylinderBankSelect[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* units: mg
|
|
* offset 2400
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> primeValues[PRIME_CURVE_COUNT] = {};
|
|
/**
|
|
* Trigger comparator center point voltage
|
|
* units: V
|
|
* offset 2408
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> triggerCompCenterVolt;
|
|
/**
|
|
* Trigger comparator hysteresis voltage (Min)
|
|
* units: V
|
|
* offset 2409
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> triggerCompHystMin;
|
|
/**
|
|
* Trigger comparator hysteresis voltage (Max)
|
|
* units: V
|
|
* offset 2410
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> triggerCompHystMax;
|
|
/**
|
|
* VR-sensor saturation RPM
|
|
* units: RPM
|
|
* offset 2411
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> triggerCompSensorSatRpm;
|
|
/**
|
|
* units: ratio
|
|
* offset 2412
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> tractionControlSlipBins[TRACTION_CONTROL_ETB_DROP_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 2424
|
|
*/
|
|
uint8_t tractionControlSpeedBins[TRACTION_CONTROL_ETB_DROP_SIZE] = {};
|
|
/**
|
|
* offset 2430
|
|
*/
|
|
int8_t disableFan1AtSpeed;
|
|
/**
|
|
* offset 2431
|
|
*/
|
|
int8_t disableFan2AtSpeed;
|
|
/**
|
|
* offset 2432
|
|
*/
|
|
can_vss_nbc_e canVssNbcType;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 2434
|
|
*/
|
|
uint8_t alignmentFill_at_2434[2] = {};
|
|
/**
|
|
* offset 2436
|
|
*/
|
|
gppwm_channel gppwm[GPPWM_CHANNELS] = {};
|
|
/**
|
|
* Boost Current
|
|
* units: mA
|
|
* offset 2868
|
|
*/
|
|
uint16_t mc33_i_boost;
|
|
/**
|
|
* Peak Current
|
|
* units: mA
|
|
* offset 2870
|
|
*/
|
|
uint16_t mc33_i_peak;
|
|
/**
|
|
* Hold Current
|
|
* units: mA
|
|
* offset 2872
|
|
*/
|
|
uint16_t mc33_i_hold;
|
|
/**
|
|
* Maximum allowed boost phase time. If the injector current doesn't reach the threshold before this time elapses, it is assumed that the injector is missing or has failed open circuit.
|
|
* units: us
|
|
* offset 2874
|
|
*/
|
|
uint16_t mc33_t_max_boost;
|
|
/**
|
|
* units: us
|
|
* offset 2876
|
|
*/
|
|
uint16_t mc33_t_peak_off;
|
|
/**
|
|
* Peak phase duration
|
|
* units: us
|
|
* offset 2878
|
|
*/
|
|
uint16_t mc33_t_peak_tot;
|
|
/**
|
|
* units: us
|
|
* offset 2880
|
|
*/
|
|
uint16_t mc33_t_bypass;
|
|
/**
|
|
* units: us
|
|
* offset 2882
|
|
*/
|
|
uint16_t mc33_t_hold_off;
|
|
/**
|
|
* Hold phase duration
|
|
* units: us
|
|
* offset 2884
|
|
*/
|
|
uint16_t mc33_t_hold_tot;
|
|
/**
|
|
* offset 2886
|
|
*/
|
|
pin_input_mode_e tcuUpshiftButtonPinMode;
|
|
/**
|
|
* offset 2887
|
|
*/
|
|
pin_input_mode_e tcuDownshiftButtonPinMode;
|
|
/**
|
|
* offset 2888
|
|
*/
|
|
pin_input_mode_e acSwitchMode;
|
|
/**
|
|
* offset 2889
|
|
*/
|
|
pin_output_mode_e tcu_solenoid_mode[TCU_SOLENOID_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 2895
|
|
*/
|
|
uint8_t alignmentFill_at_2895[1] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 2896
|
|
*/
|
|
float triggerGapOverrideFrom[GAP_TRACKING_LENGTH] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 2968
|
|
*/
|
|
float triggerGapOverrideTo[GAP_TRACKING_LENGTH] = {};
|
|
/**
|
|
* Below this RPM, use camshaft information to synchronize the crank's position for full sequential operation. Use this if your cam sensor does weird things at high RPM. Set to 0 to disable, and always use cam to help sync crank.
|
|
* units: rpm
|
|
* offset 3040
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> maxCamPhaseResolveRpm;
|
|
/**
|
|
* Delay before cutting fuel. Set to 0 to cut immediately with no delay. May cause rumbles and pops out of your exhaust...
|
|
* units: sec
|
|
* offset 3041
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> dfcoDelay;
|
|
/**
|
|
* Delay before engaging the AC compressor. Set to 0 to engage immediately with no delay. Use this to prevent bogging at idle when AC engages.
|
|
* units: sec
|
|
* offset 3042
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> acDelay;
|
|
/**
|
|
* offset 3043
|
|
*/
|
|
tChargeMode_e tChargeMode;
|
|
/**
|
|
* units: mg
|
|
* offset 3044
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> fordInjectorSmallPulseBreakPoint;
|
|
/**
|
|
* Threshold in ETB error (target vs. actual) above which the jam timer is started. If the timer reaches the time specified in the jam detection timeout period, the throttle is considered jammed, and engine operation limited.
|
|
* units: %
|
|
* offset 3046
|
|
*/
|
|
uint8_t etbJamDetectThreshold;
|
|
/**
|
|
* units: lobes/cam
|
|
* offset 3047
|
|
*/
|
|
uint8_t hpfpCamLobes;
|
|
/**
|
|
* offset 3048
|
|
*/
|
|
hpfp_cam_e hpfpCam;
|
|
/**
|
|
* Low engine speed for A/C. Larger engines can survive lower values
|
|
* units: RPM
|
|
* offset 3049
|
|
*/
|
|
scaled_channel<int8_t, 1, 10> acLowRpmLimit;
|
|
/**
|
|
* If the requested activation time is below this angle, don't bother running the pump
|
|
* units: deg
|
|
* offset 3050
|
|
*/
|
|
uint8_t hpfpMinAngle;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3051
|
|
*/
|
|
uint8_t alignmentFill_at_3051[1] = {};
|
|
/**
|
|
* Size of the pump chamber in cc. Typical Bosch HDP5 has a 9.0mm diameter, typical BMW N* stroke is 4.4mm.
|
|
* units: cc
|
|
* offset 3052
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> hpfpPumpVolume;
|
|
/**
|
|
* How long to keep the valve activated (in order to allow the pump to build pressure and keep the valve open on its own)
|
|
* units: deg
|
|
* offset 3054
|
|
*/
|
|
uint8_t hpfpActivationAngle;
|
|
/**
|
|
* offset 3055
|
|
*/
|
|
uint8_t issFilterReciprocal;
|
|
/**
|
|
* units: %/kPa
|
|
* offset 3056
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> hpfpPidP;
|
|
/**
|
|
* units: %/kPa/lobe
|
|
* offset 3058
|
|
*/
|
|
scaled_channel<uint16_t, 100000, 1> hpfpPidI;
|
|
/**
|
|
* 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.
|
|
* units: kPa/s
|
|
* offset 3060
|
|
*/
|
|
uint16_t hpfpTargetDecay;
|
|
/**
|
|
* offset 3062
|
|
*/
|
|
output_pin_e stepper_raw_output[4] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 3070
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> gearRatio[TCU_GEAR_COUNT] = {};
|
|
/**
|
|
* We need to give engine time to build oil pressure without diverting it to VVT
|
|
* units: ms
|
|
* offset 3090
|
|
*/
|
|
uint16_t vvtActivationDelayMs;
|
|
/**
|
|
* units: Nm
|
|
* offset 3092
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> torqueTable[TORQUE_CURVE_SIZE][TORQUE_CURVE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 3128
|
|
*/
|
|
uint16_t torqueRpmBins[TORQUE_CURVE_SIZE] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 3140
|
|
*/
|
|
uint16_t torqueLoadBins[TORQUE_CURVE_SIZE] = {};
|
|
/**
|
|
* offset 3152
|
|
*/
|
|
GearControllerMode gearControllerMode;
|
|
/**
|
|
* offset 3153
|
|
*/
|
|
TransmissionControllerMode transmissionControllerMode;
|
|
/**
|
|
* During revolution where ACR should be disabled at what specific angle to disengage
|
|
* units: deg
|
|
* offset 3154
|
|
*/
|
|
uint16_t acrDisablePhase;
|
|
/**
|
|
* offset 3156
|
|
*/
|
|
linear_sensor_s auxLinear1;
|
|
/**
|
|
* offset 3176
|
|
*/
|
|
linear_sensor_s auxLinear2;
|
|
/**
|
|
* offset 3196
|
|
*/
|
|
output_pin_e tcu_tcc_onoff_solenoid;
|
|
/**
|
|
* offset 3198
|
|
*/
|
|
pin_output_mode_e tcu_tcc_onoff_solenoid_mode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3199
|
|
*/
|
|
uint8_t alignmentFill_at_3199[1] = {};
|
|
/**
|
|
* offset 3200
|
|
*/
|
|
output_pin_e tcu_tcc_pwm_solenoid;
|
|
/**
|
|
* offset 3202
|
|
*/
|
|
pin_output_mode_e tcu_tcc_pwm_solenoid_mode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3203
|
|
*/
|
|
uint8_t alignmentFill_at_3203[1] = {};
|
|
/**
|
|
* offset 3204
|
|
*/
|
|
pwm_freq_t tcu_tcc_pwm_solenoid_freq;
|
|
/**
|
|
* offset 3206
|
|
*/
|
|
output_pin_e tcu_pc_solenoid_pin;
|
|
/**
|
|
* offset 3208
|
|
*/
|
|
pin_output_mode_e tcu_pc_solenoid_pin_mode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3209
|
|
*/
|
|
uint8_t alignmentFill_at_3209[1] = {};
|
|
/**
|
|
* offset 3210
|
|
*/
|
|
pwm_freq_t tcu_pc_solenoid_freq;
|
|
/**
|
|
* offset 3212
|
|
*/
|
|
output_pin_e tcu_32_solenoid_pin;
|
|
/**
|
|
* offset 3214
|
|
*/
|
|
pin_output_mode_e tcu_32_solenoid_pin_mode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3215
|
|
*/
|
|
uint8_t alignmentFill_at_3215[1] = {};
|
|
/**
|
|
* offset 3216
|
|
*/
|
|
pwm_freq_t tcu_32_solenoid_freq;
|
|
/**
|
|
* offset 3218
|
|
*/
|
|
output_pin_e acrPin2;
|
|
/**
|
|
* Set a minimum allowed target position to avoid slamming/driving against the hard mechanical stop in the throttle.
|
|
* units: %
|
|
* offset 3220
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> etbMinimumPosition;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3221
|
|
*/
|
|
uint8_t alignmentFill_at_3221[1] = {};
|
|
/**
|
|
* offset 3222
|
|
*/
|
|
uint16_t tuneHidingKey;
|
|
/**
|
|
* Individual charaters are accessible using vin(index) Lua function
|
|
* offset 3224
|
|
*/
|
|
vin_number_t vinNumber;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3241
|
|
*/
|
|
uint8_t alignmentFill_at_3241[1] = {};
|
|
/**
|
|
* offset 3242
|
|
*/
|
|
uint16_t highSpeedOffsets[HIGH_SPEED_COUNT] = {};
|
|
/**
|
|
* offset 3306
|
|
*/
|
|
fuel_pressure_sensor_mode_e fuelPressureSensorMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3307
|
|
*/
|
|
uint8_t alignmentFill_at_3307[1] = {};
|
|
/**
|
|
* offset 3308
|
|
*/
|
|
switch_input_pin_e luaDigitalInputPins[LUA_DIGITAL_INPUT_COUNT] = {};
|
|
/**
|
|
* units: rpm
|
|
* offset 3324
|
|
*/
|
|
int16_t ALSMinRPM;
|
|
/**
|
|
* units: rpm
|
|
* offset 3326
|
|
*/
|
|
int16_t ALSMaxRPM;
|
|
/**
|
|
* units: sec
|
|
* offset 3328
|
|
*/
|
|
int16_t ALSMaxDuration;
|
|
/**
|
|
* units: C
|
|
* offset 3330
|
|
*/
|
|
int8_t ALSMinCLT;
|
|
/**
|
|
* units: C
|
|
* offset 3331
|
|
*/
|
|
int8_t ALSMaxCLT;
|
|
/**
|
|
* offset 3332
|
|
*/
|
|
uint8_t alsMinTimeBetween;
|
|
/**
|
|
* offset 3333
|
|
*/
|
|
uint8_t alsEtbPosition;
|
|
/**
|
|
* units: %
|
|
* offset 3334
|
|
*/
|
|
uint8_t acRelayAlternatorDutyAdder;
|
|
/**
|
|
* If you have SENT TPS sensor please select type. For analog TPS leave None
|
|
* offset 3335
|
|
*/
|
|
SentEtbType sentEtbType;
|
|
/**
|
|
* offset 3336
|
|
*/
|
|
uint16_t customSentTpsMin;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3338
|
|
*/
|
|
uint8_t alignmentFill_at_3338[2] = {};
|
|
/**
|
|
* units: %
|
|
* offset 3340
|
|
*/
|
|
int ALSIdleAdd;
|
|
/**
|
|
* units: %
|
|
* offset 3344
|
|
*/
|
|
int ALSEtbAdd;
|
|
/**
|
|
* offset 3348
|
|
*/
|
|
float ALSSkipRatio;
|
|
/**
|
|
* Hysterisis: if Pressure High Disable is 240kpa, and acPressureEnableHyst is 20, when the ECU sees 240kpa, A/C will be disabled, and stay disabled until 240-20=220kpa is reached
|
|
* units: kPa (absolute)
|
|
* offset 3352
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> acPressureEnableHyst;
|
|
/**
|
|
* offset 3353
|
|
*/
|
|
pin_input_mode_e ALSActivatePinMode;
|
|
/**
|
|
* For Ford TPS, use 53%. For Toyota ETCS-i, use ~65%
|
|
* units: %
|
|
* offset 3354
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> tpsSecondaryMaximum;
|
|
/**
|
|
* For Toyota ETCS-i, use ~69%
|
|
* units: %
|
|
* offset 3355
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> ppsSecondaryMaximum;
|
|
/**
|
|
* offset 3356
|
|
*/
|
|
pin_input_mode_e luaDigitalInputPinModes[LUA_DIGITAL_INPUT_COUNT] = {};
|
|
/**
|
|
* offset 3364
|
|
*/
|
|
uint16_t customSentTpsMax;
|
|
/**
|
|
* offset 3366
|
|
*/
|
|
uint16_t kLineBaudRate;
|
|
/**
|
|
* offset 3368
|
|
*/
|
|
CanGpioType canGpioType;
|
|
/**
|
|
* offset 3369
|
|
*/
|
|
UiMode uiMode;
|
|
/**
|
|
* Crank angle ATDC of first lobe peak
|
|
* units: deg
|
|
* offset 3370
|
|
*/
|
|
int16_t hpfpPeakPos;
|
|
/**
|
|
* units: us
|
|
* offset 3372
|
|
*/
|
|
int16_t kLinePeriodUs;
|
|
/**
|
|
* Window that the correction will be added throughout (example, if rpm limit is 7000, and rpmSoftLimitWindowSize is 200, the corrections activate at 6800RPM, creating a 200rpm window)
|
|
* units: RPM
|
|
* offset 3374
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> rpmSoftLimitWindowSize;
|
|
/**
|
|
* Degrees of timing REMOVED from actual timing during soft RPM limit window
|
|
* units: deg
|
|
* offset 3375
|
|
*/
|
|
scaled_channel<uint8_t, 5, 1> rpmSoftLimitTimingRetard;
|
|
/**
|
|
* % of fuel ADDED during window
|
|
* units: %
|
|
* offset 3376
|
|
*/
|
|
scaled_channel<uint8_t, 5, 1> rpmSoftLimitFuelAdded;
|
|
/**
|
|
* Hysterisis: if the hard limit is 7200rpm and rpmHardLimitHyst is 200rpm, then when the ECU sees 7200rpm, fuel/ign will cut, and stay cut until 7000rpm (7200-200) is reached
|
|
* units: RPM
|
|
* offset 3377
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> rpmHardLimitHyst;
|
|
/**
|
|
* Time between bench test pulses
|
|
* units: ms
|
|
* offset 3378
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> benchTestOffTime;
|
|
/**
|
|
* Hysterisis: if hard cut is 240kpa, and boostCutPressureHyst is 20, when the ECU sees 240kpa, fuel/ign will cut, and stay cut until 240-20=220kpa is reached
|
|
* units: kPa (absolute)
|
|
* offset 3380
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> boostCutPressureHyst;
|
|
/**
|
|
* Boost duty cycle modified by gear
|
|
* units: %
|
|
* offset 3381
|
|
*/
|
|
scaled_channel<int8_t, 2, 1> gearBasedOpenLoopBoostAdder[TCU_GEAR_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3391
|
|
*/
|
|
uint8_t alignmentFill_at_3391[1] = {};
|
|
/**
|
|
* How many test bench pulses do you want
|
|
* offset 3392
|
|
*/
|
|
uint32_t benchTestCount;
|
|
/**
|
|
* How long initial IAC adder is held before starting to decay.
|
|
* units: seconds
|
|
* offset 3396
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> iacByTpsHoldTime;
|
|
/**
|
|
* How long it takes to remove initial IAC adder to return to normal idle.
|
|
* units: seconds
|
|
* offset 3397
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> iacByTpsDecayTime;
|
|
/**
|
|
* offset 3398
|
|
*/
|
|
switch_input_pin_e tcu_rangeInput[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* offset 3410
|
|
*/
|
|
pin_input_mode_e tcu_rangeInputMode[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* Scale the reported vehicle speed value from CAN. Example: Parameter set to 1.1, CAN VSS reports 50kph, ECU will report 55kph instead.
|
|
* units: ratio
|
|
* offset 3416
|
|
*/
|
|
scaled_channel<uint16_t, 10000, 1> canVssScaling;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3418
|
|
*/
|
|
uint8_t alignmentFill_at_3418[2] = {};
|
|
/**
|
|
* offset 3420
|
|
*/
|
|
ThermistorConf oilTempSensor;
|
|
/**
|
|
* offset 3452
|
|
*/
|
|
ThermistorConf fuelTempSensor;
|
|
/**
|
|
* offset 3484
|
|
*/
|
|
ThermistorConf ambientTempSensor;
|
|
/**
|
|
* offset 3516
|
|
*/
|
|
ThermistorConf compressorDischargeTemperature;
|
|
/**
|
|
* Place the sensor before the throttle, but after any turbocharger/supercharger and intercoolers if fitted. Uses the same calibration as the MAP sensor.
|
|
* offset 3548
|
|
*/
|
|
adc_channel_e throttleInletPressureChannel;
|
|
/**
|
|
* Place the sensor after the turbocharger/supercharger, but before any intercoolers if fitted. Uses the same calibration as the MAP sensor.
|
|
* offset 3549
|
|
*/
|
|
adc_channel_e compressorDischargePressureChannel;
|
|
/**
|
|
* offset 3550
|
|
*/
|
|
Gpio dacOutputPins[DAC_OUTPUT_COUNT] = {};
|
|
/**
|
|
* offset 3554
|
|
*/
|
|
output_pin_e speedometerOutputPin;
|
|
/**
|
|
* Number of speedometer pulses per kilometer travelled.
|
|
* offset 3556
|
|
*/
|
|
uint16_t speedometerPulsePerKm;
|
|
/**
|
|
* offset 3558
|
|
*/
|
|
uint8_t simulatorCamPosition[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* offset 3562
|
|
*/
|
|
adc_channel_e ignKeyAdcChannel;
|
|
/**
|
|
* offset 3563
|
|
*/
|
|
pin_mode_e spi6MisoMode;
|
|
/**
|
|
* units: ratio
|
|
* offset 3564
|
|
*/
|
|
float triggerVVTGapOverrideFrom[VVT_TRACKING_LENGTH] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 3580
|
|
*/
|
|
float triggerVVTGapOverrideTo[VVT_TRACKING_LENGTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 3596
|
|
*/
|
|
int8_t tractionControlEtbDrop[TRACTION_CONTROL_ETB_DROP_SIZE][TRACTION_CONTROL_ETB_DROP_SIZE] = {};
|
|
/**
|
|
* If injector duty cycle hits this value, instantly cut fuel.
|
|
* units: %
|
|
* offset 3632
|
|
*/
|
|
uint8_t maxInjectorDutyInstant;
|
|
/**
|
|
* If injector duty cycle hits this value for the specified delay time, cut fuel.
|
|
* units: %
|
|
* offset 3633
|
|
*/
|
|
uint8_t maxInjectorDutySustained;
|
|
/**
|
|
* Timeout period for duty cycle over the sustained limit to trigger duty cycle protection.
|
|
* units: sec
|
|
* offset 3634
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> maxInjectorDutySustainedTimeout;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3635
|
|
*/
|
|
uint8_t alignmentFill_at_3635[1] = {};
|
|
/**
|
|
* offset 3636
|
|
*/
|
|
output_pin_e injectionPinsStage2[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* units: Deg
|
|
* offset 3660
|
|
*/
|
|
int8_t tractionControlTimingDrop[TRACTION_CONTROL_ETB_DROP_SIZE][TRACTION_CONTROL_ETB_DROP_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 3696
|
|
*/
|
|
int8_t tractionControlIgnitionSkip[TRACTION_CONTROL_ETB_DROP_SIZE][TRACTION_CONTROL_ETB_DROP_SIZE] = {};
|
|
/**
|
|
* offset 3732
|
|
*/
|
|
float auxSpeed1Multiplier;
|
|
/**
|
|
* offset 3736
|
|
*/
|
|
float brakeMeanEffectivePressureDifferential;
|
|
/**
|
|
* offset 3740
|
|
*/
|
|
Gpio spi4mosiPin;
|
|
/**
|
|
* offset 3742
|
|
*/
|
|
Gpio spi4misoPin;
|
|
/**
|
|
* offset 3744
|
|
*/
|
|
Gpio spi4sckPin;
|
|
/**
|
|
* offset 3746
|
|
*/
|
|
Gpio spi5mosiPin;
|
|
/**
|
|
* offset 3748
|
|
*/
|
|
Gpio spi5misoPin;
|
|
/**
|
|
* offset 3750
|
|
*/
|
|
Gpio spi5sckPin;
|
|
/**
|
|
* offset 3752
|
|
*/
|
|
Gpio spi6mosiPin;
|
|
/**
|
|
* offset 3754
|
|
*/
|
|
Gpio spi6misoPin;
|
|
/**
|
|
* offset 3756
|
|
*/
|
|
Gpio spi6sckPin;
|
|
/**
|
|
* offset 3758
|
|
*/
|
|
pin_mode_e spi4SckMode;
|
|
/**
|
|
* offset 3759
|
|
*/
|
|
pin_mode_e spi4MosiMode;
|
|
/**
|
|
* offset 3760
|
|
*/
|
|
pin_mode_e spi4MisoMode;
|
|
/**
|
|
* offset 3761
|
|
*/
|
|
pin_mode_e spi5SckMode;
|
|
/**
|
|
* offset 3762
|
|
*/
|
|
pin_mode_e spi5MosiMode;
|
|
/**
|
|
* offset 3763
|
|
*/
|
|
pin_mode_e spi5MisoMode;
|
|
/**
|
|
* offset 3764
|
|
*/
|
|
pin_mode_e spi6SckMode;
|
|
/**
|
|
* offset 3765
|
|
*/
|
|
pin_mode_e spi6MosiMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3766
|
|
*/
|
|
uint8_t alignmentFill_at_3766[2] = {};
|
|
/**
|
|
* Secondary TTL channel baud rate
|
|
* units: BPs
|
|
* offset 3768
|
|
*/
|
|
uint32_t tunerStudioSerialSpeed;
|
|
/**
|
|
* offset 3772
|
|
*/
|
|
Gpio camSimulatorPin;
|
|
/**
|
|
* offset 3774
|
|
*/
|
|
pin_output_mode_e camSimulatorPinMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3775
|
|
*/
|
|
uint8_t alignmentFill_at_3775[1] = {};
|
|
/**
|
|
* offset 3776
|
|
*/
|
|
int anotherCiTest;
|
|
/**
|
|
* offset 3780
|
|
*/
|
|
uint32_t device_uid[3] = {};
|
|
/**
|
|
* offset 3792
|
|
*/
|
|
adc_channel_e tcu_rangeAnalogInput[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3798
|
|
*/
|
|
uint8_t alignmentFill_at_3798[2] = {};
|
|
/**
|
|
* units: Ohm
|
|
* offset 3800
|
|
*/
|
|
float tcu_rangeSensorBiasResistor;
|
|
/**
|
|
* offset 3804
|
|
*/
|
|
MsIoBox_config_s msIoBox0;
|
|
/**
|
|
* Nominal coil charge current, 0.25A step
|
|
* units: A
|
|
* offset 3808
|
|
*/
|
|
scaled_channel<uint8_t, 4, 1> mc33810Nomi;
|
|
/**
|
|
* Maximum coil charge current, 1A step
|
|
* units: A
|
|
* offset 3809
|
|
*/
|
|
uint8_t mc33810Maxi;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3810
|
|
*/
|
|
uint8_t alignmentFill_at_3810[2] = {};
|
|
/**
|
|
* offset 3812
|
|
*/
|
|
linear_sensor_s acPressure;
|
|
/**
|
|
* value of A/C pressure in kPa before that compressor is disengaged
|
|
* units: kPa
|
|
* offset 3832
|
|
*/
|
|
uint16_t minAcPressure;
|
|
/**
|
|
* value of A/C pressure in kPa after that compressor is disengaged
|
|
* units: kPa
|
|
* offset 3834
|
|
*/
|
|
uint16_t maxAcPressure;
|
|
/**
|
|
* Delay before cutting fuel due to low oil pressure. Use this to ignore short pressure blips and sensor noise.
|
|
* units: sec
|
|
* offset 3836
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> minimumOilPressureTimeout;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3837
|
|
*/
|
|
uint8_t alignmentFill_at_3837[3] = {};
|
|
/**
|
|
* offset 3840
|
|
*/
|
|
linear_sensor_s auxLinear3;
|
|
/**
|
|
* offset 3860
|
|
*/
|
|
linear_sensor_s auxLinear4;
|
|
/**
|
|
* Below TPS value all knock suppression will be disabled.
|
|
* units: %
|
|
* offset 3880
|
|
*/
|
|
scaled_channel<uint8_t, 1, 1> knockSuppressMinTps;
|
|
/**
|
|
* Fuel to odd when a knock event occurs. Advice: 5% (mild), 10% (turbo/high comp.), 15% (high knock, e.g. GDI), 20% (spicy lump),
|
|
* units: %
|
|
* offset 3881
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> knockFuelTrimAggression;
|
|
/**
|
|
* After a knock event, reapply fuel at this rate.
|
|
* units: 1%/s
|
|
* offset 3882
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> knockFuelTrimReapplyRate;
|
|
/**
|
|
* Fuel trim when knock, max 30%
|
|
* units: %
|
|
* offset 3883
|
|
*/
|
|
scaled_channel<uint8_t, 1, 1> knockFuelTrim;
|
|
/**
|
|
* units: sense
|
|
* offset 3884
|
|
*/
|
|
float knockSpectrumSensitivity;
|
|
/**
|
|
* "Estimated knock frequency, ignore cylinderBore if this one > 0"
|
|
* units: Hz
|
|
* offset 3888
|
|
*/
|
|
float knockFrequency;
|
|
/**
|
|
* 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
|
|
* offset 3892
|
|
*/
|
|
injector_compensation_mode_e secondaryInjectorCompensationMode;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3893
|
|
*/
|
|
uint8_t alignmentFill_at_3893[3] = {};
|
|
/**
|
|
* 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.
|
|
* units: kPa
|
|
* offset 3896
|
|
*/
|
|
float secondaryInjectorFuelReferencePressure;
|
|
/**
|
|
* SENT input connected to ETB
|
|
* offset 3900
|
|
*/
|
|
SentInput EtbSentInput;
|
|
/**
|
|
* SENT input used for high pressure fuel sensor
|
|
* offset 3901
|
|
*/
|
|
SentInput FuelHighPressureSentInput;
|
|
/**
|
|
* If you have SENT High Pressure Fuel Sensor please select type. For analog TPS leave None
|
|
* offset 3902
|
|
*/
|
|
SentFuelHighPressureType FuelHighPressureSentType;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3903
|
|
*/
|
|
uint8_t alignmentFill_at_3903[1] = {};
|
|
/**
|
|
offset 3904 bit 0 */
|
|
bool nitrousControlEnabled : 1 {};
|
|
/**
|
|
offset 3904 bit 1 */
|
|
bool unusedFancy2 : 1 {};
|
|
/**
|
|
offset 3904 bit 2 */
|
|
bool unusedFancy3 : 1 {};
|
|
/**
|
|
offset 3904 bit 3 */
|
|
bool unusedFancy4 : 1 {};
|
|
/**
|
|
offset 3904 bit 4 */
|
|
bool unusedFancy5 : 1 {};
|
|
/**
|
|
offset 3904 bit 5 */
|
|
bool unusedFancy6 : 1 {};
|
|
/**
|
|
offset 3904 bit 6 */
|
|
bool unusedFancy7 : 1 {};
|
|
/**
|
|
offset 3904 bit 7 */
|
|
bool unusedFancy8 : 1 {};
|
|
/**
|
|
offset 3904 bit 8 */
|
|
bool unusedFancy9 : 1 {};
|
|
/**
|
|
offset 3904 bit 9 */
|
|
bool unusedFancy10 : 1 {};
|
|
/**
|
|
offset 3904 bit 10 */
|
|
bool unusedFancy11 : 1 {};
|
|
/**
|
|
offset 3904 bit 11 */
|
|
bool unusedFancy12 : 1 {};
|
|
/**
|
|
offset 3904 bit 12 */
|
|
bool unusedFancy13 : 1 {};
|
|
/**
|
|
offset 3904 bit 13 */
|
|
bool unusedFancy14 : 1 {};
|
|
/**
|
|
offset 3904 bit 14 */
|
|
bool unusedFancy15 : 1 {};
|
|
/**
|
|
offset 3904 bit 15 */
|
|
bool unusedFancy16 : 1 {};
|
|
/**
|
|
offset 3904 bit 16 */
|
|
bool unusedFancy17 : 1 {};
|
|
/**
|
|
offset 3904 bit 17 */
|
|
bool unusedFancy18 : 1 {};
|
|
/**
|
|
offset 3904 bit 18 */
|
|
bool unusedFancy19 : 1 {};
|
|
/**
|
|
offset 3904 bit 19 */
|
|
bool unusedFancy20 : 1 {};
|
|
/**
|
|
offset 3904 bit 20 */
|
|
bool unusedFancy21 : 1 {};
|
|
/**
|
|
offset 3904 bit 21 */
|
|
bool unusedFancy22 : 1 {};
|
|
/**
|
|
offset 3904 bit 22 */
|
|
bool unusedFancy23 : 1 {};
|
|
/**
|
|
offset 3904 bit 23 */
|
|
bool unusedFancy24 : 1 {};
|
|
/**
|
|
offset 3904 bit 24 */
|
|
bool unusedFancy25 : 1 {};
|
|
/**
|
|
offset 3904 bit 25 */
|
|
bool unusedFancy26 : 1 {};
|
|
/**
|
|
offset 3904 bit 26 */
|
|
bool unusedFancy27 : 1 {};
|
|
/**
|
|
offset 3904 bit 27 */
|
|
bool unusedFancy28 : 1 {};
|
|
/**
|
|
offset 3904 bit 28 */
|
|
bool unusedFancy29 : 1 {};
|
|
/**
|
|
offset 3904 bit 29 */
|
|
bool unusedFancy30 : 1 {};
|
|
/**
|
|
offset 3904 bit 30 */
|
|
bool unusedFancy31 : 1 {};
|
|
/**
|
|
offset 3904 bit 31 */
|
|
bool unusedFancy32 : 1 {};
|
|
/**
|
|
* offset 3908
|
|
*/
|
|
nitrous_arming_method_e nitrousControlArmingMethod;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3909
|
|
*/
|
|
uint8_t alignmentFill_at_3909[1] = {};
|
|
/**
|
|
* Pin that activates nitrous control
|
|
* offset 3910
|
|
*/
|
|
switch_input_pin_e nitrousControlTriggerPin;
|
|
/**
|
|
* offset 3912
|
|
*/
|
|
pin_input_mode_e nitrousControlTriggerPinMode;
|
|
/**
|
|
* offset 3913
|
|
*/
|
|
lua_gauge_e nitrousLuaGauge;
|
|
/**
|
|
* offset 3914
|
|
*/
|
|
lua_gauge_meaning_e nitrousLuaGaugeMeaning;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3915
|
|
*/
|
|
uint8_t alignmentFill_at_3915[1] = {};
|
|
/**
|
|
* offset 3916
|
|
*/
|
|
float nitrousLuaGaugeArmingValue;
|
|
/**
|
|
* offset 3920
|
|
*/
|
|
int nitrousMinimumTps;
|
|
/**
|
|
* units: deg C
|
|
* offset 3924
|
|
*/
|
|
uint8_t nitrousMinimumClt;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3925
|
|
*/
|
|
uint8_t alignmentFill_at_3925[1] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 3926
|
|
*/
|
|
int16_t nitrousMaximumMap;
|
|
/**
|
|
* units: afr
|
|
* offset 3928
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> nitrousMaximumAfr;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3929
|
|
*/
|
|
uint8_t alignmentFill_at_3929[1] = {};
|
|
/**
|
|
* units: rpm
|
|
* offset 3930
|
|
*/
|
|
uint16_t nitrousActivationRpm;
|
|
/**
|
|
* units: rpm
|
|
* offset 3932
|
|
*/
|
|
uint16_t nitrousDeactivationRpm;
|
|
/**
|
|
* units: rpm
|
|
* offset 3934
|
|
*/
|
|
uint16_t nitrousDeactivationRpmWindow;
|
|
/**
|
|
* Retard timing by this amount during DFCO. Smooths the transition back from fuel cut. After fuel is restored, ramp timing back in over the period specified.
|
|
* units: deg
|
|
* offset 3936
|
|
*/
|
|
uint8_t dfcoRetardDeg;
|
|
/**
|
|
* Smooths the transition back from fuel cut. After fuel is restored, ramp timing back in over the period specified.
|
|
* units: s
|
|
* offset 3937
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> dfcoRetardRampInTime;
|
|
/**
|
|
* offset 3938
|
|
*/
|
|
output_pin_e nitrousRelayPin;
|
|
/**
|
|
* offset 3940
|
|
*/
|
|
pin_output_mode_e nitrousRelayPinMode;
|
|
/**
|
|
* units: %
|
|
* offset 3941
|
|
*/
|
|
int8_t nitrousFuelAdderPercent;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3942
|
|
*/
|
|
uint8_t alignmentFill_at_3942[2] = {};
|
|
/**
|
|
* Retard timing to remove from actual final timing (after all corrections) due to additional air.
|
|
* units: deg
|
|
* offset 3944
|
|
*/
|
|
float nitrousIgnitionRetard;
|
|
/**
|
|
* units: Kph
|
|
* offset 3948
|
|
*/
|
|
uint16_t nitrousMinimumVehicleSpeed;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 3950
|
|
*/
|
|
uint8_t alignmentFill_at_3950[2] = {};
|
|
/**
|
|
* Exponential Average Alpha filtering parameter
|
|
* offset 3952
|
|
*/
|
|
float fuelLevelAveragingAlpha;
|
|
/**
|
|
* How often do we update fuel level gauge
|
|
* units: seconds
|
|
* offset 3956
|
|
*/
|
|
float fuelLevelUpdatePeriodSec;
|
|
/**
|
|
* Error below specified value
|
|
* units: v
|
|
* offset 3960
|
|
*/
|
|
float fuelLevelLowThresholdVoltage;
|
|
/**
|
|
* Error above specified value
|
|
* units: v
|
|
* offset 3964
|
|
*/
|
|
float fuelLevelHighThresholdVoltage;
|
|
/**
|
|
* units: units
|
|
* offset 3968
|
|
*/
|
|
uint8_t unusedOftenChangesDuringFirmwareUpdate[END_OF_CALIBRATION_PADDING] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 4026
|
|
*/
|
|
uint8_t alignmentFill_at_4026[2] = {};
|
|
};
|
|
static_assert(sizeof(engine_configuration_s) == 4028);
|
|
|
|
// start of ign_cyl_trim_s
|
|
struct ign_cyl_trim_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
scaled_channel<int8_t, 5, 1> table[IGN_TRIM_SIZE][IGN_TRIM_SIZE] = {};
|
|
};
|
|
static_assert(sizeof(ign_cyl_trim_s) == 16);
|
|
|
|
// start of fuel_cyl_trim_s
|
|
struct fuel_cyl_trim_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
scaled_channel<int8_t, 5, 1> table[FUEL_TRIM_SIZE][FUEL_TRIM_SIZE] = {};
|
|
};
|
|
static_assert(sizeof(fuel_cyl_trim_s) == 16);
|
|
|
|
// start of blend_table_s
|
|
struct blend_table_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> table[BLEND_TABLE_COUNT][BLEND_TABLE_COUNT] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 128
|
|
*/
|
|
uint16_t loadBins[BLEND_TABLE_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 144
|
|
*/
|
|
uint16_t rpmBins[BLEND_TABLE_COUNT] = {};
|
|
/**
|
|
* offset 160
|
|
*/
|
|
gppwm_channel_e blendParameter;
|
|
/**
|
|
* offset 161
|
|
*/
|
|
gppwm_channel_e yAxisOverride;
|
|
/**
|
|
* offset 162
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> blendBins[BLEND_FACTOR_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 178
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> blendValues[BLEND_FACTOR_SIZE] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 186
|
|
*/
|
|
uint8_t alignmentFill_at_186[2] = {};
|
|
};
|
|
static_assert(sizeof(blend_table_s) == 188);
|
|
|
|
// start of persistent_config_s
|
|
struct persistent_config_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
engine_configuration_s engineConfiguration;
|
|
/**
|
|
* units: mult
|
|
* offset 4028
|
|
*/
|
|
float postCrankingFactor[CRANKING_ENRICH_COUNT][CRANKING_ENRICH_COUNT] = {};
|
|
/**
|
|
* units: count
|
|
* offset 4172
|
|
*/
|
|
uint16_t postCrankingDurationBins[CRANKING_ENRICH_COUNT] = {};
|
|
/**
|
|
* units: C
|
|
* offset 4184
|
|
*/
|
|
int16_t postCrankingCLTBins[CRANKING_ENRICH_COUNT] = {};
|
|
/**
|
|
* target TPS value, 0 to 100%
|
|
* TODO: use int8 data date once we template interpolation method
|
|
* units: target TPS position
|
|
* offset 4196
|
|
*/
|
|
float etbBiasBins[ETB_BIAS_CURVE_LENGTH] = {};
|
|
/**
|
|
* PWM bias, open loop component of PID closed loop control
|
|
* units: ETB duty cycle bias
|
|
* offset 4228
|
|
*/
|
|
float etbBiasValues[ETB_BIAS_CURVE_LENGTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 4260
|
|
*/
|
|
scaled_channel<uint8_t, 20, 1> iacPidMultTable[IAC_PID_MULT_SIZE][IAC_PID_MULT_SIZE] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 4324
|
|
*/
|
|
uint8_t iacPidMultLoadBins[IAC_PID_MULT_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 4332
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> iacPidMultRpmBins[IAC_PID_MULT_SIZE] = {};
|
|
/**
|
|
* On Single Coil or Wasted Spark setups you have to lower dwell at high RPM
|
|
* units: RPM
|
|
* offset 4340
|
|
*/
|
|
uint16_t sparkDwellRpmBins[DWELL_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ms
|
|
* offset 4356
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> sparkDwellValues[DWELL_CURVE_SIZE] = {};
|
|
/**
|
|
* CLT-based target RPM for automatic idle controller
|
|
* units: C
|
|
* offset 4372
|
|
*/
|
|
scaled_channel<int8_t, 1, 2> cltIdleRpmBins[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* See idleRpmPid
|
|
* units: RPM
|
|
* offset 4388
|
|
*/
|
|
scaled_channel<uint8_t, 1, 20> cltIdleRpm[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 4404
|
|
*/
|
|
scaled_channel<int8_t, 10, 1> ignitionCltCorrTable[CLT_TIMING_CURVE_SIZE][CLT_TIMING_CURVE_SIZE] = {};
|
|
/**
|
|
* CLT-based timing correction
|
|
* units: C
|
|
* offset 4429
|
|
*/
|
|
int8_t ignitionCltCorrTempBins[CLT_TIMING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 4434
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> ignitionCltCorrLoadBins[CLT_TIMING_CURVE_SIZE] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 4439
|
|
*/
|
|
uint8_t alignmentFill_at_4439[1] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4440
|
|
*/
|
|
float scriptCurve1Bins[SCRIPT_CURVE_16] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4504
|
|
*/
|
|
float scriptCurve1[SCRIPT_CURVE_16] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4568
|
|
*/
|
|
float scriptCurve2Bins[SCRIPT_CURVE_16] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4632
|
|
*/
|
|
float scriptCurve2[SCRIPT_CURVE_16] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4696
|
|
*/
|
|
float scriptCurve3Bins[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4728
|
|
*/
|
|
float scriptCurve3[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4760
|
|
*/
|
|
float scriptCurve4Bins[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4792
|
|
*/
|
|
float scriptCurve4[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4824
|
|
*/
|
|
float scriptCurve5Bins[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4856
|
|
*/
|
|
float scriptCurve5[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: x
|
|
* offset 4888
|
|
*/
|
|
float scriptCurve6Bins[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: y
|
|
* offset 4920
|
|
*/
|
|
float scriptCurve6[SCRIPT_CURVE_8] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 4952
|
|
*/
|
|
float baroCorrPressureBins[BARO_CORR_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 4968
|
|
*/
|
|
float baroCorrRpmBins[BARO_CORR_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 4984
|
|
*/
|
|
float baroCorrTable[BARO_CORR_SIZE][BARO_CORR_SIZE] = {};
|
|
/**
|
|
* Cranking fuel correction coefficient based on TPS
|
|
* units: Ratio
|
|
* offset 5048
|
|
*/
|
|
float crankingTpsCoef[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 5080
|
|
*/
|
|
float crankingTpsBins[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* Optional timing advance table for Cranking (see useSeparateAdvanceForCranking)
|
|
* units: RPM
|
|
* offset 5112
|
|
*/
|
|
uint16_t crankingAdvanceBins[CRANKING_ADVANCE_CURVE_SIZE] = {};
|
|
/**
|
|
* Optional timing advance table for Cranking (see useSeparateAdvanceForCranking)
|
|
* units: deg
|
|
* offset 5120
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> crankingAdvance[CRANKING_ADVANCE_CURVE_SIZE] = {};
|
|
/**
|
|
* RPM-based idle position for coasting
|
|
* units: RPM
|
|
* offset 5128
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> iacCoastingRpmBins[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* RPM-based idle position for coasting
|
|
* units: %
|
|
* offset 5144
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> iacCoasting[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* offset 5160
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> boostTableOpenLoop[BOOST_LOAD_COUNT][BOOST_RPM_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 5224
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> boostRpmBins[BOOST_RPM_COUNT] = {};
|
|
/**
|
|
* offset 5232
|
|
*/
|
|
scaled_channel<uint8_t, 1, 2> boostTableClosedLoop[BOOST_LOAD_COUNT][BOOST_RPM_COUNT] = {};
|
|
/**
|
|
* offset 5296
|
|
*/
|
|
uint16_t boostLoadBins[BOOST_LOAD_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 5312
|
|
*/
|
|
uint8_t pedalToTpsTable[PEDAL_TO_TPS_SIZE][PEDAL_TO_TPS_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 5376
|
|
*/
|
|
uint8_t pedalToTpsPedalBins[PEDAL_TO_TPS_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 5384
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> pedalToTpsRpmBins[PEDAL_TO_TPS_SIZE] = {};
|
|
/**
|
|
* CLT-based cranking position multiplier for simple manual idle controller
|
|
* units: C
|
|
* offset 5392
|
|
*/
|
|
float cltCrankingCorrBins[CLT_CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* CLT-based cranking position multiplier for simple manual idle controller
|
|
* units: %
|
|
* offset 5424
|
|
*/
|
|
float cltCrankingCorr[CLT_CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* Optional timing advance table for Idle (see useSeparateAdvanceForIdle)
|
|
* units: RPM
|
|
* offset 5456
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> idleAdvanceBins[IDLE_ADVANCE_CURVE_SIZE] = {};
|
|
/**
|
|
* Optional timing advance table for Idle (see useSeparateAdvanceForIdle)
|
|
* units: deg
|
|
* offset 5464
|
|
*/
|
|
float idleAdvance[IDLE_ADVANCE_CURVE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 5496
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> idleVeRpmBins[IDLE_VE_SIZE] = {};
|
|
/**
|
|
* units: load
|
|
* offset 5500
|
|
*/
|
|
uint8_t idleVeLoadBins[IDLE_VE_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 5504
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> idleVeTable[IDLE_VE_SIZE][IDLE_VE_SIZE] = {};
|
|
/**
|
|
* offset 5536
|
|
*/
|
|
lua_script_t luaScript;
|
|
/**
|
|
* units: C
|
|
* offset 13536
|
|
*/
|
|
float cltFuelCorrBins[CLT_FUEL_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 13600
|
|
*/
|
|
float cltFuelCorr[CLT_FUEL_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 13664
|
|
*/
|
|
float iatFuelCorrBins[IAT_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 13728
|
|
*/
|
|
float iatFuelCorr[IAT_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 13792
|
|
*/
|
|
float crankingFuelCoef[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 13824
|
|
*/
|
|
float crankingFuelBins[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: counter
|
|
* offset 13856
|
|
*/
|
|
float crankingCycleBins[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 13888
|
|
*/
|
|
int16_t crankingCycleFuelCltBins[CRANKING_CYCLE_CLT_SIZE] = {};
|
|
/**
|
|
* units: mult
|
|
* offset 13896
|
|
*/
|
|
float crankingCycleFuelCoef[CRANKING_CYCLE_CLT_SIZE][CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* CLT-based idle position multiplier for simple manual idle controller
|
|
* units: C
|
|
* offset 14024
|
|
*/
|
|
float cltIdleCorrBins[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* CLT-based idle position multiplier for simple manual idle controller
|
|
* units: ratio
|
|
* offset 14088
|
|
*/
|
|
float cltIdleCorr[CLT_CURVE_SIZE] = {};
|
|
/**
|
|
* Also known as MAF transfer function.
|
|
* kg/hour value.
|
|
* By the way 2.081989116 kg/h = 1 ft3/m
|
|
* units: kg/hour
|
|
* offset 14152
|
|
*/
|
|
float mafDecoding[MAF_DECODING_COUNT] = {};
|
|
/**
|
|
* units: V
|
|
* offset 14280
|
|
*/
|
|
float mafDecodingBins[MAF_DECODING_COUNT] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 14408
|
|
*/
|
|
scaled_channel<int8_t, 10, 1> ignitionIatCorrTable[IAT_IGN_CORR_COUNT][IAT_IGN_CORR_COUNT] = {};
|
|
/**
|
|
* units: C
|
|
* offset 14472
|
|
*/
|
|
int8_t ignitionIatCorrTempBins[IAT_IGN_CORR_COUNT] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 14480
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> ignitionIatCorrLoadBins[IAT_IGN_CORR_COUNT] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 14488
|
|
*/
|
|
int16_t injectionPhase[INJ_PHASE_LOAD_COUNT][INJ_PHASE_RPM_COUNT] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 15000
|
|
*/
|
|
uint16_t injPhaseLoadBins[INJ_PHASE_LOAD_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 15032
|
|
*/
|
|
uint16_t injPhaseRpmBins[INJ_PHASE_RPM_COUNT] = {};
|
|
/**
|
|
* units: onoff
|
|
* offset 15064
|
|
*/
|
|
uint8_t tcuSolenoidTable[TCU_SOLENOID_COUNT][TCU_GEAR_COUNT] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 15124
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> mapEstimateTable[FUEL_LOAD_COUNT][FUEL_RPM_COUNT] = {};
|
|
/**
|
|
* units: % TPS
|
|
* offset 15636
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> mapEstimateTpsBins[FUEL_LOAD_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 15668
|
|
*/
|
|
uint16_t mapEstimateRpmBins[FUEL_RPM_COUNT] = {};
|
|
/**
|
|
* units: value
|
|
* offset 15700
|
|
*/
|
|
int8_t vvtTable1[VVT_TABLE_SIZE][VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: L
|
|
* offset 15764
|
|
*/
|
|
uint16_t vvtTable1LoadBins[VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 15780
|
|
*/
|
|
uint16_t vvtTable1RpmBins[VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: value
|
|
* offset 15796
|
|
*/
|
|
int8_t vvtTable2[VVT_TABLE_SIZE][VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: L
|
|
* offset 15860
|
|
*/
|
|
uint16_t vvtTable2LoadBins[VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 15876
|
|
*/
|
|
uint16_t vvtTable2RpmBins[VVT_TABLE_SIZE] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 15892
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> ignitionTable[IGN_LOAD_COUNT][IGN_RPM_COUNT] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 16404
|
|
*/
|
|
uint16_t ignitionLoadBins[IGN_LOAD_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 16436
|
|
*/
|
|
uint16_t ignitionRpmBins[IGN_RPM_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 16468
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> veTable[VE_LOAD_COUNT][VE_RPM_COUNT] = {};
|
|
/**
|
|
* units: {bitStringValue(fuelUnits, fuelAlgorithm) }
|
|
* offset 16980
|
|
*/
|
|
uint16_t veLoadBins[VE_LOAD_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 17012
|
|
*/
|
|
uint16_t veRpmBins[VE_RPM_COUNT] = {};
|
|
/**
|
|
* units: lambda
|
|
* offset 17044
|
|
*/
|
|
scaled_channel<uint8_t, 147, 1> lambdaTable[FUEL_LOAD_COUNT][FUEL_RPM_COUNT] = {};
|
|
/**
|
|
* offset 17300
|
|
*/
|
|
uint16_t lambdaLoadBins[FUEL_LOAD_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 17332
|
|
*/
|
|
uint16_t lambdaRpmBins[FUEL_RPM_COUNT] = {};
|
|
/**
|
|
* units: value
|
|
* offset 17364
|
|
*/
|
|
float tpsTpsAccelTable[TPS_TPS_ACCEL_TABLE][TPS_TPS_ACCEL_TABLE] = {};
|
|
/**
|
|
* units: from
|
|
* offset 17620
|
|
*/
|
|
float tpsTpsAccelFromRpmBins[TPS_TPS_ACCEL_TABLE] = {};
|
|
/**
|
|
* units: to
|
|
* offset 17652
|
|
*/
|
|
float tpsTpsAccelToRpmBins[TPS_TPS_ACCEL_TABLE] = {};
|
|
/**
|
|
* units: value
|
|
* offset 17684
|
|
*/
|
|
float scriptTable1[SCRIPT_TABLE_8][SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: L
|
|
* offset 17940
|
|
*/
|
|
int16_t scriptTable1LoadBins[SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 17956
|
|
*/
|
|
int16_t scriptTable1RpmBins[SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: value
|
|
* offset 17972
|
|
*/
|
|
float scriptTable2[TABLE_2_LOAD_SIZE][TABLE_2_RPM_SIZE] = {};
|
|
/**
|
|
* units: L
|
|
* offset 18228
|
|
*/
|
|
int16_t scriptTable2LoadBins[TABLE_2_LOAD_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 18244
|
|
*/
|
|
int16_t scriptTable2RpmBins[TABLE_2_RPM_SIZE] = {};
|
|
/**
|
|
* units: value
|
|
* offset 18260
|
|
*/
|
|
uint8_t scriptTable3[SCRIPT_TABLE_8][SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: L
|
|
* offset 18324
|
|
*/
|
|
int16_t scriptTable3LoadBins[SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 18340
|
|
*/
|
|
int16_t scriptTable3RpmBins[SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: value
|
|
* offset 18356
|
|
*/
|
|
uint8_t scriptTable4[SCRIPT_TABLE_8][TABLE_4_RPM] = {};
|
|
/**
|
|
* units: L
|
|
* offset 18436
|
|
*/
|
|
int16_t scriptTable4LoadBins[SCRIPT_TABLE_8] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 18452
|
|
*/
|
|
int16_t scriptTable4RpmBins[TABLE_4_RPM] = {};
|
|
/**
|
|
* offset 18472
|
|
*/
|
|
uint16_t ignTrimLoadBins[IGN_TRIM_SIZE] = {};
|
|
/**
|
|
* units: rpm
|
|
* offset 18480
|
|
*/
|
|
uint16_t ignTrimRpmBins[IGN_TRIM_SIZE] = {};
|
|
/**
|
|
* offset 18488
|
|
*/
|
|
ign_cyl_trim_s ignTrims[12] = {};
|
|
/**
|
|
* offset 18680
|
|
*/
|
|
uint16_t fuelTrimLoadBins[FUEL_TRIM_SIZE] = {};
|
|
/**
|
|
* units: rpm
|
|
* offset 18688
|
|
*/
|
|
uint16_t fuelTrimRpmBins[FUEL_TRIM_SIZE] = {};
|
|
/**
|
|
* offset 18696
|
|
*/
|
|
fuel_cyl_trim_s fuelTrims[12] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 18888
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> crankingFuelCoefE100[CRANKING_CURVE_SIZE] = {};
|
|
/**
|
|
* units: Airmass
|
|
* offset 18904
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> tcu_pcAirmassBins[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18912
|
|
*/
|
|
uint8_t tcu_pcValsR[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18920
|
|
*/
|
|
uint8_t tcu_pcValsN[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18928
|
|
*/
|
|
uint8_t tcu_pcVals1[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18936
|
|
*/
|
|
uint8_t tcu_pcVals2[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18944
|
|
*/
|
|
uint8_t tcu_pcVals3[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18952
|
|
*/
|
|
uint8_t tcu_pcVals4[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18960
|
|
*/
|
|
uint8_t tcu_pcVals12[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18968
|
|
*/
|
|
uint8_t tcu_pcVals23[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18976
|
|
*/
|
|
uint8_t tcu_pcVals34[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18984
|
|
*/
|
|
uint8_t tcu_pcVals21[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 18992
|
|
*/
|
|
uint8_t tcu_pcVals32[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: %
|
|
* offset 19000
|
|
*/
|
|
uint8_t tcu_pcVals43[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: TPS
|
|
* offset 19008
|
|
*/
|
|
uint8_t tcu_tccTpsBins[8] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 19016
|
|
*/
|
|
uint8_t tcu_tccLockSpeed[8] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 19024
|
|
*/
|
|
uint8_t tcu_tccUnlockSpeed[8] = {};
|
|
/**
|
|
* units: KPH
|
|
* offset 19032
|
|
*/
|
|
uint8_t tcu_32SpeedBins[8] = {};
|
|
/**
|
|
* units: %
|
|
* offset 19040
|
|
*/
|
|
uint8_t tcu_32Vals[8] = {};
|
|
/**
|
|
* units: %
|
|
* offset 19048
|
|
*/
|
|
scaled_channel<int8_t, 10, 1> throttle2TrimTable[ETB2_TRIM_SIZE][ETB2_TRIM_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 19084
|
|
*/
|
|
uint8_t throttle2TrimTpsBins[ETB2_TRIM_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 19090
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> throttle2TrimRpmBins[ETB2_TRIM_SIZE] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 19096
|
|
*/
|
|
scaled_channel<uint8_t, 4, 1> maxKnockRetardTable[KNOCK_TABLE_SIZE][KNOCK_TABLE_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 19132
|
|
*/
|
|
uint8_t maxKnockRetardLoadBins[KNOCK_TABLE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 19138
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> maxKnockRetardRpmBins[KNOCK_TABLE_SIZE] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 19144
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> ALSTimingRetardTable[ALS_SIZE][ALS_SIZE] = {};
|
|
/**
|
|
* units: TPS
|
|
* offset 19176
|
|
*/
|
|
uint16_t alsIgnRetardLoadBins[ALS_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 19184
|
|
*/
|
|
uint16_t alsIgnRetardrpmBins[ALS_SIZE] = {};
|
|
/**
|
|
* units: percent
|
|
* offset 19192
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> ALSFuelAdjustment[ALS_SIZE][ALS_SIZE] = {};
|
|
/**
|
|
* units: TPS
|
|
* offset 19224
|
|
*/
|
|
uint16_t alsFuelAdjustmentLoadBins[ALS_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 19232
|
|
*/
|
|
uint16_t alsFuelAdjustmentrpmBins[ALS_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 19240
|
|
*/
|
|
scaled_channel<int16_t, 1, 10> ALSIgnSkipTable[ALS_SIZE][ALS_SIZE] = {};
|
|
/**
|
|
* units: TPS
|
|
* offset 19272
|
|
*/
|
|
uint16_t alsIgnSkipLoadBins[ALS_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 19280
|
|
*/
|
|
uint16_t alsIgnSkiprpmBins[ALS_SIZE] = {};
|
|
/**
|
|
* offset 19288
|
|
*/
|
|
blend_table_s ignBlends[IGN_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 20040
|
|
*/
|
|
blend_table_s veBlends[VE_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 20792
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> throttleEstimateEffectiveAreaBins[THR_EST_SIZE] = {};
|
|
/**
|
|
* In units of g/s normalized to choked flow conditions
|
|
* units: g/s
|
|
* offset 20816
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> throttleEstimateEffectiveAreaValues[THR_EST_SIZE] = {};
|
|
/**
|
|
* offset 20840
|
|
*/
|
|
blend_table_s boostOpenLoopBlends[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 21216
|
|
*/
|
|
blend_table_s boostClosedLoopBlends[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21592
|
|
*/
|
|
float tcu_rangeP[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21616
|
|
*/
|
|
float tcu_rangeR[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21640
|
|
*/
|
|
float tcu_rangeN[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21664
|
|
*/
|
|
float tcu_rangeD[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21688
|
|
*/
|
|
float tcu_rangeM[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21712
|
|
*/
|
|
float tcu_rangeM3[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21736
|
|
*/
|
|
float tcu_rangeM2[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21760
|
|
*/
|
|
float tcu_rangeM1[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21784
|
|
*/
|
|
float tcu_rangePlus[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21808
|
|
*/
|
|
float tcu_rangeMinus[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: level
|
|
* offset 21832
|
|
*/
|
|
float tcu_rangeLow[RANGE_INPUT_COUNT] = {};
|
|
/**
|
|
* units: lambda
|
|
* offset 21856
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> lambdaMaxDeviationTable[LAM_SIZE][LAM_SIZE] = {};
|
|
/**
|
|
* offset 21872
|
|
*/
|
|
uint16_t lambdaMaxDeviationLoadBins[LAM_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 21880
|
|
*/
|
|
uint16_t lambdaMaxDeviationRpmBins[LAM_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 21888
|
|
*/
|
|
uint8_t injectorStagingTable[INJ_STAGING_COUNT][INJ_STAGING_COUNT] = {};
|
|
/**
|
|
* offset 21924
|
|
*/
|
|
uint16_t injectorStagingLoadBins[INJ_STAGING_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 21936
|
|
*/
|
|
uint16_t injectorStagingRpmBins[INJ_STAGING_COUNT] = {};
|
|
/**
|
|
* units: deg C
|
|
* offset 21948
|
|
*/
|
|
int8_t wwCltBins[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* offset 21956
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> wwTauCltValues[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* offset 21964
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> wwBetaCltValues[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 21972
|
|
*/
|
|
int8_t wwMapBins[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* offset 21980
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> wwTauMapValues[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* offset 21988
|
|
*/
|
|
scaled_channel<uint8_t, 100, 1> wwBetaMapValues[WWAE_TABLE_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 21996
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> hpfpLobeProfileQuantityBins[HPFP_LOBE_PROFILE_SIZE] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 22012
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> hpfpLobeProfileAngle[HPFP_LOBE_PROFILE_SIZE] = {};
|
|
/**
|
|
* units: volts
|
|
* offset 22028
|
|
*/
|
|
uint8_t hpfpDeadtimeVoltsBins[HPFP_DEADTIME_SIZE] = {};
|
|
/**
|
|
* units: ms
|
|
* offset 22036
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> hpfpDeadtimeMS[HPFP_DEADTIME_SIZE] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 22052
|
|
*/
|
|
uint16_t hpfpTarget[HPFP_TARGET_SIZE][HPFP_TARGET_SIZE] = {};
|
|
/**
|
|
* units: load
|
|
* offset 22252
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> hpfpTargetLoadBins[HPFP_TARGET_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22272
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> hpfpTargetRpmBins[HPFP_TARGET_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 22282
|
|
*/
|
|
int8_t hpfpCompensation[HPFP_COMPENSATION_SIZE][HPFP_COMPENSATION_SIZE] = {};
|
|
/**
|
|
* units: cc/lobe
|
|
* offset 22382
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> hpfpCompensationLoadBins[HPFP_COMPENSATION_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22402
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> hpfpCompensationRpmBins[HPFP_COMPENSATION_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22412
|
|
*/
|
|
uint16_t knockNoiseRpmBins[ENGINE_NOISE_CURVE_SIZE] = {};
|
|
/**
|
|
* Knock sensor output knock detection threshold depending on current RPM.
|
|
* units: dB
|
|
* offset 22444
|
|
*/
|
|
scaled_channel<int8_t, 2, 1> knockBaseNoise[ENGINE_NOISE_CURVE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22460
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> tpsTspCorrValuesBins[TPS_TPS_ACCEL_CLT_CORR_TABLE] = {};
|
|
/**
|
|
* units: multiplier
|
|
* offset 22464
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> tpsTspCorrValues[TPS_TPS_ACCEL_CLT_CORR_TABLE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 22468
|
|
*/
|
|
int8_t cltRevLimitRpmBins[CLT_LIMITER_CURVE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22472
|
|
*/
|
|
uint16_t cltRevLimitRpm[CLT_LIMITER_CURVE_SIZE] = {};
|
|
/**
|
|
* units: volt
|
|
* offset 22480
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> fuelLevelBins[FUEL_LEVEL_TABLE_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 22496
|
|
*/
|
|
uint8_t fuelLevelValues[FUEL_LEVEL_TABLE_COUNT] = {};
|
|
/**
|
|
* units: volts
|
|
* offset 22504
|
|
*/
|
|
scaled_channel<uint8_t, 10, 1> dwellVoltageCorrVoltBins[DWELL_CURVE_SIZE] = {};
|
|
/**
|
|
* units: multiplier
|
|
* offset 22512
|
|
*/
|
|
scaled_channel<uint8_t, 50, 1> dwellVoltageCorrValues[DWELL_CURVE_SIZE] = {};
|
|
/**
|
|
* units: %
|
|
* offset 22520
|
|
*/
|
|
scaled_channel<uint8_t, 1, 1> tcu_shiftTpsBins[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22528
|
|
*/
|
|
uint8_t tcu_shiftSpeed12[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22536
|
|
*/
|
|
uint8_t tcu_shiftSpeed23[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22544
|
|
*/
|
|
uint8_t tcu_shiftSpeed34[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22552
|
|
*/
|
|
uint8_t tcu_shiftSpeed21[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22560
|
|
*/
|
|
uint8_t tcu_shiftSpeed32[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: MPH
|
|
* offset 22568
|
|
*/
|
|
uint8_t tcu_shiftSpeed43[TCU_TABLE_WIDTH] = {};
|
|
/**
|
|
* units: ms
|
|
* offset 22576
|
|
*/
|
|
float tcu_shiftTime;
|
|
/**
|
|
* units: Volts
|
|
* offset 22580
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> alternatorVoltageTargetTable[ALTERNATOR_VOLTAGE_TARGET_SIZE][ALTERNATOR_VOLTAGE_TARGET_SIZE] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 22612
|
|
*/
|
|
uint16_t alternatorVoltageTargetLoadBins[ALTERNATOR_VOLTAGE_TARGET_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22620
|
|
*/
|
|
uint16_t alternatorVoltageTargetRpmBins[ALTERNATOR_VOLTAGE_TARGET_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 22628
|
|
*/
|
|
float cltBoostCorrBins[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 22648
|
|
*/
|
|
float cltBoostCorr[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 22668
|
|
*/
|
|
float iatBoostCorrBins[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: ratio
|
|
* offset 22688
|
|
*/
|
|
float iatBoostCorr[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 22708
|
|
*/
|
|
float cltBoostAdderBins[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* offset 22728
|
|
*/
|
|
float cltBoostAdder[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: C
|
|
* offset 22748
|
|
*/
|
|
float iatBoostAdderBins[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* offset 22768
|
|
*/
|
|
float iatBoostAdder[BOOST_CURVE_SIZE] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 22788
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> minimumOilPressureBins[8] = {};
|
|
/**
|
|
* units: kPa
|
|
* offset 22796
|
|
*/
|
|
scaled_channel<uint8_t, 1, 10> minimumOilPressureValues[8] = {};
|
|
/**
|
|
* offset 22804
|
|
*/
|
|
blend_table_s targetAfrBlends[TARGET_AFR_BLEND_COUNT] = {};
|
|
/**
|
|
* units: RPM
|
|
* offset 23180
|
|
*/
|
|
scaled_channel<uint8_t, 1, 100> trimRpmBins[FUEL_TRIM_RPM_COUNT] = {};
|
|
/**
|
|
* offset 23188
|
|
*/
|
|
uint16_t trimLoadBins[FUEL_TRIM_LOAD_COUNT] = {};
|
|
/**
|
|
* @@DYNO_RPM_STEP_TOOLTIP@@
|
|
* units: Rpm
|
|
* offset 23204
|
|
*/
|
|
scaled_channel<uint8_t, 1, 1> dynoRpmStep;
|
|
/**
|
|
* @@DYNO_SAE_TEMPERATURE_C_TOOLTIP@@
|
|
* units: C
|
|
* offset 23205
|
|
*/
|
|
scaled_channel<int8_t, 1, 1> dynoSaeTemperatureC;
|
|
/**
|
|
* @@DYNO_SAE_RELATIVE_HUMIDITY_TOOLTIP@@
|
|
* units: %
|
|
* offset 23206
|
|
*/
|
|
scaled_channel<uint8_t, 1, 1> dynoSaeRelativeHumidity;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 23207
|
|
*/
|
|
uint8_t alignmentFill_at_23207[1] = {};
|
|
/**
|
|
* @@DYNO_SAE_BARO_TOOLTIP@@
|
|
* units: KPa
|
|
* offset 23208
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoSaeBaro;
|
|
/**
|
|
* @@DYNO_CAR_WHEEL_DIA_INCH_TOOLTIP@@
|
|
* units: Inch
|
|
* offset 23212
|
|
*/
|
|
scaled_channel<int8_t, 1, 1> dynoCarWheelDiaInch;
|
|
/**
|
|
* @@DYNO_CAR_WHEEL_ASPECT_RATIO_TOOLTIP@@
|
|
* units: Aspect Ratio (height)
|
|
* offset 23213
|
|
*/
|
|
scaled_channel<int8_t, 1, 1> dynoCarWheelAspectRatio;
|
|
/**
|
|
* @@DYNO_CAR_WHEEL_TIRE_WIDTH_TOOLTIP@@
|
|
* units: Width mm
|
|
* offset 23214
|
|
*/
|
|
scaled_channel<int16_t, 1, 1> dynoCarWheelTireWidthMm;
|
|
/**
|
|
* @@DYNO_CAR_GEAR_PRIMARY_REDUCTION_TOOLTIP@@
|
|
* units: Units
|
|
* offset 23216
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoCarGearPrimaryReduction;
|
|
/**
|
|
* @@DYNO_CAR_GEAR_RATIO_TOOLTIP@@
|
|
* units: Units
|
|
* offset 23220
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoCarGearRatio;
|
|
/**
|
|
* @@DYNO_CAR_GEAR_FINAL_DRIVE_TOOLTIP@@
|
|
* units: Units
|
|
* offset 23224
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoCarGearFinalDrive;
|
|
/**
|
|
* @@DYNO_CAR_CAR_MASS_TOOLTIP@@
|
|
* units: Kg
|
|
* offset 23228
|
|
*/
|
|
scaled_channel<int16_t, 1, 1> dynoCarCarMassKg;
|
|
/**
|
|
* @@DYNO_CAR_CARGO_MASS_TOOLTIP@@
|
|
* units: Kg
|
|
* offset 23230
|
|
*/
|
|
scaled_channel<int16_t, 1, 1> dynoCarCargoMassKg;
|
|
/**
|
|
* @@DYNO_CAR_COEFF_OF_DRAG_TOOLTIP@@
|
|
* units: Coeff
|
|
* offset 23232
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoCarCoeffOfDrag;
|
|
/**
|
|
* @@DYNO_CAR_FRONTAL_AREA_TOOLTIP@@
|
|
* units: m2
|
|
* offset 23236
|
|
*/
|
|
scaled_channel<float, 1, 1> dynoCarFrontalAreaM2;
|
|
/**
|
|
* units: deg
|
|
* offset 23240
|
|
*/
|
|
scaled_channel<int8_t, 10, 1> trailingSparkTable[TRAILING_SPARK_SIZE][TRAILING_SPARK_SIZE] = {};
|
|
/**
|
|
* units: rpm
|
|
* offset 23256
|
|
*/
|
|
scaled_channel<uint8_t, 1, 50> trailingSparkRpmBins[TRAILING_SPARK_SIZE] = {};
|
|
/**
|
|
* units: Load
|
|
* offset 23260
|
|
*/
|
|
scaled_channel<uint8_t, 1, 5> trailingSparkLoadBins[TRAILING_SPARK_SIZE] = {};
|
|
};
|
|
static_assert(sizeof(persistent_config_s) == 23264);
|
|
|
|
// end
|
|
// this section was generated automatically by rusEFI tool config_definition-all.jar based on (unknown script) integration/rusefi_config.txt
|