rusEFI
The most advanced open source ECU
|
#include <engine.h>
Public Member Functions | |
Engine () | |
template<typename get_t > | |
constexpr auto & | module () |
void | resetLua () |
void | OnTriggerStateProperState (efitick_t nowNt) override |
void | OnTriggerSynchronization (bool wasSynchronized, bool isDecodingError) override |
void | OnTriggerSynchronizationLost () override |
void | setConfig () |
int | getBailedOnDwellCount () const |
void | incrementBailedOnDwellCount () |
int | getGlobalConfigurationVersion (void) const |
void | periodicFastCallback () |
void | periodicSlowCallback () |
void | updateSlowSensors () |
void | updateSwitchInputs () |
void | updateTriggerConfiguration () |
void | resetEngineSnifferIfInTestMode () |
void | preCalculate () |
void | efiWatchdog () |
void | onEngineHasStopped () |
void | checkShutdown () |
bool | isInShutdownMode () const |
bool | isMainRelayEnabled () const |
void | onSparkFireKnockSense (uint8_t cylinderIndex, efitick_t nowNt) |
Private Member Functions | |
void | reset () |
void | injectEngineReferences () |
Private Attributes | |
int | bailedOnDwellCount = 0 |
Engine::Engine | ( | ) |
Definition at line 268 of file engine.cpp.
void Engine::checkShutdown | ( | ) |
Needed by EFI_MAIN_RELAY_CONTROL to shut down the engine correctly. This method cancels shutdown if the ignition voltage is detected.
Definition at line 459 of file engine.cpp.
Referenced by periodicSlowCallback().
void Engine::efiWatchdog | ( | ) |
todo: better watch dog implementation should be implemented - see http://sourceforge.net/p/rusefi/tickets/96/
Definition at line 418 of file engine.cpp.
Referenced by periodicSlowCallback().
int Engine::getGlobalConfigurationVersion | ( | void | ) | const |
Definition at line 286 of file engine.cpp.
Referenced by TriggerCentral::checkIfTriggerConfigChanged(), configureRusefiLuaHooks(), printConfiguration(), and updateTriggerWaveformIfNeeded().
|
inline |
Definition at line 242 of file engine.h.
Referenced by turnSparkPinHighStartCharging().
|
private |
Definition at line 379 of file engine.cpp.
Referenced by setConfig().
bool Engine::isInShutdownMode | ( | ) | const |
Allows to finish some long-term shutdown procedures (stepper motor parking etc.) Called when the ignition switch is turned off (vBatt is too low). Returns true if some operations are in progress on background.
Definition at line 493 of file engine.cpp.
bool Engine::isMainRelayEnabled | ( | ) | const |
The stepper does not work if the main relay is turned off (it requires +12V). Needed by the stepper motor code to detect if it works.
Definition at line 530 of file engine.cpp.
Referenced by StepDirectionStepper::pulse(), and LimpManager::updateState().
|
inlineconstexpr |
Slightly shorter helper function to keep the code looking clean.
Definition at line 187 of file engine.h.
Referenced by WallFuel::adjust(), applyPidSettings(), auxPlainPinTurnOn(), canDashboardHaltech(), EtbController::checkJam(), EtbController::checkStatus(), configureRusefiLuaHooks(), flashWriteThread(), getAdvanceCorrections(), AlternatorController::getClosedLoop(), IdleController::getClosedLoop(), getIdlePosition(), getInjectionMass(), getLimpManager(), getLiveData(), getLiveData(), getOutputValueByName(), PrimeController::getPrimeDuration(), getRunningAdvance(), getRunningFuel(), IdleController::getRunningOpenLoop(), IdleController::getTargetRpm(), AirmassVeModelBase::getVe(), handleGetDataRequest(), TriggerCentral::handleShaftSignal(), hipThread(), initAccelEnrichment(), initAlternatorCtrl(), initBoostCtrl(), initSoftwareKnock(), initVvtActuators(), LambdaMonitorBase::isCurrentlyGood(), LtftState::load(), lua_getDigital(), mainTriggerCallback(), FanController::onSlowCallback(), InjectionEvent::onTriggerTooth(), EngineState::periodicFastCallback(), populateFrame(), populateFrame(), populateFrame(), populateFrame(), populateFrame(), processLastKnockEvent(), resetAccel(), resetLua(), HpfpController::scheduleNextCycle(), scheduleOpen(), scheduleSparkEvent(), setAltPFactor(), shouldUpdateCorrection(), startIdleThread(), updateFlags(), updateFuelResults(), LimpManager::updateState(), updateSwitchInputs(), and updateVehicleSpeed().
void Engine::onEngineHasStopped | ( | ) |
Definition at line 446 of file engine.cpp.
Referenced by efiWatchdog().
void Engine::onSparkFireKnockSense | ( | uint8_t | cylinderIndex, |
efitick_t | nowNt | ||
) |
Definition at line 192 of file knock_controller.cpp.
Referenced by fireSparkAndPrepareNextSchedule().
|
overridevirtual |
Implements TriggerStateListener.
Definition at line 332 of file engine.cpp.
|
overridevirtual |
Implements TriggerStateListener.
Definition at line 350 of file engine.cpp.
|
overridevirtual |
Implements TriggerStateListener.
Definition at line 336 of file engine.cpp.
void Engine::periodicFastCallback | ( | ) |
See FAST_CALLBACK_PERIOD_MS
The idea of this method is to execute all heavy calculations in a lower-priority thread, so that trigger event handler/IO scheduler tasks are faster.
Definition at line 547 of file engine.cpp.
Referenced by RpmCalculator::assignRpmValue(), and mainTriggerCallback().
void Engine::periodicSlowCallback | ( | ) |
See SLOW_CALLBACK_PERIOD_MS
Definition at line 141 of file engine.cpp.
Referenced by doPeriodicSlowCallback().
void Engine::preCalculate | ( | ) |
Here we have a bunch of stuff which should invoked after configuration change so that we can prepare some helper structures
Definition at line 321 of file engine.cpp.
Referenced by incrementGlobalConfigurationVersion(), and readFromFlash().
|
private |
it's important for wrapAngle() that engineCycle field never has zero
Definition at line 290 of file engine.cpp.
Referenced by Engine().
void Engine::resetEngineSnifferIfInTestMode | ( | ) |
Definition at line 57 of file engine.cpp.
Referenced by setEngineType(), setTriggerEmulatorRPM(), setTriggerType(), setValue(), and setWholeTimingMapCmd().
void Engine::resetLua | ( | ) |
Definition at line 298 of file engine.cpp.
Referenced by reset().
void Engine::setConfig | ( | ) |
Definition at line 388 of file engine.cpp.
Referenced by runRusEfi().
void Engine::updateSlowSensors | ( | ) |
We are executing these heavy (logarithm) methods from outside the trigger callbacks for performance reasons. See also periodicFastCallback
Definition at line 198 of file engine.cpp.
Referenced by periodicSlowCallback(), and testRusefiMethods().
void Engine::updateSwitchInputs | ( | ) |
Definition at line 239 of file engine.cpp.
Referenced by updateSlowSensors().
void Engine::updateTriggerConfiguration | ( | ) |
Definition at line 125 of file engine.cpp.
Referenced by applyNonPersistentConfiguration(), and onConfigurationChangeTriggerCallback().
SwitchedState Engine::acButtonSwitchedState |
Definition at line 198 of file engine.h.
Referenced by sendQcBenchButtonCounters(), and updateSwitchInputs().
bool Engine::allowCanTx = true |
Sometimes for instance during shutdown we need to completely supress CAN TX
Definition at line 107 of file engine.h.
Referenced by configureRusefiLuaHooks(), and CanTxMessage::~CanTxMessage().
AntilagSystemBase Engine::antilagController |
Definition at line 210 of file engine.h.
Referenced by getFuelALSCorrection(), getLiveData(), getRunningAdvance(), getRunningFuel(), IdleController::getRunningOpenLoop(), EtbController::getSetpointEtb(), and EngineState::periodicFastCallback().
AuxActor Engine::auxValves[AUX_DIGITAL_VALVE_COUNT][2] |
Definition at line 233 of file engine.h.
Referenced by initAuxValves().
|
private |
Definition at line 239 of file engine.h.
Referenced by getBailedOnDwellCount(), and incrementBailedOnDwellCount().
percent_t Engine::blipIdlePosition |
idle blip is a development tool: alternator PID research for instance have benefited from a repetitive change of RPM
Definition at line 335 of file engine.h.
Referenced by blipIdle(), and IdleController::getIdlePosition().
SwitchedState Engine::brakePedalSwitchedState |
Definition at line 197 of file engine.h.
Referenced by sendQcBenchButtonCounters(), slowStartStopButtonCallback(), and updateSwitchInputs().
SwitchedState Engine::clutchUpSwitchedState |
Definition at line 196 of file engine.h.
Referenced by sendQcBenchButtonCounters(), and updateSwitchInputs().
Timer Engine::configBurnTimer |
Definition at line 289 of file engine.h.
Referenced by assertTimeIsLinear(), and writeToFlashNow().
dc_motors_s Engine::dc_motors |
Definition at line 327 of file engine.h.
Referenced by getLiveData(), getOutputValueByName(), and updateTunerStudioState().
type_list< Mockable<InjectorModelPrimary>, Mockable<InjectorModelSecondary>,#if EFI_IDLE_CONTROL Mockable<IdleController>,#endif TriggerScheduler,#if EFI_HPFP && EFI_ENGINE_CONTROL HpfpController,#endif #if EFI_ENGINE_CONTROL Mockable<ThrottleModel>,#endif #if EFI_ALTERNATOR_CONTROL AlternatorController,#endif FuelPumpController, MainRelayController, Mockable<IgnitionController>, Mockable<AcController>, FanControl1, FanControl2, PrimeController, DfcoController,#if EFI_HD_ACR HarleyAcr,#endif Mockable<WallFuelController>,#if EFI_VEHICLE_SPEED GearDetector, TripOdometer,#endif KnockController, SensorChecker,#if EFI_ENGINE_CONTROL LimpManager,#endif #if EFI_VVT_PID VvtController1, VvtController2, VvtController3, VvtController4,#endif #if EFI_BOOST_CONTROL BoostController,#endif TpsAccelEnrichment,#if EFI_LAUNCH_CONTROL NitrousController,#endif #if EFI_LTFT_CONTROL LongTermFuelTrim,#endif EngineModule > Engine::engineModules |
Definition at line 181 of file engine.h.
Referenced by incrementGlobalConfigurationVersion(), module(), MainRelayController::onSlowCallback(), IgnitionController::onSlowCallback(), periodicFastCallback(), and periodicSlowCallback().
EngineState Engine::engineState |
Definition at line 325 of file engine.h.
Referenced by auxPlainPinTurnOn(), HpfpQuantity::calcFuelPercent(), canDashboardHaltech(), EtbController::checkStatus(), configureRusefiLuaHooks(), AemXSeriesWideband::decodeRusefiDiag(), detectHellenBoardType(), fireSparkAndPrepareNextSchedule(), firmwareError(), getAcrState(), getAdvanceCorrections(), SpeedDensityAirmass::getAirmass(), AngleBasedEvent::getAngleFromNow(), getBaseFuelMass(), getBoardId(), getBrakePedalState(), getClutchDownState(), getClutchUpState(), getCrankingFuel3(), getEngineState(), getInjectionMass(), getInjectorDutyCycle(), getInjectorDutyCycleStage2(), getLiveData(), getMultiSparkCount(), getOutputValueByName(), getPerCylinderFiringOrderOffset(), getRunningAdvance(), getRunningFuel(), DfcoController::getState(), AirmassVeModelBase::getVe(), handleGetDataRequest(), handleTestCommand(), initDataStructures(), initializeIgnitionActions(), is_F_OrOlder(), isMegaModuleRevision(), lua_getDigital(), mapAveragingTriggerCallback(), obdOnCanPacketRx(), KnockControllerBase::onKnockSenseCompleted(), HarleyAcr::onSlowCallback(), onStartStopButtonToggle(), onTriggerEventSparkLogic(), overFireSparkAndPrepareNextSchedule(), periodicFastCallback(), EngineState::periodicFastCallback(), populateFrame(), populateFrame(), populateFrame(), populateFrame(), populateFrame(), populateFrame(), prepareCylinderIgnitionSchedule(), recalculateAuxValveTiming(), refreshMapAveragingPreCalc(), AemXSeriesWideband::refreshState(), reset(), resetLua(), runOneLua(), sayHello(), scheduleOpen(), scheduleSparkEvent(), sendWidebandInfo(), setBoardConfigOverrides(), Generic4TransmissionController::setPcState(), slowStartStopButtonCallback(), startAveraging(), startDwellByTurningSparkPinHigh(), testRusefiMethods(), THD_FUNCTION(), turnSparkPinHighStartCharging(), updateFuelCorrections(), updateFuelInfo(), LimpManager::updateState(), updateSwitchInputs(), ShiftTorqueReductionController::updateTriggerPinState(), updateTunerStudioState(), updateWarningCodes(), and warning().
Timer Engine::engineTypeChangeTimer |
Definition at line 290 of file engine.h.
Referenced by onApplyPreset(), and wasPresetJustApplied().
bool Engine::etbAutoTune = false |
Definition at line 276 of file engine.h.
Referenced by blinkEtbErrorCodes(), EtbController::checkStatus(), handleCommandX14(), and initElectronicThrottle().
IEtbController* Engine::etbControllers[ETB_COUNT] = {nullptr} |
Definition at line 119 of file engine.h.
Referenced by configureRusefiLuaHooks(), doInitElectronicThrottle(), etbAutocal(), etbPidReset(), initElectronicThrottle(), setEtbIdlePosition(), setEtbLuaAdjustment(), and setEtbWastegatePosition().
bool Engine::etbIgnoreJamProtection = false |
Definition at line 277 of file engine.h.
Referenced by LimpManager::allowElectronicThrottle(), and handleCommandX14().
FuelComputer Engine::fuelComputer |
Definition at line 123 of file engine.h.
Referenced by boardInitHardware(), IdleController::determinePhase(), getBaseFuelMass(), IdleController::getIdleTimingAdjustment(), ClosedLoopFuelCellImpl::getLambdaError(), getLiveData(), LambdaMonitor::getMaxAllowedLambda(), getOutputValueByName(), getRunningFuel(), SensorChecker::onSlowCallback(), EngineState::periodicFastCallback(), populateFrame(), populateFrame(), populateFrame(), shouldCorrect(), updateLambda(), and EngineState::updateTChargeK().
GearControllerBase* Engine::gearController = nullptr |
Definition at line 192 of file engine.h.
Referenced by doPeriodicSlowCallback(), getLiveData(), and initGearController().
int Engine::globalConfigurationVersion = 0 |
This counter is incremented every time user adjusts ECU parameters online (either via rusEfi console or other tuning software)
Definition at line 296 of file engine.h.
Referenced by getGlobalConfigurationVersion(), and incrementGlobalConfigurationVersion().
SoftSparkLimiter Engine::hardSparkLimiter |
Definition at line 206 of file engine.h.
Referenced by onTriggerEventSparkLogic(), and EngineState::updateSparkSkip().
IgnitionEventList Engine::ignitionEvents |
Definition at line 270 of file engine.h.
Referenced by getIgnitionEvents(), initDataStructures(), initializeIgnitionActions(), onEngineHasStopped(), and onTriggerEventSparkLogic().
IgnitionState Engine::ignitionState |
Definition at line 221 of file engine.h.
Referenced by configureRusefiLuaHooks(), fireSparkAndPrepareNextSchedule(), getAdvanceCorrections(), getCoilDutyCycle(), getLiveData(), getOutputValueByName(), getRunningAdvance(), initializeIgnitionActions(), onTriggerEventSparkLogic(), EngineState::periodicFastCallback(), prepareIgnitionSchedule(), and resetLua().
FuelSchedule Engine::injectionEvents |
Definition at line 269 of file engine.h.
Referenced by commonInitEngineController(), getFuelSchedule(), getLiveData(), prepareOutputSignals(), resetAccel(), RpmCalculator::setRpmValue(), and updateFuelInfo().
bool Engine::isFunctionalTestMode = false |
are we running any kind of functional test? this affect some areas
Definition at line 321 of file engine.h.
Referenced by enableOrDisable(), and resetEngineSnifferIfInTestMode().
bool Engine::isPwmEnabled = true |
Definition at line 110 of file engine.h.
Referenced by applyPinState(), and enableOrDisable().
bool Engine::isRunningPwmTest = false |
Definition at line 315 of file engine.h.
Referenced by efiWatchdog().
LambdaMonitor Engine::lambdaMonitor |
Definition at line 218 of file engine.h.
Referenced by getLiveData(), getOutputValueByName(), EngineState::periodicFastCallback(), populateFrame(), and LimpManager::updateState().
LaunchControlBase Engine::launchController |
Definition at line 202 of file engine.h.
Referenced by canDashboardHaltech(), getLiveData(), getOutputValueByName(), getRunningAdvance(), getRunningFuel(), EngineState::periodicFastCallback(), updateFlags(), EngineState::updateSparkSkip(), and LimpManager::updateState().
SimpleSwitchedState Engine::luaDigitalInputState[LUA_DIGITAL_INPUT_COUNT] |
Definition at line 199 of file engine.h.
Referenced by pokeAuxDigital(), and sendQcBenchAuxDigitalCounters().
AirmassModelBase* Engine::mockAirmassModel = nullptr |
Definition at line 368 of file engine.h.
Referenced by getAirmassModel().
bool Engine::needTdcCallback = true |
Definition at line 237 of file engine.h.
Referenced by onTdcCallback().
std::function<void(IgnitionEvent*, bool)> Engine::onIgnitionEvent |
Definition at line 261 of file engine.h.
Referenced by fireSparkAndPrepareNextSchedule(), and turnSparkPinHighStartCharging().
std::function<void(const IgnitionEvent&, efitick_t)> Engine::onScheduleOverFireSparkAndPrepareNextSchedule = [](const IgnitionEvent&, efitick_t) -> void {} |
std::function<void(const IgnitionEvent&, efitick_t, angle_t, efitick_t)> Engine::onScheduleTurnSparkPinHighStartCharging = [](const IgnitionEvent&, efitick_t, angle_t, efitick_t) -> void {} |
TunerStudioOutputChannels Engine::outputChannels |
Definition at line 102 of file engine.h.
Referenced by attachMsdSdCard(), canInfo(), EtbController::checkStatus(), TunerStudio::cmdOutputChannels(), completionCallback(), TriggerCentral::decodeMapCam(), executorStatistics(), fastAdcErrorCB(), fireSparkAndPrepareNextSchedule(), fuelClosedLoopCorrection(), getAdvanceCorrections(), VvtController::getClosedLoop(), BoostController::getClosedLoop(), AlternatorController::getClosedLoop(), EtbController::getClosedLoopAutotune(), IdleController::getIdlePosition(), getLiveData(), SpeedDensityAirmass::getMap(), BoostController::getOpenLoop(), getOutputValueByName(), getRunningAdvance(), BoostController::getSetpoint(), VvtController::getSetpoint(), FuelComputer::getTargetLambda(), getTunerStudioOutputChannels(), AirmassVeModelBase::getVe(), grabPedalIsUp(), grabPedalIsWideOpen(), handleCommandX14(), handleFuel(), handleShaftSignal(), handleVvtCamSignal(), initElectronicThrottle(), lua_setDebug(), mapAveragingAdcCallback(), mountMmc(), myAlloc(), PrimeController::onPrimeStart(), onTriggerEventSparkLogic(), InjectionEvent::onTriggerTooth(), populateFrame(), populateFrame(), StepperMotorBase::postCurrentPosition(), GearControllerBase::postState(), preCalculate(), prepareCylinderIgnitionSchedule(), printErrorCounters(), printUid(), processLastKnockEvent(), readGppwmChannel(), reportLogicAnalyzerToTS(), runBench(), runOneLua(), IgnitionOutputPin::setHigh(), IgnitionOutputPin::setLow(), EtbController::setOutput(), setToothLogReady(), slowAdcErrorCB(), AdcDevice::startConversionI(), startLua(), THD_FUNCTION(), tle8888PostState(), triggerScopeDisable(), triggerScopeGetBuffer(), InjectionEvent::update(), SimpleTransmissionController::update(), DynoView::update(), updateDevConsoleState(), updateEgtSensors(), updateFlags(), updateFuelCorrections(), updateFuelInfo(), updateFuelResults(), updateFuelSensors(), updateGppwm(), updateIgnition(), updateLambda(), updateMiscSensors(), updatePressures(), updateRawSensors(), updateSdCardLiveFlags(), updateTempSensors(), updateThrottles(), updateTunerStudioState(), updateVehicleSpeed(), updateVvtSensors(), updateWarningCodes(), and CanTxMessage::~CanTxMessage().
bool Engine::pauseCANdueToSerial = false |
ELM327 cannot handle both RX and TX at the same time, we have to stay quite once first ISO/TP packet was detected this is a pretty temporary hack only while we are trying ELM327, long term ISO/TP and rusEFI broadcast should find a way to coexists
Definition at line 116 of file engine.h.
Referenced by CanWrite::PeriodicTask(), and CanStreamerState::receiveFrame().
RpmCalculator Engine::rpmCalculator |
Definition at line 287 of file engine.h.
Referenced by commonInitEngineController(), configureRusefiLuaHooks(), IdleController::determinePhase(), disengageStarterIfNeeded(), doPeriodicSlowCallback(), enableTriggerStimulator(), executeTSCommand(), IgnitionState::getAdvance(), getCrankingFuel(), IdleController::getCrankingTaperFraction(), TriggerCentral::getCurrentEnginePhase(), getCurrentIgnitionMode(), getEngineRotationState(), getInjectionMass(), VvtController::getSetpoint(), FanController::getState(), TriggerCentral::handleShaftSignal(), mainTriggerCallback(), onEcuStartDoSomethingTriggerInputPins(), WallFuelController::onFastCallback(), TripOdometer::onSlowCallback(), onStartStopButtonToggle(), PrimaryTriggerDecoder::onTriggerError(), OnTriggerStateProperState(), OnTriggerSynchronizationLost(), EngineState::periodicFastCallback(), periodicSlowCallback(), rpmShaftPositionCallback(), scheduleByAngle(), StepperMotorBase::setInitialPosition(), shouldCorrect(), slowStartStopButtonCallback(), startKnockSampling(), tle8888startup(), LimpManager::updateState(), and updateTunerStudioState().
SingleTimerExecutor Engine::scheduler |
Definition at line 252 of file engine.h.
Referenced by applyIACposition(), executorStatistics(), fireSparkAndPrepareNextSchedule(), getScheduler(), globalTimerCallback(), Generic4TransmissionController::init(), Gm4l6xTransmissionController::init(), initAlternatorCtrl(), initDcMotor(), initDcMotor(), initGpPwm(), initSpeedometer(), initTachometer(), initVrThresholdPwm(), runBench(), scheduleByAngle(), TriggerScheduler::scheduleEventsUntilNextTriggerTooth(), startBoostPin(), startPwm(), startSimulatedTriggerSignal(), triggerScopeGetBuffer(), turnVvtPidOn(), validateHardwareTimer(), and watchDogBuddyCallback().
SensorsState Engine::sensors |
Definition at line 339 of file engine.h.
Referenced by processCanRxImu_BoschM5_10_RollX(), processCanRxImu_BoschM5_10_YawY(), processCanRxImu_BoschM5_10_Z(), and updateTunerStudioState().
sent_state_s Engine::sent_state |
Definition at line 329 of file engine.h.
Referenced by getLiveData(), and SentDecoderThread().
ShiftTorqueReductionController Engine::shiftTorqueReductionController |
Definition at line 203 of file engine.h.
Referenced by getLiveData(), getOutputValueByName(), getRunningAdvance(), EngineState::periodicFastCallback(), and EngineState::updateSparkSkip().
bool Engine::slowCallBackWasInvoked = false |
Definition at line 285 of file engine.h.
Referenced by EngineState::periodicFastCallback(), and periodicSlowCallback().
SoftSparkLimiter Engine::softSparkLimiter |
Definition at line 204 of file engine.h.
Referenced by onTriggerEventSparkLogic(), and EngineState::updateSparkSkip().
StartStopState Engine::startStopState |
Definition at line 99 of file engine.h.
Referenced by disengageStarterIfNeeded(), doStartCranking(), initStartStopButton(), and slowStartStopButtonCallback().
bool Engine::tdcMarkEnabled = true |
Definition at line 281 of file engine.h.
Referenced by tdcMarkCallback().
scheduling_s Engine::tdcScheduler[2] |
Definition at line 271 of file engine.h.
Referenced by tdcMarkCallback().
efitimeus_t Engine::timeToStopBlip = 0 |
Definition at line 336 of file engine.h.
Referenced by blipIdle(), IdleController::getIdlePosition(), and undoIdleBlipIfNeeded().
efitimeus_t Engine::timeToStopIdleTest = 0 |
Definition at line 337 of file engine.h.
Referenced by applyIACposition(), finishIdleTestIfNeeded(), and startIdleBench().
TriggerCentral Engine::triggerCentral |
Definition at line 299 of file engine.h.
Referenced by applyIACposition(), TriggerCentral::applyShapesConfiguration(), canDashboardHaltech(), RpmCalculator::checkIfSpinning(), EtbController::checkStatus(), configureRusefiLuaHooks(), disableTriggerStimulator(), doPeriodicSlowCallback(), efiWatchdog(), emulatorApplyPinState(), enableExternalTriggerStimulator(), enableTriggerStimulator(), extIonCallback(), HpfpLobe::findNextLobe(), getAdvanceCorrections(), getCurrentIgnitionMode(), getLiveData(), getLiveData(), RpmCalculator::getOperationMode(), getOutputValueByName(), getTriggerCentral(), injectEngineReferences(), isTriggerErrorNow(), VvtController::observePlant(), onFastAdcComplete(), HpfpController::onFastCallback(), RpmCalculator::onSlowCallback(), IdleController::onSlowCallback(), FuelPumpController::onSlowCallback(), PrimaryTriggerDecoder::onTriggerError(), OnTriggerSynchronization(), OnTriggerSynchronizationLost(), periodicSlowCallback(), populateFrame(), prepareOutputSignals(), readGppwmChannel(), refreshMapAveragingPreCalc(), rpmShaftPositionCallback(), sendQcBenchEventCounters(), SetNextCompositeEntry(), RpmCalculator::setSpinningUp(), RpmCalculator::setStopped(), startSimulatedTriggerSignal(), startTriggerInputPins(), updateDevConsoleState(), updateSlowSensors(), LimpManager::updateState(), updateTriggerConfiguration(), updateTunerStudioState(), and updateVvtSensors().