62 #error EFI_UNIT_TEST must be defined!
66 #error EFI_SIMULATOR must be defined!
70 #error EFI_PROD_CODE must be defined!
75 #define MAF_DECODING_CACHE_SIZE 256
77 #define MAF_DECODING_CACHE_MULT (MAF_DECODING_CACHE_SIZE / 5.0)
85 #define CLEANUP_MODE_TPS 90
86 #define STEPPER_PARKING_TPS CLEANUP_MODE_TPS
120 #if EFI_ENGINE_CONTROL
131 #if EFI_HPFP && EFI_ENGINE_CONTROL
134 #if EFI_ENGINE_CONTROL
137 #if EFI_ALTERNATOR_CONTROL
152 #if EFI_VEHICLE_SPEED
158 #if EFI_ENGINE_CONTROL
167 #if EFI_BOOST_CONTROL
176 template<
typename get_t>
191 #if EFI_LAUNCH_CONTROL
198 #if EFI_ANTILAG_SYSTEM
202 #if EFI_ANTILAG_SYSTEM
206 #if EFI_SHAFT_POSITION_INPUT
213 #if EFI_SHAFT_POSITION_INPUT
239 #if EFI_SIGNAL_EXECUTOR_ONE_TIMER
243 #if EFI_SIGNAL_EXECUTOR_SLEEP
257 #if EFI_ENGINE_CONTROL
285 #if EFI_SHAFT_POSITION_INPUT
Acceleration enrichment calculator.
FuelComputer fuelComputer
TriggerCentral triggerCentral
SoftSparkLimiter softSparkLimiter
bool isFunctionalTestMode
GearControllerBase * gearController
FuelSchedule injectionEvents
const char * prevOutputName
IgnitionEventList ignitionEvents
void onEngineHasStopped()
IgnitionState ignitionState
void periodicFastCallback()
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 incrementBailedOnDwellCount()
void periodicSlowCallback()
SwitchedState brakePedalSwitchedState
void OnTriggerStateProperState(efitick_t nowNt) override
int getBailedOnDwellCount() const
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()
std::function< void(const IgnitionEvent &, efitick_t)> onScheduleOverFireSparkAndPrepareNextSchedule
TpsAccelEnrichment tpsAccelEnrichment
void updateTriggerWaveform()
std::function< void(const IgnitionEvent &, efitick_t, angle_t, efitick_t)> onScheduleTurnSparkPinHighStartCharging
void OnTriggerSynchronizationLost() override
StartStopState startStopState
static Engine *const engine
void unlockEcu(int password)
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 >())>