// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/fuel/fuel_computer.txt Sun Sep 17 14:00:20 UTC 2023 // by class com.rusefi.output.CHeaderConsumer // begin #pragma once #include "rusefi_types.h" // start of running_fuel_s struct running_fuel_s { /** * Fuel: Post cranking mult * offset 0 */ float postCrankingFuelCorrection = (float)0; /** * @@GAUGE_NAME_FUEL_IAT_CORR@@ * offset 4 */ float intakeTemperatureCoefficient = (float)0; /** * @@GAUGE_NAME_FUEL_CLT_CORR@@ * offset 8 */ float coolantTemperatureCoefficient = (float)0; /** secs * offset 12 */ float timeSinceCrankingInSecs = (float)0; /** * @@GAUGE_NAME_FUEL_BASE@@ * This is the raw value we take from the fuel map or base fuel algorithm, before the corrections mg * offset 16 */ scaled_channel baseFuel = (uint16_t)0; /** * @@GAUGE_NAME_FUEL_RUNNING@@ * Total fuel with CLT IAT and TPS acceleration without injector lag corrections per cycle, as pulse per cycle mg * offset 18 */ scaled_channel fuel = (uint16_t)0; }; static_assert(sizeof(running_fuel_s) == 20); // start of fuel_computer_s struct fuel_computer_s { /** * Fuel: Total correction mult * offset 0 */ float totalFuelCorrection = (float)0; /** * offset 4 */ running_fuel_s running; /** % * offset 24 */ scaled_channel afrTableYAxis = (uint16_t)0; /** * @@GAUGE_NAME_TARGET_LAMBDA@@ * offset 26 */ scaled_channel targetLambda = (uint16_t)0; /** * @@GAUGE_NAME_TARGET_AFR@@ ratio * offset 28 */ scaled_channel targetAFR = (uint16_t)0; /** * Fuel: Stoich ratio ratio * offset 30 */ scaled_channel stoichiometricRatio = (uint16_t)0; /** * offset 32 */ float sdTcharge_coff = (float)0; /** * @@GAUGE_NAME_AIR_MASS@@ g * offset 36 */ float sdAirMassInOneCylinder = (float)0; /** * Air: Normalized cyl filling % * offset 40 */ float normalizedCylinderFilling = (float)0; /** offset 44 bit 0 */ bool injectorHwIssue : 1 {}; /** offset 44 bit 1 */ bool unusedBit_10_1 : 1 {}; /** offset 44 bit 2 */ bool unusedBit_10_2 : 1 {}; /** offset 44 bit 3 */ bool unusedBit_10_3 : 1 {}; /** offset 44 bit 4 */ bool unusedBit_10_4 : 1 {}; /** offset 44 bit 5 */ bool unusedBit_10_5 : 1 {}; /** offset 44 bit 6 */ bool unusedBit_10_6 : 1 {}; /** offset 44 bit 7 */ bool unusedBit_10_7 : 1 {}; /** offset 44 bit 8 */ bool unusedBit_10_8 : 1 {}; /** offset 44 bit 9 */ bool unusedBit_10_9 : 1 {}; /** offset 44 bit 10 */ bool unusedBit_10_10 : 1 {}; /** offset 44 bit 11 */ bool unusedBit_10_11 : 1 {}; /** offset 44 bit 12 */ bool unusedBit_10_12 : 1 {}; /** offset 44 bit 13 */ bool unusedBit_10_13 : 1 {}; /** offset 44 bit 14 */ bool unusedBit_10_14 : 1 {}; /** offset 44 bit 15 */ bool unusedBit_10_15 : 1 {}; /** offset 44 bit 16 */ bool unusedBit_10_16 : 1 {}; /** offset 44 bit 17 */ bool unusedBit_10_17 : 1 {}; /** offset 44 bit 18 */ bool unusedBit_10_18 : 1 {}; /** offset 44 bit 19 */ bool unusedBit_10_19 : 1 {}; /** offset 44 bit 20 */ bool unusedBit_10_20 : 1 {}; /** offset 44 bit 21 */ bool unusedBit_10_21 : 1 {}; /** offset 44 bit 22 */ bool unusedBit_10_22 : 1 {}; /** offset 44 bit 23 */ bool unusedBit_10_23 : 1 {}; /** offset 44 bit 24 */ bool unusedBit_10_24 : 1 {}; /** offset 44 bit 25 */ bool unusedBit_10_25 : 1 {}; /** offset 44 bit 26 */ bool unusedBit_10_26 : 1 {}; /** offset 44 bit 27 */ bool unusedBit_10_27 : 1 {}; /** offset 44 bit 28 */ bool unusedBit_10_28 : 1 {}; /** offset 44 bit 29 */ bool unusedBit_10_29 : 1 {}; /** offset 44 bit 30 */ bool unusedBit_10_30 : 1 {}; /** offset 44 bit 31 */ bool unusedBit_10_31 : 1 {}; }; static_assert(sizeof(fuel_computer_s) == 48); // end // this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/algo/fuel/fuel_computer.txt Sun Sep 17 14:00:20 UTC 2023