1558 lines
44 KiB
C++
1558 lines
44 KiB
C++
#if !EFI_UNIT_TEST
|
|
// generated by GetOutputValueConsumer.java
|
|
#include "pch.h"
|
|
#include "value_lookup.h"
|
|
float getOutputValueByName(const char *name) {
|
|
int hash = djb2lowerCase(name);
|
|
switch(hash) {
|
|
// sd_present
|
|
case -230533156:
|
|
return engine->outputChannels.sd_present;
|
|
// sd_logging_internal
|
|
case 708639006:
|
|
return engine->outputChannels.sd_logging_internal;
|
|
// triggerScopeReady
|
|
case -770506808:
|
|
return engine->outputChannels.triggerScopeReady;
|
|
// antilagTriggered
|
|
case 1155330306:
|
|
return engine->outputChannels.antilagTriggered;
|
|
// isFanOn
|
|
case -1441751117:
|
|
return engine->outputChannels.isFanOn;
|
|
// isO2HeaterOn
|
|
case 438683128:
|
|
return engine->outputChannels.isO2HeaterOn;
|
|
// checkEngine
|
|
case -1790051911:
|
|
return engine->outputChannels.checkEngine;
|
|
// needBurn
|
|
case 1368986296:
|
|
return engine->outputChannels.needBurn;
|
|
// sd_msd
|
|
case 459787871:
|
|
return engine->outputChannels.sd_msd;
|
|
// isFan2On
|
|
case -333212891:
|
|
return engine->outputChannels.isFan2On;
|
|
// toothLogReady
|
|
case -1662199734:
|
|
return engine->outputChannels.toothLogReady;
|
|
// isTpsError
|
|
case 14587330:
|
|
return engine->outputChannels.isTpsError;
|
|
// isCltError
|
|
case 518760558:
|
|
return engine->outputChannels.isCltError;
|
|
// isMapError
|
|
case 23640681:
|
|
return engine->outputChannels.isMapError;
|
|
// isIatError
|
|
case 1505102185:
|
|
return engine->outputChannels.isIatError;
|
|
// isTriggerError
|
|
case -1746157889:
|
|
return engine->outputChannels.isTriggerError;
|
|
// hasCriticalError
|
|
case -2015383594:
|
|
return engine->outputChannels.hasCriticalError;
|
|
// isWarnNow
|
|
case -1919072851:
|
|
return engine->outputChannels.isWarnNow;
|
|
// isPedalError
|
|
case -2035612655:
|
|
return engine->outputChannels.isPedalError;
|
|
// isKnockChipOk
|
|
case 1830366389:
|
|
return engine->outputChannels.isKnockChipOk;
|
|
// launchTriggered
|
|
case -52473827:
|
|
return engine->outputChannels.launchTriggered;
|
|
// isTps2Error
|
|
case -1529936844:
|
|
return engine->outputChannels.isTps2Error;
|
|
// injectorFault
|
|
case 1608791711:
|
|
return engine->outputChannels.injectorFault;
|
|
// ignitionFault
|
|
case -1158382750:
|
|
return engine->outputChannels.ignitionFault;
|
|
// isMainRelayOn
|
|
case -822552576:
|
|
return engine->outputChannels.isMainRelayOn;
|
|
// isUsbConnected
|
|
case 1836976702:
|
|
return engine->outputChannels.isUsbConnected;
|
|
// dfcoActive
|
|
case -622949795:
|
|
return engine->outputChannels.dfcoActive;
|
|
// sd_active_wr
|
|
case 1301677887:
|
|
return engine->outputChannels.sd_active_wr;
|
|
// sd_active_rd
|
|
case 1301677708:
|
|
return engine->outputChannels.sd_active_rd;
|
|
// RPMValue
|
|
case 1699696209:
|
|
return engine->outputChannels.RPMValue;
|
|
// rpmAcceleration
|
|
case -968092482:
|
|
return engine->outputChannels.rpmAcceleration;
|
|
// speedToRpmRatio
|
|
case -685727673:
|
|
return engine->outputChannels.speedToRpmRatio;
|
|
// internalMcuTemperature
|
|
case -871891659:
|
|
return engine->outputChannels.internalMcuTemperature;
|
|
// coolant
|
|
case -746111499:
|
|
return engine->outputChannels.coolant;
|
|
// intake
|
|
case 81034497:
|
|
return engine->outputChannels.intake;
|
|
// auxTemp1
|
|
case 1331305978:
|
|
return engine->outputChannels.auxTemp1;
|
|
// auxTemp2
|
|
case 1331305979:
|
|
return engine->outputChannels.auxTemp2;
|
|
// TPSValue
|
|
case 1272048601:
|
|
return engine->outputChannels.TPSValue;
|
|
// throttlePedalPosition
|
|
case -84435626:
|
|
return engine->outputChannels.throttlePedalPosition;
|
|
// tpsADC
|
|
case 513859492:
|
|
return engine->outputChannels.tpsADC;
|
|
// rawMaf
|
|
case 417956611:
|
|
return engine->outputChannels.rawMaf;
|
|
// mafMeasured
|
|
case -2032003569:
|
|
return engine->outputChannels.mafMeasured;
|
|
// MAPValue
|
|
case 1281101952:
|
|
return engine->outputChannels.MAPValue;
|
|
// baroPressure
|
|
case -2066867294:
|
|
return engine->outputChannels.baroPressure;
|
|
// lambdaValue
|
|
case -1119268893:
|
|
return engine->outputChannels.lambdaValue;
|
|
// VBatt
|
|
case 277722310:
|
|
return engine->outputChannels.VBatt;
|
|
// oilPressure
|
|
case 598268994:
|
|
return engine->outputChannels.oilPressure;
|
|
// vvtPositionB1I
|
|
case 1384666006:
|
|
return engine->outputChannels.vvtPositionB1I;
|
|
// actualLastInjection
|
|
case 681043126:
|
|
return engine->outputChannels.actualLastInjection;
|
|
// injectorDutyCycle
|
|
case -354325031:
|
|
return engine->outputChannels.injectorDutyCycle;
|
|
// tempLogging1
|
|
case -679828717:
|
|
return engine->outputChannels.tempLogging1;
|
|
// injectionOffset
|
|
case -243031057:
|
|
return engine->outputChannels.injectionOffset;
|
|
// engineMakeCodeNameCrc16
|
|
case 1726931380:
|
|
return engine->outputChannels.engineMakeCodeNameCrc16;
|
|
// wallFuelAmount
|
|
case 115540725:
|
|
return engine->outputChannels.wallFuelAmount;
|
|
// wallFuelCorrectionValue
|
|
case -1511514122:
|
|
return engine->outputChannels.wallFuelCorrectionValue;
|
|
// revolutionCounterSinceStart
|
|
case -1555114948:
|
|
return engine->outputChannels.revolutionCounterSinceStart;
|
|
// canReadCounter
|
|
case 1247316691:
|
|
return engine->outputChannels.canReadCounter;
|
|
// tpsAccelFuel
|
|
case -384925312:
|
|
return engine->outputChannels.tpsAccelFuel;
|
|
// currentIgnitionMode
|
|
case -3603666:
|
|
return engine->outputChannels.currentIgnitionMode;
|
|
// currentInjectionMode
|
|
case -921867120:
|
|
return engine->outputChannels.currentInjectionMode;
|
|
// coilDutyCycle
|
|
case 1029096098:
|
|
return engine->outputChannels.coilDutyCycle;
|
|
// etbTarget
|
|
case -2105094009:
|
|
return engine->outputChannels.etbTarget;
|
|
// etb1DutyCycle
|
|
case 1021133095:
|
|
return engine->outputChannels.etb1DutyCycle;
|
|
// fuelTankLevel
|
|
case 543832183:
|
|
return engine->outputChannels.fuelTankLevel;
|
|
// totalFuelConsumption
|
|
case 1417905588:
|
|
return engine->outputChannels.totalFuelConsumption;
|
|
// fuelFlowRate
|
|
case 822501973:
|
|
return engine->outputChannels.fuelFlowRate;
|
|
// TPS2Value
|
|
case 686191307:
|
|
return engine->outputChannels.TPS2Value;
|
|
// tuneCrc16
|
|
case -1158359776:
|
|
return engine->outputChannels.tuneCrc16;
|
|
// veValue
|
|
case 1933507837:
|
|
return engine->outputChannels.veValue;
|
|
// seconds
|
|
case -1962923820:
|
|
return engine->outputChannels.seconds;
|
|
// engineMode
|
|
case -2073424832:
|
|
return engine->outputChannels.engineMode;
|
|
// firmwareVersion
|
|
case 799075048:
|
|
return engine->outputChannels.firmwareVersion;
|
|
// rawIdlePositionSensor
|
|
case -677561380:
|
|
return engine->outputChannels.rawIdlePositionSensor;
|
|
// rawWastegatePosition
|
|
case 2039421097:
|
|
return engine->outputChannels.rawWastegatePosition;
|
|
// accelerationLat
|
|
case -2133047664:
|
|
return engine->outputChannels.accelerationLat;
|
|
// accelerationLon
|
|
case -2133047208:
|
|
return engine->outputChannels.accelerationLon;
|
|
// detectedGear
|
|
case 283558758:
|
|
return engine->outputChannels.detectedGear;
|
|
// maxTriggerReentrant
|
|
case -1595441102:
|
|
return engine->outputChannels.maxTriggerReentrant;
|
|
// rawLowFuelPressure
|
|
case -148455898:
|
|
return engine->outputChannels.rawLowFuelPressure;
|
|
// rawHighFuelPressure
|
|
case 990714516:
|
|
return engine->outputChannels.rawHighFuelPressure;
|
|
// lowFuelPressure
|
|
case -628741220:
|
|
return engine->outputChannels.lowFuelPressure;
|
|
// tcuDesiredGear
|
|
case 471298448:
|
|
return engine->outputChannels.tcuDesiredGear;
|
|
// flexPercent
|
|
case 404628421:
|
|
return engine->outputChannels.flexPercent;
|
|
// wastegatePositionSensor
|
|
case 53406649:
|
|
return engine->outputChannels.wastegatePositionSensor;
|
|
// highFuelPressure
|
|
case -1973799222:
|
|
return engine->outputChannels.highFuelPressure;
|
|
// tempLogging3
|
|
case -679828715:
|
|
return engine->outputChannels.tempLogging3;
|
|
// tempLogging4
|
|
case -679828714:
|
|
return engine->outputChannels.tempLogging4;
|
|
// calibrationValue
|
|
case -1560670902:
|
|
return engine->outputChannels.calibrationValue;
|
|
// calibrationMode
|
|
case 1774505810:
|
|
return engine->outputChannels.calibrationMode;
|
|
// idleStepperTargetPosition
|
|
case 356548450:
|
|
return engine->outputChannels.idleStepperTargetPosition;
|
|
// tsConfigVersion
|
|
case 1299611400:
|
|
return engine->outputChannels.tsConfigVersion;
|
|
// totalTriggerErrorCounter
|
|
case 2018173863:
|
|
return engine->outputChannels.totalTriggerErrorCounter;
|
|
// orderingErrorCounter
|
|
case -1326404407:
|
|
return engine->outputChannels.orderingErrorCounter;
|
|
// warningCounter
|
|
case 1492724763:
|
|
return engine->outputChannels.warningCounter;
|
|
// lastErrorCode
|
|
case -1346040258:
|
|
return engine->outputChannels.lastErrorCode;
|
|
// debugFloatField1
|
|
case 1240443767:
|
|
return engine->outputChannels.debugFloatField1;
|
|
// debugFloatField2
|
|
case 1240443768:
|
|
return engine->outputChannels.debugFloatField2;
|
|
// debugFloatField3
|
|
case 1240443769:
|
|
return engine->outputChannels.debugFloatField3;
|
|
// debugFloatField4
|
|
case 1240443770:
|
|
return engine->outputChannels.debugFloatField4;
|
|
// debugFloatField5
|
|
case 1240443771:
|
|
return engine->outputChannels.debugFloatField5;
|
|
// debugFloatField6
|
|
case 1240443772:
|
|
return engine->outputChannels.debugFloatField6;
|
|
// debugFloatField7
|
|
case 1240443773:
|
|
return engine->outputChannels.debugFloatField7;
|
|
// debugIntField1
|
|
case -183564276:
|
|
return engine->outputChannels.debugIntField1;
|
|
// debugIntField2
|
|
case -183564275:
|
|
return engine->outputChannels.debugIntField2;
|
|
// debugIntField3
|
|
case -183564274:
|
|
return engine->outputChannels.debugIntField3;
|
|
// debugIntField4
|
|
case -183564273:
|
|
return engine->outputChannels.debugIntField4;
|
|
// debugIntField5
|
|
case -183564272:
|
|
return engine->outputChannels.debugIntField5;
|
|
// rawTps1Primary
|
|
case -1051397637:
|
|
return engine->outputChannels.rawTps1Primary;
|
|
// rawClt
|
|
case 417946098:
|
|
return engine->outputChannels.rawClt;
|
|
// rawIat
|
|
case 417952269:
|
|
return engine->outputChannels.rawIat;
|
|
// rawOilPressure
|
|
case 2070002124:
|
|
return engine->outputChannels.rawOilPressure;
|
|
// rawAcPressure
|
|
case 2079600300:
|
|
return engine->outputChannels.rawAcPressure;
|
|
// fuelClosedLoopBinIdx
|
|
case 1342844099:
|
|
return engine->outputChannels.fuelClosedLoopBinIdx;
|
|
// rawPpsPrimary
|
|
case -347083354:
|
|
return engine->outputChannels.rawPpsPrimary;
|
|
// rawPpsSecondary
|
|
case -1798336054:
|
|
return engine->outputChannels.rawPpsSecondary;
|
|
// rawRawPpsPrimary
|
|
case 347493808:
|
|
return engine->outputChannels.rawRawPpsPrimary;
|
|
// rawRawPpsSecondary
|
|
case -1318050732:
|
|
return engine->outputChannels.rawRawPpsSecondary;
|
|
// idlePositionSensor
|
|
case 782384530:
|
|
return engine->outputChannels.idlePositionSensor;
|
|
// AFRValue
|
|
case -1093429509:
|
|
return engine->outputChannels.AFRValue;
|
|
// VssAcceleration
|
|
case -513494613:
|
|
return engine->outputChannels.VssAcceleration;
|
|
// lambdaValue2
|
|
case 1718832245:
|
|
return engine->outputChannels.lambdaValue2;
|
|
// AFRValue2
|
|
case -1723435379:
|
|
return engine->outputChannels.AFRValue2;
|
|
// vvtPositionB1E
|
|
case 1384666002:
|
|
return engine->outputChannels.vvtPositionB1E;
|
|
// vvtPositionB2I
|
|
case 1384666039:
|
|
return engine->outputChannels.vvtPositionB2I;
|
|
// vvtPositionB2E
|
|
case 1384666035:
|
|
return engine->outputChannels.vvtPositionB2E;
|
|
// rawTps1Secondary
|
|
case 2555743:
|
|
return engine->outputChannels.rawTps1Secondary;
|
|
// rawTps2Primary
|
|
case -1382627620:
|
|
return engine->outputChannels.rawTps2Primary;
|
|
// rawTps2Secondary
|
|
case 70357120:
|
|
return engine->outputChannels.rawTps2Secondary;
|
|
// accelerationVert
|
|
case -1670732400:
|
|
return engine->outputChannels.accelerationVert;
|
|
// gyroYaw
|
|
case 519838295:
|
|
return engine->outputChannels.gyroYaw;
|
|
// turboSpeed
|
|
case -4187390:
|
|
return engine->outputChannels.turboSpeed;
|
|
// tps1Split
|
|
case 644036825:
|
|
return engine->outputChannels.tps1Split;
|
|
// tps2Split
|
|
case 683172218:
|
|
return engine->outputChannels.tps2Split;
|
|
// tps12Split
|
|
case 1533250027:
|
|
return engine->outputChannels.tps12Split;
|
|
// accPedalSplit
|
|
case 864210494:
|
|
return engine->outputChannels.accPedalSplit;
|
|
// sparkCutReason
|
|
case -56739846:
|
|
return engine->outputChannels.sparkCutReason;
|
|
// fuelCutReason
|
|
case -1225000603:
|
|
return engine->outputChannels.fuelCutReason;
|
|
// mafEstimate
|
|
case -2045040875:
|
|
return engine->outputChannels.mafEstimate;
|
|
// instantRpm
|
|
case -658597643:
|
|
return engine->outputChannels.instantRpm;
|
|
// rawMap
|
|
case 417956621:
|
|
return engine->outputChannels.rawMap;
|
|
// rawAfr
|
|
case 417943720:
|
|
return engine->outputChannels.rawAfr;
|
|
// calibrationValue2
|
|
case 37467836:
|
|
return engine->outputChannels.calibrationValue2;
|
|
// luaInvocationCounter
|
|
case 1766132801:
|
|
return engine->outputChannels.luaInvocationCounter;
|
|
// luaLastCycleDuration
|
|
case 823476017:
|
|
return engine->outputChannels.luaLastCycleDuration;
|
|
// vssEdgeCounter
|
|
case 385418550:
|
|
return engine->outputChannels.vssEdgeCounter;
|
|
// issEdgeCounter
|
|
case 347478025:
|
|
return engine->outputChannels.issEdgeCounter;
|
|
// auxLinear1
|
|
case 803810399:
|
|
return engine->outputChannels.auxLinear1;
|
|
// auxLinear2
|
|
case 803810400:
|
|
return engine->outputChannels.auxLinear2;
|
|
// fallbackMap
|
|
case -940825965:
|
|
return engine->outputChannels.fallbackMap;
|
|
// instantMAPValue
|
|
case -1162308767:
|
|
return engine->outputChannels.instantMAPValue;
|
|
// maxLockedDuration
|
|
case -558968637:
|
|
return engine->outputChannels.maxLockedDuration;
|
|
// canWriteOk
|
|
case 1193280444:
|
|
return engine->outputChannels.canWriteOk;
|
|
// canWriteNotOk
|
|
case 1964920685:
|
|
return engine->outputChannels.canWriteNotOk;
|
|
// triggerPrimaryFall
|
|
case 248437820:
|
|
return engine->outputChannels.triggerPrimaryFall;
|
|
// triggerPrimaryRise
|
|
case 248878000:
|
|
return engine->outputChannels.triggerPrimaryRise;
|
|
// triggerSecondaryFall
|
|
case 1016089632:
|
|
return engine->outputChannels.triggerSecondaryFall;
|
|
// triggerSecondaryRise
|
|
case 1016529812:
|
|
return engine->outputChannels.triggerSecondaryRise;
|
|
// triggerVvtFall
|
|
case 1537196344:
|
|
return engine->outputChannels.triggerVvtFall;
|
|
// triggerVvtRise
|
|
case 1537636524:
|
|
return engine->outputChannels.triggerVvtRise;
|
|
// triggerVvt2Fall
|
|
case -873628278:
|
|
return engine->outputChannels.triggerVvt2Fall;
|
|
// triggerVvt2Rise
|
|
case -873188098:
|
|
return engine->outputChannels.triggerVvt2Rise;
|
|
// starterState
|
|
case -1438648277:
|
|
return engine->outputChannels.starterState;
|
|
// starterRelayDisable
|
|
case 1286045659:
|
|
return engine->outputChannels.starterRelayDisable;
|
|
// multiSparkCounter
|
|
case 680091441:
|
|
return engine->outputChannels.multiSparkCounter;
|
|
// extiOverflowCount
|
|
case 1630166812:
|
|
return engine->outputChannels.extiOverflowCount;
|
|
// alternatorStatus.pTerm
|
|
case -1097329029:
|
|
return engine->outputChannels.alternatorStatus.pTerm;
|
|
// alternatorStatus.iTerm
|
|
case -1105630476:
|
|
return engine->outputChannels.alternatorStatus.iTerm;
|
|
// alternatorStatus.dTerm
|
|
case -1111560081:
|
|
return engine->outputChannels.alternatorStatus.dTerm;
|
|
// alternatorStatus.output
|
|
case -1889531804:
|
|
return engine->outputChannels.alternatorStatus.output;
|
|
// alternatorStatus.error
|
|
case -1110431971:
|
|
return engine->outputChannels.alternatorStatus.error;
|
|
// alternatorStatus.resetCounter
|
|
case -1254008074:
|
|
return engine->outputChannels.alternatorStatus.resetCounter;
|
|
// idleStatus.pTerm
|
|
case -1798819555:
|
|
return engine->outputChannels.idleStatus.pTerm;
|
|
// idleStatus.iTerm
|
|
case -1807121002:
|
|
return engine->outputChannels.idleStatus.iTerm;
|
|
// idleStatus.dTerm
|
|
case -1813050607:
|
|
return engine->outputChannels.idleStatus.dTerm;
|
|
// idleStatus.output
|
|
case 731084614:
|
|
return engine->outputChannels.idleStatus.output;
|
|
// idleStatus.error
|
|
case -1811922497:
|
|
return engine->outputChannels.idleStatus.error;
|
|
// idleStatus.resetCounter
|
|
case -424088744:
|
|
return engine->outputChannels.idleStatus.resetCounter;
|
|
// etbStatus.pTerm
|
|
case -41846406:
|
|
return engine->outputChannels.etbStatus.pTerm;
|
|
// etbStatus.iTerm
|
|
case -50147853:
|
|
return engine->outputChannels.etbStatus.iTerm;
|
|
// etbStatus.dTerm
|
|
case -56077458:
|
|
return engine->outputChannels.etbStatus.dTerm;
|
|
// etbStatus.output
|
|
case -1418343613:
|
|
return engine->outputChannels.etbStatus.output;
|
|
// etbStatus.error
|
|
case -54949348:
|
|
return engine->outputChannels.etbStatus.error;
|
|
// etbStatus.resetCounter
|
|
case 2098956565:
|
|
return engine->outputChannels.etbStatus.resetCounter;
|
|
// boostStatus.pTerm
|
|
case 407130790:
|
|
return engine->outputChannels.boostStatus.pTerm;
|
|
// boostStatus.iTerm
|
|
case 398829343:
|
|
return engine->outputChannels.boostStatus.iTerm;
|
|
// boostStatus.dTerm
|
|
case 392899738:
|
|
return engine->outputChannels.boostStatus.dTerm;
|
|
// boostStatus.output
|
|
case 513001967:
|
|
return engine->outputChannels.boostStatus.output;
|
|
// boostStatus.error
|
|
case 394027848:
|
|
return engine->outputChannels.boostStatus.error;
|
|
// boostStatus.resetCounter
|
|
case 308336833:
|
|
return engine->outputChannels.boostStatus.resetCounter;
|
|
// wastegateDcStatus.pTerm
|
|
case 1569192907:
|
|
return engine->outputChannels.wastegateDcStatus.pTerm;
|
|
// wastegateDcStatus.iTerm
|
|
case 1560891460:
|
|
return engine->outputChannels.wastegateDcStatus.iTerm;
|
|
// wastegateDcStatus.dTerm
|
|
case 1554961855:
|
|
return engine->outputChannels.wastegateDcStatus.dTerm;
|
|
// wastegateDcStatus.output
|
|
case 206346164:
|
|
return engine->outputChannels.wastegateDcStatus.output;
|
|
// wastegateDcStatus.error
|
|
case 1556089965:
|
|
return engine->outputChannels.wastegateDcStatus.error;
|
|
// wastegateDcStatus.resetCounter
|
|
case 156247622:
|
|
return engine->outputChannels.wastegateDcStatus.resetCounter;
|
|
// auxSpeed1
|
|
case 957036309:
|
|
return engine->outputChannels.auxSpeed1;
|
|
// auxSpeed2
|
|
case 957036310:
|
|
return engine->outputChannels.auxSpeed2;
|
|
// ISSValue
|
|
case 200047729:
|
|
return engine->outputChannels.ISSValue;
|
|
// rawBattery
|
|
case 1520918538:
|
|
return engine->outputChannels.rawBattery;
|
|
// coilState1
|
|
case -1124698530:
|
|
return engine->outputChannels.coilState1;
|
|
// coilState2
|
|
case -1124698529:
|
|
return engine->outputChannels.coilState2;
|
|
// coilState3
|
|
case -1124698528:
|
|
return engine->outputChannels.coilState3;
|
|
// coilState4
|
|
case -1124698527:
|
|
return engine->outputChannels.coilState4;
|
|
// coilState5
|
|
case -1124698526:
|
|
return engine->outputChannels.coilState5;
|
|
// coilState6
|
|
case -1124698525:
|
|
return engine->outputChannels.coilState6;
|
|
// coilState7
|
|
case -1124698524:
|
|
return engine->outputChannels.coilState7;
|
|
// coilState8
|
|
case -1124698523:
|
|
return engine->outputChannels.coilState8;
|
|
// coilState9
|
|
case -1124698522:
|
|
return engine->outputChannels.coilState9;
|
|
// coilState10
|
|
case 1539654222:
|
|
return engine->outputChannels.coilState10;
|
|
// coilState11
|
|
case 1539654223:
|
|
return engine->outputChannels.coilState11;
|
|
// coilState12
|
|
case 1539654224:
|
|
return engine->outputChannels.coilState12;
|
|
// injectorState1
|
|
case 2081101045:
|
|
return engine->outputChannels.injectorState1;
|
|
// injectorState2
|
|
case 2081101046:
|
|
return engine->outputChannels.injectorState2;
|
|
// injectorState3
|
|
case 2081101047:
|
|
return engine->outputChannels.injectorState3;
|
|
// injectorState4
|
|
case 2081101048:
|
|
return engine->outputChannels.injectorState4;
|
|
// injectorState5
|
|
case 2081101049:
|
|
return engine->outputChannels.injectorState5;
|
|
// injectorState6
|
|
case 2081101050:
|
|
return engine->outputChannels.injectorState6;
|
|
// injectorState7
|
|
case 2081101051:
|
|
return engine->outputChannels.injectorState7;
|
|
// injectorState8
|
|
case 2081101052:
|
|
return engine->outputChannels.injectorState8;
|
|
// injectorState9
|
|
case 2081101053:
|
|
return engine->outputChannels.injectorState9;
|
|
// injectorState10
|
|
case -43142203:
|
|
return engine->outputChannels.injectorState10;
|
|
// injectorState11
|
|
case -43142202:
|
|
return engine->outputChannels.injectorState11;
|
|
// injectorState12
|
|
case -43142201:
|
|
return engine->outputChannels.injectorState12;
|
|
// triggerChannel1
|
|
case -448033693:
|
|
return engine->outputChannels.triggerChannel1;
|
|
// triggerChannel2
|
|
case -448033692:
|
|
return engine->outputChannels.triggerChannel2;
|
|
// vvtChannel1
|
|
case -1764857649:
|
|
return engine->outputChannels.vvtChannel1;
|
|
// vvtChannel2
|
|
case -1764857648:
|
|
return engine->outputChannels.vvtChannel2;
|
|
// vvtChannel3
|
|
case -1764857647:
|
|
return engine->outputChannels.vvtChannel3;
|
|
// vvtChannel4
|
|
case -1764857646:
|
|
return engine->outputChannels.vvtChannel4;
|
|
// outputRequestPeriod
|
|
case 1894184322:
|
|
return engine->outputChannels.outputRequestPeriod;
|
|
// mapFast
|
|
case -1263258735:
|
|
return engine->outputChannels.mapFast;
|
|
// rawMaf2
|
|
case 907666325:
|
|
return engine->outputChannels.rawMaf2;
|
|
// mafMeasured2
|
|
case 1663359009:
|
|
return engine->outputChannels.mafMeasured2;
|
|
// schedulingUsedCount
|
|
case 967311941:
|
|
return engine->outputChannels.schedulingUsedCount;
|
|
// vehicleSpeedKph
|
|
case -1925174695:
|
|
return engine->outputChannels.vehicleSpeedKph;
|
|
// Gego
|
|
case 2090288615:
|
|
return engine->outputChannels.Gego;
|
|
// testBenchIter
|
|
case 1092959609:
|
|
return engine->outputChannels.testBenchIter;
|
|
// oilTemp
|
|
case 1628523935:
|
|
return engine->outputChannels.oilTemp;
|
|
// fuelTemp
|
|
case -1077373465:
|
|
return engine->outputChannels.fuelTemp;
|
|
// ambientTemp
|
|
case 309572379:
|
|
return engine->outputChannels.ambientTemp;
|
|
// compressorDischargeTemp
|
|
case 553570450:
|
|
return engine->outputChannels.compressorDischargeTemp;
|
|
// compressorDischargePressure
|
|
case 1404346549:
|
|
return engine->outputChannels.compressorDischargePressure;
|
|
// throttleInletPressure
|
|
case 769340240:
|
|
return engine->outputChannels.throttleInletPressure;
|
|
// ignitionOnTime
|
|
case 795671090:
|
|
return engine->outputChannels.ignitionOnTime;
|
|
// engineRunTime
|
|
case -1165835361:
|
|
return engine->outputChannels.engineRunTime;
|
|
// distanceTraveled
|
|
case -1357387481:
|
|
return engine->outputChannels.distanceTraveled;
|
|
// afrGasolineScale
|
|
case 111403416:
|
|
return engine->outputChannels.afrGasolineScale;
|
|
// afr2GasolineScale
|
|
case 2029444810:
|
|
return engine->outputChannels.afr2GasolineScale;
|
|
// wheelSlipRatio
|
|
case 398495089:
|
|
return engine->outputChannels.wheelSlipRatio;
|
|
// actualLastInjectionStage2
|
|
case -1434098660:
|
|
return engine->outputChannels.actualLastInjectionStage2;
|
|
// injectorDutyCycleStage2
|
|
case -1337459841:
|
|
return engine->outputChannels.injectorDutyCycleStage2;
|
|
// fastAdcErrorsCount
|
|
case -805019103:
|
|
return engine->outputChannels.fastAdcErrorsCount;
|
|
// deviceUid
|
|
case 540029591:
|
|
return engine->outputChannels.deviceUid;
|
|
// sadDwellRatioCounter
|
|
case -2146292012:
|
|
return engine->outputChannels.sadDwellRatioCounter;
|
|
// injectionPrimingCounter
|
|
case 1526237246:
|
|
return engine->outputChannels.injectionPrimingCounter;
|
|
// tempLogging2
|
|
case -679828716:
|
|
return engine->outputChannels.tempLogging2;
|
|
// acPressure
|
|
case 1644550754:
|
|
return engine->outputChannels.acPressure;
|
|
// rawAuxAnalog1
|
|
case 98140608:
|
|
return engine->outputChannels.rawAuxAnalog1;
|
|
// rawAuxAnalog2
|
|
case 98140609:
|
|
return engine->outputChannels.rawAuxAnalog2;
|
|
// rawAuxAnalog3
|
|
case 98140610:
|
|
return engine->outputChannels.rawAuxAnalog3;
|
|
// rawAuxAnalog4
|
|
case 98140611:
|
|
return engine->outputChannels.rawAuxAnalog4;
|
|
// fastAdcErrorCallbackCount
|
|
case -2045395013:
|
|
return engine->outputChannels.fastAdcErrorCallbackCount;
|
|
// slowAdcErrorsCount
|
|
case -276658792:
|
|
return engine->outputChannels.slowAdcErrorsCount;
|
|
// totalFuelCorrection
|
|
#if EFI_ENGINE_CONTROL
|
|
case -1779658835:
|
|
return engine->fuelComputer.totalFuelCorrection;
|
|
#endif
|
|
// running.postCrankingFuelCorrection
|
|
#if EFI_ENGINE_CONTROL
|
|
case -1288205717:
|
|
return engine->fuelComputer.running.postCrankingFuelCorrection;
|
|
#endif
|
|
// running.intakeTemperatureCoefficient
|
|
#if EFI_ENGINE_CONTROL
|
|
case 197173469:
|
|
return engine->fuelComputer.running.intakeTemperatureCoefficient;
|
|
#endif
|
|
// running.coolantTemperatureCoefficient
|
|
#if EFI_ENGINE_CONTROL
|
|
case 1822238385:
|
|
return engine->fuelComputer.running.coolantTemperatureCoefficient;
|
|
#endif
|
|
// running.timeSinceCrankingInSecs
|
|
#if EFI_ENGINE_CONTROL
|
|
case 526786951:
|
|
return engine->fuelComputer.running.timeSinceCrankingInSecs;
|
|
#endif
|
|
// running.baseFuel
|
|
#if EFI_ENGINE_CONTROL
|
|
case -42886021:
|
|
return engine->fuelComputer.running.baseFuel;
|
|
#endif
|
|
// running.fuel
|
|
#if EFI_ENGINE_CONTROL
|
|
case -794283008:
|
|
return engine->fuelComputer.running.fuel;
|
|
#endif
|
|
// afrTableYAxis
|
|
#if EFI_ENGINE_CONTROL
|
|
case 995190836:
|
|
return engine->fuelComputer.afrTableYAxis;
|
|
#endif
|
|
// targetLambda
|
|
#if EFI_ENGINE_CONTROL
|
|
case -734904659:
|
|
return engine->fuelComputer.targetLambda;
|
|
#endif
|
|
// targetAFR
|
|
#if EFI_ENGINE_CONTROL
|
|
case 2122891301:
|
|
return engine->fuelComputer.targetAFR;
|
|
#endif
|
|
// stoichiometricRatio
|
|
#if EFI_ENGINE_CONTROL
|
|
case 341978922:
|
|
return engine->fuelComputer.stoichiometricRatio;
|
|
#endif
|
|
// sdTcharge_coff
|
|
#if EFI_ENGINE_CONTROL
|
|
case 1417236183:
|
|
return engine->fuelComputer.sdTcharge_coff;
|
|
#endif
|
|
// sdAirMassInOneCylinder
|
|
#if EFI_ENGINE_CONTROL
|
|
case 1650433343:
|
|
return engine->fuelComputer.sdAirMassInOneCylinder;
|
|
#endif
|
|
// normalizedCylinderFilling
|
|
#if EFI_ENGINE_CONTROL
|
|
case 1599780729:
|
|
return engine->fuelComputer.normalizedCylinderFilling;
|
|
#endif
|
|
// brokenInjector
|
|
#if EFI_ENGINE_CONTROL
|
|
case -1453554940:
|
|
return engine->fuelComputer.brokenInjector;
|
|
#endif
|
|
// idealEngineTorque
|
|
#if EFI_ENGINE_CONTROL
|
|
case -791713926:
|
|
return engine->fuelComputer.idealEngineTorque;
|
|
#endif
|
|
// injectorHwIssue
|
|
#if EFI_ENGINE_CONTROL
|
|
case -1237512821:
|
|
return engine->fuelComputer.injectorHwIssue;
|
|
#endif
|
|
// baseDwell
|
|
case -1777838088:
|
|
return engine->ignitionState.baseDwell;
|
|
// sparkDwell
|
|
case -903101570:
|
|
return engine->ignitionState.sparkDwell;
|
|
// dwellDurationAngle
|
|
case -1208021110:
|
|
return engine->ignitionState.dwellDurationAngle;
|
|
// cltTimingCorrection
|
|
case 256951528:
|
|
return engine->ignitionState.cltTimingCorrection;
|
|
// timingIatCorrection
|
|
case -1886479485:
|
|
return engine->ignitionState.timingIatCorrection;
|
|
// timingPidCorrection
|
|
case -319326974:
|
|
return engine->ignitionState.timingPidCorrection;
|
|
// baseIgnitionAdvance
|
|
case 493641747:
|
|
return engine->ignitionState.baseIgnitionAdvance;
|
|
// correctedIgnitionAdvance
|
|
case 352421907:
|
|
return engine->ignitionState.correctedIgnitionAdvance;
|
|
// tractionAdvanceDrop
|
|
case -899895696:
|
|
return engine->ignitionState.tractionAdvanceDrop;
|
|
// dwellVoltageCorrection
|
|
case -80612537:
|
|
return engine->ignitionState.dwellVoltageCorrection;
|
|
// luaTimingAdd
|
|
case -309610760:
|
|
return engine->ignitionState.luaTimingAdd;
|
|
// luaTimingMult
|
|
case -1626770351:
|
|
return engine->ignitionState.luaTimingMult;
|
|
// luaIgnitionSkip
|
|
case -1916613921:
|
|
return engine->ignitionState.luaIgnitionSkip;
|
|
// m_knockLevel
|
|
case -1571781441:
|
|
return ___engine.module<KnockController>()->m_knockLevel;
|
|
// m_knockRetard
|
|
case -94443575:
|
|
return ___engine.module<KnockController>()->m_knockRetard;
|
|
// m_knockThreshold
|
|
case -504596140:
|
|
return ___engine.module<KnockController>()->m_knockThreshold;
|
|
// m_knockCount
|
|
case -1582096144:
|
|
return ___engine.module<KnockController>()->m_knockCount;
|
|
// m_maximumRetard
|
|
case 164334513:
|
|
return ___engine.module<KnockController>()->m_maximumRetard;
|
|
// m_knockFrequency
|
|
case -249826215:
|
|
return ___engine.module<KnockController>()->m_knockFrequency;
|
|
// m_deadtime
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1167844818:
|
|
return ___engine.module<InjectorModelPrimary>()->m_deadtime;
|
|
#endif
|
|
// pressureDelta
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -376325528:
|
|
return ___engine.module<InjectorModelPrimary>()->pressureDelta;
|
|
#endif
|
|
// pressureRatio
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -359858019:
|
|
return ___engine.module<InjectorModelPrimary>()->pressureRatio;
|
|
#endif
|
|
// retardThresholdRpm
|
|
#if EFI_LAUNCH_CONTROL
|
|
case -1374156957:
|
|
return engine->launchController.retardThresholdRpm;
|
|
#endif
|
|
// launchActivatePinState
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 1928406809:
|
|
return engine->launchController.launchActivatePinState;
|
|
#endif
|
|
// isPreLaunchCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case -1872098102:
|
|
return engine->launchController.isPreLaunchCondition;
|
|
#endif
|
|
// isLaunchCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case -1959120957:
|
|
return engine->launchController.isLaunchCondition;
|
|
#endif
|
|
// isSwitchActivated
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 1699495432:
|
|
return engine->launchController.isSwitchActivated;
|
|
#endif
|
|
// isClutchActivated
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 1569151513:
|
|
return engine->launchController.isClutchActivated;
|
|
#endif
|
|
// isBrakePedalActivated
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 781025153:
|
|
return engine->launchController.isBrakePedalActivated;
|
|
#endif
|
|
// isValidInputPin
|
|
#if EFI_LAUNCH_CONTROL
|
|
case -978523544:
|
|
return engine->launchController.isValidInputPin;
|
|
#endif
|
|
// activateSwitchCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 1265600943:
|
|
return engine->launchController.activateSwitchCondition;
|
|
#endif
|
|
// rpmLaunchCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 859283926:
|
|
return engine->launchController.rpmLaunchCondition;
|
|
#endif
|
|
// rpmPreLaunchCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case -774592003:
|
|
return engine->launchController.rpmPreLaunchCondition;
|
|
#endif
|
|
// speedCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 1722712413:
|
|
return engine->launchController.speedCondition;
|
|
#endif
|
|
// tpsCondition
|
|
#if EFI_LAUNCH_CONTROL
|
|
case 827982787:
|
|
return engine->launchController.tpsCondition;
|
|
#endif
|
|
// isTpsInvalid
|
|
#if EFI_BOOST_CONTROL
|
|
case -575666209:
|
|
return ___engine.module<BoostController>()->isTpsInvalid;
|
|
#endif
|
|
// m_shouldResetPid
|
|
#if EFI_BOOST_CONTROL
|
|
case 1846215200:
|
|
return ___engine.module<BoostController>()->m_shouldResetPid;
|
|
#endif
|
|
// isBelowClosedLoopThreshold
|
|
#if EFI_BOOST_CONTROL
|
|
case 1826317915:
|
|
return ___engine.module<BoostController>()->isBelowClosedLoopThreshold;
|
|
#endif
|
|
// isNotClosedLoop
|
|
#if EFI_BOOST_CONTROL
|
|
case -1642402810:
|
|
return ___engine.module<BoostController>()->isNotClosedLoop;
|
|
#endif
|
|
// isZeroRpm
|
|
#if EFI_BOOST_CONTROL
|
|
case 2111912944:
|
|
return ___engine.module<BoostController>()->isZeroRpm;
|
|
#endif
|
|
// hasInitBoost
|
|
#if EFI_BOOST_CONTROL
|
|
case -2011570052:
|
|
return ___engine.module<BoostController>()->hasInitBoost;
|
|
#endif
|
|
// rpmTooLow
|
|
#if EFI_BOOST_CONTROL
|
|
case 193830616:
|
|
return ___engine.module<BoostController>()->rpmTooLow;
|
|
#endif
|
|
// tpsTooLow
|
|
#if EFI_BOOST_CONTROL
|
|
case -1033638560:
|
|
return ___engine.module<BoostController>()->tpsTooLow;
|
|
#endif
|
|
// mapTooLow
|
|
#if EFI_BOOST_CONTROL
|
|
case -734877977:
|
|
return ___engine.module<BoostController>()->mapTooLow;
|
|
#endif
|
|
// isPlantValid
|
|
#if EFI_BOOST_CONTROL
|
|
case -304796912:
|
|
return ___engine.module<BoostController>()->isPlantValid;
|
|
#endif
|
|
// isBoostControlled
|
|
#if EFI_BOOST_CONTROL
|
|
case -1074908546:
|
|
return ___engine.module<BoostController>()->isBoostControlled;
|
|
#endif
|
|
// luaTargetAdd
|
|
#if EFI_BOOST_CONTROL
|
|
case 119157463:
|
|
return ___engine.module<BoostController>()->luaTargetAdd;
|
|
#endif
|
|
// boostOutput
|
|
#if EFI_BOOST_CONTROL
|
|
case 1239062717:
|
|
return ___engine.module<BoostController>()->boostOutput;
|
|
#endif
|
|
// luaTargetMult
|
|
#if EFI_BOOST_CONTROL
|
|
case -362320880:
|
|
return ___engine.module<BoostController>()->luaTargetMult;
|
|
#endif
|
|
// openLoopPart
|
|
#if EFI_BOOST_CONTROL
|
|
case -1481117304:
|
|
return ___engine.module<BoostController>()->openLoopPart;
|
|
#endif
|
|
// luaOpenLoopAdd
|
|
#if EFI_BOOST_CONTROL
|
|
case 1944984220:
|
|
return ___engine.module<BoostController>()->luaOpenLoopAdd;
|
|
#endif
|
|
// boostControllerClosedLoopPart
|
|
#if EFI_BOOST_CONTROL
|
|
case -707712709:
|
|
return ___engine.module<BoostController>()->boostControllerClosedLoopPart;
|
|
#endif
|
|
// boostControlTarget
|
|
#if EFI_BOOST_CONTROL
|
|
case -1712045196:
|
|
return ___engine.module<BoostController>()->boostControlTarget;
|
|
#endif
|
|
// acButtonState
|
|
case -1809939546:
|
|
return engine->module<AcController>()->acButtonState;
|
|
// m_acEnabled
|
|
case 449790048:
|
|
return engine->module<AcController>()->m_acEnabled;
|
|
// engineTooSlow
|
|
case 1183441554:
|
|
return engine->module<AcController>()->engineTooSlow;
|
|
// engineTooFast
|
|
case 1182962523:
|
|
return engine->module<AcController>()->engineTooFast;
|
|
// noClt
|
|
case 268704037:
|
|
return engine->module<AcController>()->noClt;
|
|
// engineTooHot
|
|
case 1467505752:
|
|
return engine->module<AcController>()->engineTooHot;
|
|
// tpsTooHigh
|
|
case 249515182:
|
|
return engine->module<AcController>()->tpsTooHigh;
|
|
// isDisabledByLua
|
|
case 1199244598:
|
|
return engine->module<AcController>()->isDisabledByLua;
|
|
// acCompressorState
|
|
case -1015278697:
|
|
return engine->module<AcController>()->acCompressorState;
|
|
// acPressureTooLow
|
|
case -1208328954:
|
|
return engine->module<AcController>()->acPressureTooLow;
|
|
// acPressureTooHigh
|
|
case -1220300524:
|
|
return engine->module<AcController>()->acPressureTooHigh;
|
|
// latest_usage_ac_control
|
|
case 1630756809:
|
|
return engine->module<AcController>()->latest_usage_ac_control;
|
|
// acSwitchLastChangeTimeMs
|
|
case -954065340:
|
|
return engine->module<AcController>()->acSwitchLastChangeTimeMs;
|
|
// cranking
|
|
case 182391090:
|
|
return ___engine.module<FanControl1>()->cranking;
|
|
// notRunning
|
|
case -496961865:
|
|
return ___engine.module<FanControl1>()->notRunning;
|
|
// disabledWhileEngineStopped
|
|
case 142778571:
|
|
return ___engine.module<FanControl1>()->disabledWhileEngineStopped;
|
|
// brokenClt
|
|
case 545954889:
|
|
return ___engine.module<FanControl1>()->brokenClt;
|
|
// enabledForAc
|
|
case 291043035:
|
|
return ___engine.module<FanControl1>()->enabledForAc;
|
|
// hot
|
|
case 193494032:
|
|
return ___engine.module<FanControl1>()->hot;
|
|
// cold
|
|
case 2090155911:
|
|
return ___engine.module<FanControl1>()->cold;
|
|
// disabledBySpeed
|
|
case 2105103113:
|
|
return ___engine.module<FanControl1>()->disabledBySpeed;
|
|
// tempAlive
|
|
case -1017204596:
|
|
return ___engine.module<FanControl1>()->tempAlive;
|
|
// tempCode
|
|
case -291050474:
|
|
return ___engine.module<FanControl1>()->tempCode;
|
|
// isPrime
|
|
case -1429286498:
|
|
return engine->module<FuelPumpController>()->isPrime;
|
|
// engineTurnedRecently
|
|
case -1270448973:
|
|
return engine->module<FuelPumpController>()->engineTurnedRecently;
|
|
// isFuelPumpOn
|
|
case -344048084:
|
|
return engine->module<FuelPumpController>()->isFuelPumpOn;
|
|
// ignitionOn
|
|
case -381519965:
|
|
return engine->module<FuelPumpController>()->ignitionOn;
|
|
// lua.fuelAdd
|
|
case 1649801578:
|
|
return engine->engineState.lua.fuelAdd;
|
|
// lua.fuelMult
|
|
case -1390672637:
|
|
return engine->engineState.lua.fuelMult;
|
|
// lua.clutchUpState
|
|
case -427776066:
|
|
return engine->engineState.lua.clutchUpState;
|
|
// lua.brakePedalState
|
|
case -1296201087:
|
|
return engine->engineState.lua.brakePedalState;
|
|
// lua.acRequestState
|
|
case 1517904291:
|
|
return engine->engineState.lua.acRequestState;
|
|
// lua.luaDisableEtb
|
|
case 2055342630:
|
|
return engine->engineState.lua.luaDisableEtb;
|
|
// lua.luaIgnCut
|
|
case -802271455:
|
|
return engine->engineState.lua.luaIgnCut;
|
|
// lua.clutchDownState
|
|
case 133427185:
|
|
return engine->engineState.lua.clutchDownState;
|
|
// lua.disableDecelerationFuelCutOff
|
|
case 1680936043:
|
|
return engine->engineState.lua.disableDecelerationFuelCutOff;
|
|
// sd.tCharge
|
|
case -893334680:
|
|
return engine->engineState.sd.tCharge;
|
|
// sd.tChargeK
|
|
case 584726739:
|
|
return engine->engineState.sd.tChargeK;
|
|
// crankingFuel.coolantTemperatureCoefficient
|
|
case -1206067863:
|
|
return engine->engineState.crankingFuel.coolantTemperatureCoefficient;
|
|
// crankingFuel.tpsCoefficient
|
|
case 20251202:
|
|
return engine->engineState.crankingFuel.tpsCoefficient;
|
|
// crankingFuel.durationCoefficient
|
|
case 1541006353:
|
|
return engine->engineState.crankingFuel.durationCoefficient;
|
|
// crankingFuel.fuel
|
|
case -180401224:
|
|
return engine->engineState.crankingFuel.fuel;
|
|
// baroCorrection
|
|
case -281693247:
|
|
return engine->engineState.baroCorrection;
|
|
// hellenBoardId
|
|
case -295556270:
|
|
return engine->engineState.hellenBoardId;
|
|
// clutchUpState
|
|
case -797965330:
|
|
return engine->engineState.clutchUpState;
|
|
// clutchDownState
|
|
case 724244513:
|
|
return engine->engineState.clutchDownState;
|
|
// brakePedalState
|
|
case -705383759:
|
|
return engine->engineState.brakePedalState;
|
|
// startStopState
|
|
case 897099930:
|
|
return engine->engineState.startStopState;
|
|
// smartChipState
|
|
case -517673231:
|
|
return engine->engineState.smartChipState;
|
|
// smartChipRestartCounter
|
|
case 1192769173:
|
|
return engine->engineState.smartChipRestartCounter;
|
|
// smartChipAliveCounter
|
|
case -1945673215:
|
|
return engine->engineState.smartChipAliveCounter;
|
|
// startStopPhysicalState
|
|
case -1943724937:
|
|
return engine->engineState.startStopPhysicalState;
|
|
// acrActive
|
|
case -1548941801:
|
|
return engine->engineState.acrActive;
|
|
// acrEngineMovedRecently
|
|
case -791147982:
|
|
return engine->engineState.acrEngineMovedRecently;
|
|
// heaterControlEnabled
|
|
case -818268726:
|
|
return engine->engineState.heaterControlEnabled;
|
|
// luaDigitalState0
|
|
case 945288534:
|
|
return engine->engineState.luaDigitalState0;
|
|
// luaDigitalState1
|
|
case 945288535:
|
|
return engine->engineState.luaDigitalState1;
|
|
// luaDigitalState2
|
|
case 945288536:
|
|
return engine->engineState.luaDigitalState2;
|
|
// luaDigitalState3
|
|
case 945288537:
|
|
return engine->engineState.luaDigitalState3;
|
|
// startStopStateToggleCounter
|
|
case -960645892:
|
|
return engine->engineState.startStopStateToggleCounter;
|
|
// luaSoftSparkSkip
|
|
case -1117430949:
|
|
return engine->engineState.luaSoftSparkSkip;
|
|
// luaHardSparkSkip
|
|
case -1498397570:
|
|
return engine->engineState.luaHardSparkSkip;
|
|
// tractionControlSparkSkip
|
|
case -1555684830:
|
|
return engine->engineState.tractionControlSparkSkip;
|
|
// desiredRpmLimit
|
|
case -505351565:
|
|
return engine->engineState.desiredRpmLimit;
|
|
// fuelInjectionCounter
|
|
case -1839290700:
|
|
return engine->engineState.fuelInjectionCounter;
|
|
// globalSparkCounter
|
|
case 642962903:
|
|
return engine->engineState.globalSparkCounter;
|
|
// fuelingLoad
|
|
case 583799407:
|
|
return engine->engineState.fuelingLoad;
|
|
// ignitionLoad
|
|
case 1136482406:
|
|
return engine->engineState.ignitionLoad;
|
|
// veTableYAxis
|
|
case 1568071542:
|
|
return engine->engineState.veTableYAxis;
|
|
// overDwellCounter
|
|
case 1513852665:
|
|
return engine->engineState.overDwellCounter;
|
|
// overDwellNotScheduledCounter
|
|
case 1629214715:
|
|
return engine->engineState.overDwellNotScheduledCounter;
|
|
// sparkOutOfOrderCounter
|
|
case -1595596945:
|
|
return engine->engineState.sparkOutOfOrderCounter;
|
|
// vvtCamCounter
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 477303734:
|
|
return engine->triggerCentral.vvtCamCounter;
|
|
#endif
|
|
// mapVvt_MAP_AT_SPECIAL_POINT
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case -1727829859:
|
|
return engine->triggerCentral.mapVvt_MAP_AT_SPECIAL_POINT;
|
|
#endif
|
|
// mapVvt_MAP_AT_DIFF
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case -1585778708:
|
|
return engine->triggerCentral.mapVvt_MAP_AT_DIFF;
|
|
#endif
|
|
// mapVvt_MAP_AT_CYCLE_COUNT
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 1637661099:
|
|
return engine->triggerCentral.mapVvt_MAP_AT_CYCLE_COUNT;
|
|
#endif
|
|
// mapVvt_map_peak
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 845799744:
|
|
return engine->triggerCentral.mapVvt_map_peak;
|
|
#endif
|
|
// currentEngineDecodedPhase
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 162105111:
|
|
return engine->triggerCentral.currentEngineDecodedPhase;
|
|
#endif
|
|
// triggerToothAngleError
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case -280624712:
|
|
return engine->triggerCentral.triggerToothAngleError;
|
|
#endif
|
|
// triggerIgnoredToothCount
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 989545496:
|
|
return engine->triggerCentral.triggerIgnoredToothCount;
|
|
#endif
|
|
// mapCamPrevToothAngle
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 1581624998:
|
|
return engine->triggerCentral.mapCamPrevToothAngle;
|
|
#endif
|
|
// isDecodingMapCam
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 756216589:
|
|
return engine->triggerCentral.isDecodingMapCam;
|
|
#endif
|
|
// triggerElapsedUs
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 767689023:
|
|
return engine->triggerCentral.triggerElapsedUs;
|
|
#endif
|
|
// idleState
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1886060228:
|
|
return ___engine.module<IdleController>().unmock().idleState;
|
|
#endif
|
|
// currentIdlePosition
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1149240133:
|
|
return ___engine.module<IdleController>().unmock().currentIdlePosition;
|
|
#endif
|
|
// baseIdlePosition
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -580955469:
|
|
return ___engine.module<IdleController>().unmock().baseIdlePosition;
|
|
#endif
|
|
// idleClosedLoop
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1267620087:
|
|
return ___engine.module<IdleController>().unmock().idleClosedLoop;
|
|
#endif
|
|
// iacByTpsTaper
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -2065814304:
|
|
return ___engine.module<IdleController>().unmock().iacByTpsTaper;
|
|
#endif
|
|
// throttlePedalUpState
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 767668487:
|
|
return ___engine.module<IdleController>().unmock().throttlePedalUpState;
|
|
#endif
|
|
// mightResetPid
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 149945022:
|
|
return ___engine.module<IdleController>().unmock().mightResetPid;
|
|
#endif
|
|
// shouldResetPid
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -226320012:
|
|
return ___engine.module<IdleController>().unmock().shouldResetPid;
|
|
#endif
|
|
// wasResetPid
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1830486000:
|
|
return ___engine.module<IdleController>().unmock().wasResetPid;
|
|
#endif
|
|
// mustResetPid
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1685322158:
|
|
return ___engine.module<IdleController>().unmock().mustResetPid;
|
|
#endif
|
|
// isCranking
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1055526802:
|
|
return ___engine.module<IdleController>().unmock().isCranking;
|
|
#endif
|
|
// isIacTableForCoasting
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 705044501:
|
|
return ___engine.module<IdleController>().unmock().isIacTableForCoasting;
|
|
#endif
|
|
// notIdling
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1304441005:
|
|
return ___engine.module<IdleController>().unmock().notIdling;
|
|
#endif
|
|
// needReset
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -2049691836:
|
|
return ___engine.module<IdleController>().unmock().needReset;
|
|
#endif
|
|
// isInDeadZone
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1661765918:
|
|
return ___engine.module<IdleController>().unmock().isInDeadZone;
|
|
#endif
|
|
// isBlipping
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 432464630:
|
|
return ___engine.module<IdleController>().unmock().isBlipping;
|
|
#endif
|
|
// useClosedLoop
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -87867258:
|
|
return ___engine.module<IdleController>().unmock().useClosedLoop;
|
|
#endif
|
|
// badTps
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -208884349:
|
|
return ___engine.module<IdleController>().unmock().badTps;
|
|
#endif
|
|
// looksLikeRunning
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1126009613:
|
|
return ___engine.module<IdleController>().unmock().looksLikeRunning;
|
|
#endif
|
|
// looksLikeCoasting
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1786409942:
|
|
return ___engine.module<IdleController>().unmock().looksLikeCoasting;
|
|
#endif
|
|
// looksLikeCrankToIdle
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -2079775742:
|
|
return ___engine.module<IdleController>().unmock().looksLikeCrankToIdle;
|
|
#endif
|
|
// isIdleCoasting
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 2141275671:
|
|
return ___engine.module<IdleController>().unmock().isIdleCoasting;
|
|
#endif
|
|
// isIdleClosedLoop
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1473688883:
|
|
return ___engine.module<IdleController>().unmock().isIdleClosedLoop;
|
|
#endif
|
|
// idleTarget
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 2127645162:
|
|
return ___engine.module<IdleController>().unmock().idleTarget;
|
|
#endif
|
|
// targetRpmByClt
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1241725607:
|
|
return ___engine.module<IdleController>().unmock().targetRpmByClt;
|
|
#endif
|
|
// targetRpmAc
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 1156739423:
|
|
return ___engine.module<IdleController>().unmock().targetRpmAc;
|
|
#endif
|
|
// iacByRpmTaper
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case -1638166696:
|
|
return ___engine.module<IdleController>().unmock().iacByRpmTaper;
|
|
#endif
|
|
// luaAdd
|
|
#if EFI_PROD_CODE && EFI_IDLE_CONTROL
|
|
case 206059088:
|
|
return ___engine.module<IdleController>().unmock().luaAdd;
|
|
#endif
|
|
// dcOutput0
|
|
case 1242329357:
|
|
return engine->dc_motors.dcOutput0;
|
|
// isEnabled0_int
|
|
case -1236599226:
|
|
return engine->dc_motors.isEnabled0_int;
|
|
// isEnabled0
|
|
case 1691876092:
|
|
return engine->dc_motors.isEnabled0;
|
|
// vvtTarget
|
|
#if EFI_VVT_PID
|
|
case -2132393748:
|
|
return ___engine.module<VvtController1>()->vvtTarget;
|
|
#endif
|
|
// vvtOutput
|
|
#if EFI_VVT_PID
|
|
case 1990697206:
|
|
return ___engine.module<VvtController1>()->vvtOutput;
|
|
#endif
|
|
// lambdaCurrentlyGood
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 350535927:
|
|
return ___engine.lambdaMonitor.lambdaCurrentlyGood;
|
|
#endif
|
|
// lambdaMonitorCut
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 1849938842:
|
|
return ___engine.lambdaMonitor.lambdaMonitorCut;
|
|
#endif
|
|
// lambdaTimeSinceGood
|
|
#if EFI_SHAFT_POSITION_INPUT
|
|
case 481450608:
|
|
return ___engine.lambdaMonitor.lambdaTimeSinceGood;
|
|
#endif
|
|
}
|
|
return EFI_ERROR_CODE;
|
|
}
|
|
#endif
|