|
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 | |
| PUBLIC_API_WEAK trigger_type_e | getCustomVvtTriggerType (vvt_mode_e vvtMode) |
| trigger_type_e | getVvtTriggerType (vvt_mode_e vvtMode) |
| void | boardPeriodicSlowCallback () |
| void | boardPeriodicFastCallback () |
| 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 |
| std::optional< setup_custom_board_overrides_type > | custom_board_periodicSlowCallback |
| std::optional< setup_custom_board_overrides_type > | custom_board_periodicFastCallback |
|
static |
This code asserts that we do not have unexpected gaps in time flow with the exception of internal flash burn.
Definition at line 419 of file engine.cpp.
Referenced by Engine::efiWatchdog().


| void boardPeriodicFastCallback | ( | ) |
Definition at line 155 of file engine.cpp.
Referenced by Engine::periodicFastCallback().

| void boardPeriodicSlowCallback | ( | ) |
Definition at line 151 of file engine.cpp.
Referenced by Engine::periodicSlowCallback().

| bool getBrakePedalState | ( | ) |
Definition at line 253 of file engine.cpp.
Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().


| bool getClutchDownState | ( | ) |
Definition at line 233 of file engine.cpp.
Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().


|
static |
Definition at line 243 of file engine.cpp.
Referenced by Engine::updateSwitchInputs().


| injection_mode_e getCurrentInjectionMode | ( | ) |
Definition at line 559 of file engine.cpp.
Referenced by getInjectionModeDurationMultiplier(), and InjectionEvent::update().


| PUBLIC_API_WEAK trigger_type_e getCustomVvtTriggerType | ( | vvt_mode_e | vvtMode | ) |
Definition at line 63 of file engine.cpp.
Referenced by getVvtTriggerType().


| EngineRotationState * getEngineRotationState | ( | ) |
Definition at line 585 of file engine.cpp.
Referenced by adjustCrankPhase(), InjectionEvent::computeInjectionAngle(), HpfpLobe::findNextLobe(), getCoilDutyCycle(), getCurrentInjectionMode(), getEngineCycleDuration(), isPrimeInjectionPulseSkipped(), noFiringUntilVvtSync(), PrimeController::onSlowCallback(), InjectionEvent::onTriggerTooth(), prepareIgnitionSchedule(), prepareOutputSignals(), rpmShaftPositionCallback(), setTriggerEmulatorRPM(), and TriggerCentral::syncEnginePhaseAndReport().

| EngineState * getEngineState | ( | ) |
Definition at line 589 of file engine.cpp.
Referenced by InjectionEvent::computeInjectionAngle(), getFuelingLoad(), getIgnitionLoad(), AlternatorController::getSetpoint(), TriggerCentral::isToothExpectedNow(), InjectionEvent::onTriggerTooth(), InjectorOutputPin::open(), Engine::periodicSlowCallback(), prepareCylinderIgnitionSchedule(), prepareOutputSignals(), InjectionEvent::updateInjectionAngle(), and wrapAngle().

| FuelSchedule * getFuelSchedule | ( | ) |
Definition at line 612 of file engine.cpp.
Referenced by handleFuel(), and mainTriggerCallback().

| IgnitionEventList * getIgnitionEvents | ( | ) |
Definition at line 616 of file engine.cpp.
Referenced by mainTriggerCallback().

| LimpManager * getLimpManager | ( | ) |
Definition at line 608 of file engine.cpp.
Referenced by RpmCalculator::checkIfSpinning(), EtbController::checkJam(), EtbController::checkStatus(), configureRusefiLuaHooks(), TriggerCentral::decodeMapCam(), doScheduleStopEngine(), firmwareErrorV(), getRunningFuel(), handleFuel(), handleShaftSignal(), onTriggerEventSparkLogic(), EngineState::periodicFastCallback(), processCanRxMessage(), and EtbController::setOutput().


| Scheduler * getScheduler | ( | ) |
Definition at line 597 of file engine.cpp.
Referenced by PrimeController::onIgnitionStateChanged(), PrimeController::onPrimeStart(), and InjectionEvent::onTriggerTooth().

| TriggerCentral * getTriggerCentral | ( | ) |
Definition at line 602 of file engine.cpp.
Referenced by WaveChart::addEvent3(), adjustCrankPhase(), TriggerDecoderBase::decodeTriggerEvent(), enableOrDisable(), TriggerCentral::findNextTriggerToothAngle(), getAcrState(), getValue(), handleShaftSignal(), TriggerCentral::handleShaftSignal(), handleVvtCamSignal(), hwHandleShaftSignal(), hwHandleVvtCamSignal(), initVvtShape(), TriggerCentral::isMapCamSync(), LogTriggerTooth(), mainTriggerCallback(), InstantRpmCalculator::movePreSynchTimestamps(), onConfigurationChangeTriggerCallback(), PrimaryTriggerDecoder::onNotEnoughTeeth(), PrimaryTriggerDecoder::onTooManyTeeth(), HpfpController::pinTurnOff(), HpfpController::pinTurnOn(), TriggerFormDetails::prepareEventAngles(), printStatus(), WaveChart::publish(), reportEventToWaveChart(), resetRunningTriggerCounters(), InstantRpmCalculator::setLastEventTimeForInstantRpm(), tdcMarkCallback(), triggerInfo(), and triggerShapeInfo().

| TunerStudioOutputChannels * getTunerStudioOutputChannels | ( | ) |
Definition at line 593 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 72 of file engine.cpp.
Referenced by VvtTriggerConfiguration::getType().


| std::optional<setup_custom_board_overrides_type> custom_board_periodicFastCallback |
Definition at line 149 of file engine.cpp.
Referenced by Engine::periodicFastCallback().
| std::optional<setup_custom_board_overrides_type> custom_board_periodicSlowCallback |
Definition at line 148 of file engine.cpp.
Referenced by Engine::periodicSlowCallback().
|
extern |
Definition at line 32 of file trigger_central.cpp.
|
extern |
Definition at line 60 of file engine_sniffer.cpp.
Referenced by WaveChart::publish().