rusEFI
The most advanced open source ECU
|
This might be a http://en.wikipedia.org/wiki/God_object but that's best way I can express myself in C/C++. I am open for suggestions :)
Definition in file engine.cpp.
Functions | |
trigger_type_e | getVvtTriggerType (vvt_mode_e vvtMode) |
bool | getClutchDownState () |
static bool | getClutchUpState () |
bool | getBrakePedalState () |
static void | assertTimeIsLinear () |
injection_mode_e | getCurrentInjectionMode () |
EngineRotationState * | getEngineRotationState () |
EngineState * | getEngineState () |
TunerStudioOutputChannels * | getTunerStudioOutputChannels () |
Scheduler * | getScheduler () |
TriggerCentral * | getTriggerCentral () |
LimpManager * | getLimpManager () |
FuelSchedule * | getFuelSchedule () |
IgnitionEventList * | getIgnitionEvents () |
Variables | |
int | waveChartUsedSize |
WaveChart | waveChart |
|
static |
This code asserts that we do not have unexpected gaps in time flow with the exception of internal flash burn.
Definition at line 400 of file engine.cpp.
Referenced by Engine::efiWatchdog().
bool getBrakePedalState | ( | ) |
Definition at line 228 of file engine.cpp.
Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().
bool getClutchDownState | ( | ) |
Definition at line 208 of file engine.cpp.
Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().
|
static |
Definition at line 218 of file engine.cpp.
Referenced by Engine::updateSwitchInputs().
injection_mode_e getCurrentInjectionMode | ( | ) |
Definition at line 539 of file engine.cpp.
Referenced by getInjectionModeDurationMultiplier(), and InjectionEvent::update().
EngineRotationState * getEngineRotationState | ( | ) |
Definition at line 562 of file engine.cpp.
Referenced by adjustCrankPhase(), InjectionEvent::computeInjectionAngle(), HpfpLobe::findNextLobe(), getCoilDutyCycle(), getCurrentInjectionMode(), getEngineCycleDuration(), isPrimeInjectionPulseSkipped(), noFiringUntilVvtSync(), PrimeController::onSlowCallback(), InjectionEvent::onTriggerTooth(), prepareIgnitionSchedule(), prepareOutputSignals(), refreshMapAveragingPreCalc(), rpmShaftPositionCallback(), setTriggerEmulatorRPM(), and TriggerCentral::syncEnginePhaseAndReport().
EngineState * getEngineState | ( | ) |
Definition at line 566 of file engine.cpp.
Referenced by InjectionEvent::computeInjectionAngle(), getFuelingLoad(), getIgnitionLoad(), AlternatorController::getSetpoint(), TriggerCentral::isToothExpectedNow(), onFastAdcComplete(), InjectionEvent::onTriggerTooth(), InjectorOutputPin::open(), Engine::periodicSlowCallback(), prepareCylinderIgnitionSchedule(), prepareOutputSignals(), rpmShaftPositionCallback(), InjectionEvent::updateInjectionAngle(), InstantRpmCalculator::updateInstantRpm(), Engine::updateSlowSensors(), and wrapAngle().
FuelSchedule * getFuelSchedule | ( | ) |
Definition at line 589 of file engine.cpp.
Referenced by handleFuel(), and mainTriggerCallback().
IgnitionEventList * getIgnitionEvents | ( | ) |
Definition at line 593 of file engine.cpp.
Referenced by mainTriggerCallback().
LimpManager * getLimpManager | ( | ) |
Definition at line 585 of file engine.cpp.
Referenced by RpmCalculator::checkIfSpinning(), EtbController::checkJam(), EtbController::checkStatus(), configureRusefiLuaHooks(), TriggerCentral::decodeMapCam(), doScheduleStopEngine(), firmwareError(), getRunningFuel(), handleFuel(), handleShaftSignal(), onTriggerEventSparkLogic(), EngineState::periodicFastCallback(), processCanRxMessage(), and EtbController::setOutput().
Scheduler * getScheduler | ( | ) |
Definition at line 574 of file engine.cpp.
Referenced by handleShaftSignal(), logVvtFront(), PrimeController::onIgnitionStateChanged(), PrimeController::onPrimeStart(), and InjectionEvent::onTriggerTooth().
TriggerCentral * getTriggerCentral | ( | ) |
Definition at line 579 of file engine.cpp.
Referenced by WaveChart::addEvent3(), adjustCrankPhase(), TriggerCentral::decodeMapCam(), TriggerDecoderBase::decodeTriggerEvent(), enableOrDisable(), TriggerCentral::findNextTriggerToothAngle(), getAcrState(), getValue(), handleShaftSignal(), TriggerCentral::handleShaftSignal(), handleVvtCamSignal(), hwHandleShaftSignal(), hwHandleVvtCamSignal(), LogTriggerTooth(), mainTriggerCallback(), InstantRpmCalculator::movePreSynchTimestamps(), onConfigurationChangeTriggerCallback(), PrimaryTriggerDecoder::onNotEnoughTeeth(), PrimaryTriggerDecoder::onTooManyTeeth(), TriggerFormDetails::prepareEventAngles(), printStatus(), WaveChart::publish(), reportEventToWaveChart(), resetRunningTriggerCounters(), InstantRpmCalculator::setLastEventTimeForInstantRpm(), tdcMarkCallback(), triggerInfo(), and triggerShapeInfo().
TunerStudioOutputChannels * getTunerStudioOutputChannels | ( | ) |
Definition at line 570 of file engine.cpp.
Referenced by InjectionEvent::computeInjectionAngle(), EventQueue::EventQueue(), EventQueue::getFreeScheduling(), SensorChecker::onSlowCallback(), InjectorOutputPin::setHigh(), InjectorOutputPin::setLow(), and EventQueue::tryReturnScheduling().
trigger_type_e getVvtTriggerType | ( | vvt_mode_e | vvtMode | ) |
VVT decoding delegates to universal trigger decoder. Here we map vvt_mode_e into corresponding trigger_type_e
Definition at line 70 of file engine.cpp.
Referenced by VvtTriggerConfiguration::getType().
|
extern |
Definition at line 33 of file trigger_central.cpp.
|
extern |
Definition at line 60 of file engine_sniffer.cpp.
Referenced by WaveChart::publish().