rusEFI
The most advanced open source ECU
|
#include <accel_enrichment.h>
Public Member Functions | |
TpsAccelEnrichment () | |
void | onConfigurationChange (engine_configuration_s const *previousConfig) override |
bool | isAccelEventTriggered () |
int | getMaxDeltaIndex () |
float | getMaxDelta () |
void | setLength (int length) |
void | onNewValue (float currentValue) |
floatms_t | getTpsEnrichment () |
void | onEngineCycleTps () |
void | resetFractionValues () |
void | resetAE () |
float | getTimeSinceAcell () const |
![]() | |
virtual void | initNoConfiguration () |
virtual void | setDefaultConfiguration () |
virtual void | onSlowCallback () |
virtual void | onFastCallback () |
virtual void | onEngineStop () |
virtual void | onIgnitionStateChanged (bool) |
virtual bool | needsDelayedShutoff () |
virtual void | onEnginePhase (float, efitick_t, angle_t, angle_t) |
Definition at line 19 of file accel_enrichment.h.
TpsAccelEnrichment::TpsAccelEnrichment | ( | ) |
Definition at line 209 of file accel_enrichment.cpp.
float TpsAccelEnrichment::getMaxDelta | ( | ) |
Definition at line 156 of file accel_enrichment.cpp.
int TpsAccelEnrichment::getMaxDeltaIndex | ( | ) |
Definition at line 132 of file accel_enrichment.cpp.
Referenced by getMaxDelta(), and onNewValue().
float TpsAccelEnrichment::getTimeSinceAcell | ( | ) | const |
Definition at line 226 of file accel_enrichment.cpp.
float TpsAccelEnrichment::getTpsEnrichment | ( | ) |
Definition at line 30 of file accel_enrichment.cpp.
bool TpsAccelEnrichment::isAccelEventTriggered | ( | ) |
Definition at line 201 of file accel_enrichment.cpp.
Referenced by SpeedDensityAirmass::getPredictiveMap().
|
overridevirtual |
Reimplemented from EngineModule.
Definition at line 214 of file accel_enrichment.cpp.
void TpsAccelEnrichment::onEngineCycleTps | ( | ) |
Definition at line 99 of file accel_enrichment.cpp.
void TpsAccelEnrichment::onNewValue | ( | float | currentValue | ) |
Definition at line 179 of file accel_enrichment.cpp.
void TpsAccelEnrichment::resetAE | ( | ) |
Definition at line 162 of file accel_enrichment.cpp.
Referenced by TpsAccelEnrichment().
void TpsAccelEnrichment::resetFractionValues | ( | ) |
Definition at line 167 of file accel_enrichment.cpp.
Referenced by getTpsEnrichment(), and resetAE().
void TpsAccelEnrichment::setLength | ( | int | length | ) |
Definition at line 175 of file accel_enrichment.cpp.
Referenced by onConfigurationChange().
cyclic_buffer<float> TpsAccelEnrichment::cb |
Definition at line 39 of file accel_enrichment.h.
Referenced by getMaxDelta(), getMaxDeltaIndex(), onNewValue(), resetAE(), setLength(), and TpsAccelEnrichment().
bool TpsAccelEnrichment::m_accelEventJustOccurred = false |
Definition at line 25 of file accel_enrichment.h.
Referenced by isAccelEventTriggered(), and onNewValue().
Timer TpsAccelEnrichment::m_timeSinceAccel |
Definition at line 31 of file accel_enrichment.h.
Referenced by getTimeSinceAcell(), and getTpsEnrichment().
int TpsAccelEnrichment::onUpdateInvocationCounter = 0 |
Definition at line 41 of file accel_enrichment.h.
Referenced by onEngineCycleTps().