61 #error EFI_UNIT_TEST must be defined!
65 #error EFI_SIMULATOR must be defined!
69 #error EFI_PROD_CODE must be defined!
74 #define MAF_DECODING_CACHE_SIZE 256
76 #define MAF_DECODING_CACHE_MULT (MAF_DECODING_CACHE_SIZE / 5.0)
84 #define CLEANUP_MODE_TPS 90
85 #define STEPPER_PARKING_TPS CLEANUP_MODE_TPS
117 #if EFI_ENGINE_CONTROL
128 #if EFI_HPFP && EFI_ENGINE_CONTROL
131 #if EFI_ENGINE_CONTROL
134 #if EFI_ALTERNATOR_CONTROL
149 #if EFI_VEHICLE_SPEED
155 #if EFI_ENGINE_CONTROL
164 #if EFI_BOOST_CONTROL
173 template<
typename get_t>
188 #if EFI_LAUNCH_CONTROL
195 #if EFI_ANTILAG_SYSTEM
199 #if EFI_ANTILAG_SYSTEM
203 #if EFI_SHAFT_POSITION_INPUT
212 #if EFI_SHAFT_POSITION_INPUT
234 #if EFI_SIGNAL_EXECUTOR_ONE_TIMER
237 #if EFI_SIGNAL_EXECUTOR_SLEEP
246 #if EFI_ENGINE_CONTROL
274 #if EFI_SHAFT_POSITION_INPUT
Acceleration enrichment calculator.
FuelComputer fuelComputer
TriggerCentral triggerCentral
SoftSparkLimiter softSparkLimiter
bool isFunctionalTestMode
GearControllerBase * gearController
FuelSchedule injectionEvents
SoftSparkLimiter ALSsoftSparkLimiter
const char * prevOutputName
IgnitionEventList ignitionEvents
void onEngineHasStopped()
IgnitionState ignitionState
void periodicFastCallback()
float stftCorrection[STFT_BANK_COUNT]
scheduling_s tdcScheduler[2]
AuxActor auxValves[AUX_DIGITAL_VALVE_COUNT][2]
int getGlobalConfigurationVersion(void) const
LocalVersionHolder versionForConfigurationListeners
bool enableOverdwellProtection
efitimeus_t timeToStopBlip
bool slowCallBackWasInvoked
bool isInShutdownMode() const
bool isMainRelayEnabled() const
LaunchControlBase launchController
void periodicSlowCallback()
SwitchedState brakePedalSwitchedState
Timer startStopStateLastPush
void OnTriggerStateProperState(efitick_t nowNt) override
RpmCalculator rpmCalculator
void resetEngineSnifferIfInTestMode()
SwitchedState clutchUpSwitchedState
constexpr auto & module()
SingleTimerExecutor executor
int globalConfigurationVersion
AntilagSystemBase antilagController
SwitchedState acButtonSwitchedState
LambdaMonitor lambdaMonitor
void OnTriggerSynchronization(bool wasSynchronized, bool isDecodingError) override
void injectEngineReferences()
IEtbController * etbControllers[ETB_COUNT]
percent_t blipIdlePosition
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, 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 EngineModule > engineModules
std::function< void(IgnitionEvent *, bool)> onIgnitionEvent
efitimeus_t timeToStopIdleTest
void onSparkFireKnockSense(uint8_t cylinderIndex, efitick_t nowNt)
SimpleSwitchedState luaDigitalInputState[LUA_DIGITAL_INPUT_COUNT]
TunerStudioOutputChannels outputChannels
PinRepository pinRepository
AirmassModelBase * mockAirmassModel
SoftSparkLimiter hardSparkLimiter
void updateSwitchInputs()
TpsAccelEnrichment tpsAccelEnrichment
void updateTriggerWaveform()
void OnTriggerSynchronizationLost() override
static Engine *const engine
void unlockEcu(int password)
void validateConfiguration()
void prepareOutputSignals()
void applyNonPersistentConfiguration()
trigger_type_e getVvtTriggerType(vvt_mode_e vvtMode)
One header which acts as gateway to current engine state.
Idle Valve Control thread.
Shaft position sensor(s) decoder header.
constexpr auto get() -> std::enable_if_t< decltype(first)::template has< get_t >(), decltype(first.template get< get_t >())>