5#if EFI_PROD_CODE && EFI_ELECTRONIC_THROTTLE_BODY && FULL_SD_LOGS
1219#if EFI_BOOST_CONTROL
1275#if EFI_ENGINE_CONTROL
1328#if EFI_LAUNCH_CONTROL
1417#if EFI_PROD_CODE && EFI_ELECTRONIC_THROTTLE_BODY && FULL_SD_LOGS
1420 return getLiveDataConstexpr<electronic_throttle_s, 0>()->targetWithIdlePosition;
1423 return getLiveDataConstexpr<electronic_throttle_s, 0>()->trim;
1426 return getLiveDataConstexpr<electronic_throttle_s, 0>()->boardEtbAdjustment;
1429 return getLiveDataConstexpr<electronic_throttle_s, 0>()->luaAdjustment;
1432 return getLiveDataConstexpr<electronic_throttle_s, 0>()->m_wastegatePosition;
1435 return getLiveDataConstexpr<electronic_throttle_s, 0>()->m_lastPidDtMs;
1438 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbFeedForward;
1441 return getLiveDataConstexpr<electronic_throttle_s, 0>()->integralError;
1444 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbCurrentTarget;
1447 return getLiveDataConstexpr<electronic_throttle_s, 0>()->m_adjustedTarget;
1450 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbRevLimitActive;
1453 return getLiveDataConstexpr<electronic_throttle_s, 0>()->jamDetected;
1456 return getLiveDataConstexpr<electronic_throttle_s, 0>()->validPlantPosition;
1459 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbTpsErrorCounter;
1462 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbPpsErrorCounter;
1465 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbErrorCode;
1468 return getLiveDataConstexpr<electronic_throttle_s, 0>()->etbErrorCodeBlinker;
1471 return getLiveDataConstexpr<electronic_throttle_s, 0>()->tcEtbDrop;
1474 return getLiveDataConstexpr<electronic_throttle_s, 0>()->jamTimer;
1477 return getLiveDataConstexpr<electronic_throttle_s, 0>()->adjustedEtbTarget;
1480 return getLiveDataConstexpr<electronic_throttle_s, 0>()->state;
1483 return getLiveDataConstexpr<electronic_throttle_s, 1>()->targetWithIdlePosition;
1486 return getLiveDataConstexpr<electronic_throttle_s, 1>()->trim;
1489 return getLiveDataConstexpr<electronic_throttle_s, 1>()->boardEtbAdjustment;
1492 return getLiveDataConstexpr<electronic_throttle_s, 1>()->luaAdjustment;
1495 return getLiveDataConstexpr<electronic_throttle_s, 1>()->m_wastegatePosition;
1498 return getLiveDataConstexpr<electronic_throttle_s, 1>()->m_lastPidDtMs;
1501 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbFeedForward;
1504 return getLiveDataConstexpr<electronic_throttle_s, 1>()->integralError;
1507 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbCurrentTarget;
1510 return getLiveDataConstexpr<electronic_throttle_s, 1>()->m_adjustedTarget;
1513 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbRevLimitActive;
1516 return getLiveDataConstexpr<electronic_throttle_s, 1>()->jamDetected;
1519 return getLiveDataConstexpr<electronic_throttle_s, 1>()->validPlantPosition;
1522 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbTpsErrorCounter;
1525 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbPpsErrorCounter;
1528 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbErrorCode;
1531 return getLiveDataConstexpr<electronic_throttle_s, 1>()->etbErrorCodeBlinker;
1534 return getLiveDataConstexpr<electronic_throttle_s, 1>()->tcEtbDrop;
1537 return getLiveDataConstexpr<electronic_throttle_s, 1>()->jamTimer;
1540 return getLiveDataConstexpr<electronic_throttle_s, 1>()->adjustedEtbTarget;
1543 return getLiveDataConstexpr<electronic_throttle_s, 1>()->state;
1545#if EFI_PROD_CODE && EFI_IDLE_CONTROL
1652#if EFI_SHAFT_POSITION_INPUT
1705#if EFI_SHAFT_POSITION_INPUT && FULL_SD_LOGS
1840#if MODULE_VVL_CONTROLLER
1861 return EFI_ERROR_CODE;
FuelComputer fuelComputer
TriggerCentral triggerCentral
IgnitionState ignitionState
LaunchControlBase launchController
LambdaMonitor lambdaMonitor
TunerStudioOutputChannels outputChannels
constexpr auto & module()
ShiftTorqueReductionController shiftTorqueReductionController
VvtTriggerDecoder vvtState[BANKS_COUNT][CAMS_PER_BANK]
PrimaryTriggerDecoder triggerState
int djb2lowerCase(const char *str)
static EngineAccessor engine
float getOutputValueByHash(const int hash)
float getOutputValueByName(const char *name)
m_knockLevel("Knock: Current level", SensorCategory.SENSOR_INPUTS, FieldType.INT, 996, 1.0, 0.0, 0.0, "Volts")
m_maximumRetard("Knock: Max retard", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1024, 1.0, -1.0, -1.0, "")
acButtonState("AC switch", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1248, 1.0, -1.0, -1.0, "")
luaOpenLoopAdd("Boost: Lua open loop add", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1240, 1.0, -100.0, 100.0, "percent")
m_knockRetard("Knock: Retard", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1012, 1.0, 0.0, 0.0, "deg")
luaTargetAdd("Boost: Lua target add", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1224, 0.5, -100.0, 100.0, "percent")
vvtOutput("vvtOutput", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1982, 0.5, 100.0, 1.0, "%")
vvtTarget("vvtTarget", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1980, 0.1, -90.0, 90.0, "deg")
boostOutput("Boost: Output", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1246, 0.01, -100.0, 100.0, "percent")
luaTargetMult("Boost: Lua target mult", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1228, 1.0, -100.0, 100.0, "")
m_knockCount("Knock: Count", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1020, 1.0, 0.0, 0.0, "")
boostControllerClosedLoopPart("Boost: Closed loop", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1244, 0.5, -50.0, 50.0, "%")
m_knockThreshold("Knock: Threshold", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1016, 1.0, -1.0, -1.0, "")
openLoopPart("Boost: Open loop", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1236, 1.0, -100.0, 100.0, "percent")
m_knockFrequencyStep("Knock: Step Freq", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1096, 1.0, 0.0, 0.0, "Hz")
pressureCorrectionReference("Fuel: corr reference pressure", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1192, 1.0, 0.0, 1000.0, "kPa")
m_deadtime("Fuel: injector lag", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1180, 1.0, 0.0, 0.0, "ms")
pressureDelta("Fuel: Injector pressure delta", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1184, 1.0, -1000.0, 1000.0, "kPa")
radiatorFanStatus("radiatorFanStatus", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1264, 1.0, -1.0, -1.0, "")
m_knockFuelTrimMultiplier("Knock: Fuel trim when knock", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1100, 1.0, 0.0, 0.0, "multiplier")
m_knockFrequencyStart("Knock: Start Freq", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1094, 1.0, 0.0, 0.0, "Hz")
boostControlTarget("Boost: Target", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1232, 0.03333333333333333, 0.0, 300.0, "kPa")
m_knockSpectrumChannelCyl("Knock: ChannelAndCylNumber", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 1092, 1.0, 0.0, 0.0, "compressed N + N")
pressureRatio("Fuel: Injector pressure ratio", SensorCategory.SENSOR_INPUTS, FieldType.INT, 1188, 1.0, 0.0, 100.0, "")
bool disableDecelerationFuelCutOff
bool torqueReductionState
scaled_channel< uint16_t, 100, 1 > baseFuel
float coolantTemperatureCoefficient
scaled_channel< uint16_t, 100, 1 > fuel
int8_t smartChipAliveCounter
uint32_t globalSparkCounter
cranking_fuel_s crankingFuel
scaled_channel< uint16_t, 100, 1 > veTableYAxis
uint8_t sparkOutOfOrderCounter
bool acrEngineMovedRecently
float tractionControlSparkSkip
int8_t smartChipRestartCounter
bool startStopPhysicalState
uint32_t startStopStateToggleCounter
uint8_t overDwellNotScheduledCounter
uint32_t fuelInjectionCounter
bool heaterControlEnabled
scaled_channel< uint16_t, 1000, 1 > targetAFR
float normalizedCylinderFilling
scaled_channel< uint16_t, 1000, 1 > stoichiometricRatio
uint16_t idealEngineTorque
scaled_channel< uint16_t, 10000, 1 > targetLambda
scaled_channel< uint16_t, 100, 1 > afrTableYAxis
float sdAirMassInOneCylinder
float totalFuelCorrection
percent_t currentIdlePosition
bool looksLikeCrankToIdle
bool isIacTableForCoasting
percent_t baseIdlePosition
scaled_channel< uint16_t, 100, 1 > idleTargetFlow
uint16_t idleTargetAirmass
int16_t rpmForIgnitionTableDot
scaled_channel< int16_t, 100, 1 > trailingSparkAngle
float dwellVoltageCorrection
angle_t dwellDurationAngle
int16_t rpmForIgnitionIdleTableDot
scaled_channel< int16_t, 100, 1 > dfcoTimingRetard
scaled_channel< int16_t, 100, 1 > timingPidCorrection
scaled_channel< int16_t, 50, 1 > baseIgnitionAdvance
scaled_channel< int16_t, 100, 1 > cltTimingCorrection
scaled_channel< int16_t, 50, 1 > correctedIgnitionAdvance
scaled_channel< int16_t, 50, 1 > tractionAdvanceDrop
float loadForIgnitionTableDot
scaled_channel< int16_t, 100, 1 > timingIatCorrection
scaled_channel< uint16_t, 100, 1 > lambdaTimeSinceGood
bool isBrakePedalActivated
bool launchActivatePinState
bool rpmPreLaunchCondition
bool isPreLaunchCondition
bool activateSwitchCondition
scaled_channel< uint16_t, 1000, 1 > afrGasolineScale
scaled_channel< int16_t, 100, 1 > compressorDischargeTemp
scaled_channel< int16_t, 1000, 1 > rawBattery
uint16_t schedulingUsedCount
scaled_channel< uint16_t, 30, 1 > throttleInletPressure
uint16_t mc33810spiErrorCounter
scaled_channel< int16_t, 100, 1 > auxTemp2
uint8_t fastAdcErrorCount
uint32_t luaInvocationCounter
scaled_channel< uint16_t, 100, 1 > speedToRpmRatio
scaled_channel< uint16_t, 100, 1 > coilDutyCycle
uint16_t maxLockedDuration
int8_t sparkCutReasonBlinker
scaled_channel< int16_t, 1000, 1 > accelerationLat
scaled_channel< int16_t, 100, 1 > accPedalUnfiltered
scaled_channel< int16_t, 100, 1 > idlePositionSensor
scaled_channel< int16_t, 100, 1 > wastegatePositionSensor
uint8_t multiSparkCounter
scaled_channel< int16_t, 1000, 1 > accelerationVert
scaled_channel< uint16_t, 100, 1 > vehicleSpeedKph
scaled_channel< int16_t, 1000, 1 > rawAuxAnalog4
scaled_channel< int16_t, 10, 1 > highFuelPressure
scaled_channel< uint16_t, 10, 1 > fallbackMap
uint16_t transitionEventsCounter
scaled_channel< int16_t, 1000, 1 > rawTps2Secondary
uint16_t revolutionCounterSinceStart
scaled_channel< int16_t, 1000, 1 > rawTps1Secondary
scaled_channel< int16_t, 100, 1 > TPS2Value
uint8_t slowAdcErrorCount
scaled_channel< uint16_t, 10, 1 > mafEstimate
scaled_channel< int16_t, 1000, 1 > rawAuxAnalog1
bool triggerPageRefreshFlag
uint32_t triggerSecondaryFall
uint8_t canReWidebandCmdStatus
uint32_t triggerPrimaryFall
scaled_channel< uint16_t, 10000, 1 > lambdaValue
scaled_channel< int16_t, 1000, 1 > rawHighFuelPressure
scaled_channel< uint16_t, 1000, 1 > rawMaf
scaled_channel< int16_t, 100, 1 > ambientTemp
int8_t fuelCutReasonBlinker
scaled_channel< uint16_t, 30, 1 > oilPressure
scaled_channel< int16_t, 1000, 1 > rawTps1Primary
scaled_channel< int16_t, 1000, 1 > rawOilPressure
uint8_t currentInjectionMode
scaled_channel< uint16_t, 30, 1 > baroPressure
scaled_channel< uint16_t, 1000, 1 > afr2GasolineScale
uint8_t currentIgnitionMode
uint8_t injectionPrimingCounter
uint16_t fastAdcConversionCount
scaled_channel< uint8_t, 2, 1 > injectorDutyCycle
uint32_t outputRequestPeriod
uint16_t engineMakeCodeNameCrc16
scaled_channel< int16_t, 100, 1 > tps12Split
scaled_channel< int16_t, 1000, 1 > rawWastegatePosition
scaled_channel< int16_t, 1000, 1 > rawAuxTemp1
scaled_channel< uint16_t, 10, 1 > veValue
bool isMapPredictionActive
uint8_t idleStepperTargetPosition
scaled_channel< uint16_t, 1000, 1 > VBatt
scaled_channel< int16_t, 100, 1 > fuelTankLevel
uint8_t canReWidebandFwYear
scaled_channel< int16_t, 50, 1 > vvtPositionB1E
uint8_t canReWidebandVersion
scaled_channel< uint16_t, 300, 1 > VssAcceleration
scaled_channel< int16_t, 1000, 1 > accelerationLon
scaled_channel< int16_t, 1000, 1 > rawIat
scaled_channel< int16_t, 1000, 1 > internalVref
scaled_channel< uint16_t, 1000, 1 > AFRValue2
scaled_channel< int16_t, 100, 1 > accPedalSplit
uint32_t luaLastCycleDuration
scaled_channel< int16_t, 100, 1 > fuelTemp
scaled_channel< int16_t, 100, 1 > wallFuelCorrectionValue
uint32_t totalTriggerErrorCounter
uint8_t canReWidebandFwDay
scaled_channel< uint16_t, 30, 1 > compressorDischargePressure
scaled_channel< int16_t, 1000, 1 > rawAuxTemp2
scaled_channel< int16_t, 1000, 1 > rawLowFuelPressure
pid_status_s wastegateDcStatus
scaled_channel< int16_t, 300, 1 > tpsAccelFuel
uint8_t extiOverflowCount
scaled_channel< uint16_t, 1000, 1 > rawMap
scaled_channel< uint16_t, 1000, 1 > AFRValue
scaled_channel< uint16_t, 100, 1 > Gego
scaled_channel< int16_t, 30, 1 > lowFuelPressure
scaled_channel< int16_t, 1000, 1 > rawClt
scaled_channel< int16_t, 100, 1 > etb1DutyCycle
uint16_t transitionEventCode
scaled_channel< uint16_t, 30, 1 > MAPValue
scaled_channel< uint16_t, 1000, 1 > SmoothedAFRValue2
scaled_channel< int16_t, 100, 1 > intake
uint8_t slowAdcOverrunCount
scaled_channel< int16_t, 1000, 1 > gyroYaw
scaled_channel< int16_t, 1000, 1 > rawAuxAnalog3
scaled_channel< int16_t, 50, 1 > vvtPositionB2E
scaled_channel< int16_t, 1000, 1 > rawAmbientTemp
float actualLastInjectionRatio
uint32_t triggerSecondaryRise
scaled_channel< uint16_t, 300, 1 > actualLastInjectionStage2
uint8_t canReWidebandFwMon
uint32_t triggerPrimaryRise
scaled_channel< uint16_t, 1000, 1 > SmoothedAFRValue
uint16_t totalFuelConsumption
pid_status_s alternatorStatus
scaled_channel< int16_t, 100, 1 > tps1Split
scaled_channel< uint16_t, 1000, 1 > rawMapFast
float actualLastInjectionRatioStage2
scaled_channel< uint16_t, 100, 1 > wallFuelAmount
scaled_channel< int16_t, 1000, 1 > rawFuelLevel
scaled_channel< uint8_t, 2, 1 > flexPercent
scaled_channel< uint16_t, 1000, 1 > rawMaf2
scaled_channel< int16_t, 100, 1 > oilTemp
scaled_channel< uint16_t, 10, 1 > distanceTraveled
uint8_t fastAdcOverrunCount
scaled_channel< int16_t, 100, 1 > throttlePedalPosition
int8_t internalMcuTemperature
scaled_channel< uint16_t, 10, 1 > mafMeasured2
uint8_t maxTriggerReentrant
scaled_channel< int16_t, 100, 1 > tps2Split
scaled_channel< uint16_t, 10, 1 > mafMeasured
scaled_channel< uint16_t, 200, 1 > fuelFlowRate
scaled_channel< uint8_t, 2, 1 > injectorDutyCycleStage2
scaled_channel< uint16_t, 1000, 1 > rawAfr
scaled_channel< uint16_t, 10000, 1 > lambdaValue2
scaled_channel< uint16_t, 300, 1 > actualLastInjection
uint32_t orderingErrorCounter
scaled_channel< uint16_t, 30, 1 > instantMAPValue
scaled_channel< int16_t, 1000, 1 > rawIdlePositionSensor
scaled_channel< int16_t, 100, 1 > coolant
float throttleEffectiveAreaOpening
scaled_channel< int16_t, 50, 1 > vvtPositionB2I
scaled_channel< int16_t, 50, 1 > vvtPositionB1I
scaled_channel< int16_t, 100, 1 > TPSValue
scaled_channel< int16_t, 1000, 1 > rawTps2Primary
scaled_channel< int16_t, 1000, 1 > rawAcPressure
float throttlePressureRatio
scaled_channel< uint16_t, 10, 1 > effectiveMap
scaled_channel< int16_t, 100, 1 > auxTemp1
uint32_t rtcUnixEpochTime
scaled_channel< int16_t, 1000, 1 > rawAuxAnalog2
uint8_t starterRelayDisable
uint8_t sadDwellRatioCounter
scaled_channel< int16_t, 100, 1 > dTerm
scaled_channel< int16_t, 100, 1 > error
scaled_channel< int16_t, 100, 1 > output
scaled_channel< int16_t, 100, 1 > iTerm
scaled_channel< uint16_t, 100, 1 > baseFuel
float postCrankingFuelCorrection
scaled_channel< uint16_t, 100, 1 > fuel
float intakeTemperatureCoefficient
float coolantTemperatureCoefficient
float timeSinceCrankingInSecs
bool isFlatShiftConditionSatisfied
bool torqueReductionTriggerPinState
bool isRpmConditionSatisfied
bool isBelowTemperatureThreshold
bool isAppConditionSatisfied
bool isTorqueReductionTriggerPinValid
bool isTimeConditionSatisfied
scaled_channel< int16_t, 100, 1 > tCharge
uint8_t triggerIgnoredToothCount
float triggerToothAngleError
uint32_t triggerElapsedUs
float mapVvt_MAP_AT_SPECIAL_POINT
angle_t mapCamPrevToothAngle
uint32_t temp_mapVvt_index
float currentEngineDecodedPhase
int8_t mapVvt_MAP_AT_CYCLE_COUNT
uint8_t mapVvt_min_point_counter
uint8_t mapVvt_sync_counter
int8_t triggerCountersError
uint32_t vvtToothDurations0
uint8_t triggerStateIndex
float triggerSyncGapRatio
uint32_t synchronizationCounter