71static_assert(MAX_CYLINDER_COUNT > 0);
74#error EFI_UNIT_TEST must be defined!
78#error EFI_SIMULATOR must be defined!
82#error EFI_PROD_CODE must be defined!
87#define MAF_DECODING_CACHE_SIZE 256
89#define MAF_DECODING_CACHE_MULT (MAF_DECODING_CACHE_SIZE / 5.0)
97#define CLEANUP_MODE_TPS 90
98#define STEPPER_PARKING_TPS CLEANUP_MODE_TPS
125#if EFI_ELECTRONIC_THROTTLE_BODY
138#if EFI_ENGINE_CONTROL
150#if EFI_HPFP && EFI_ENGINE_CONTROL
153#if EFI_ENGINE_CONTROL
156#if EFI_ALTERNATOR_CONTROL
170#if EFI_ENGINE_CONTROL
183#if EFI_LAUNCH_CONTROL
199 template<
typename get_t>
204 template<
typename get_t>
219#if EFI_LAUNCH_CONTROL
227#if EFI_ANTILAG_SYSTEM
231#if EFI_ANTILAG_SYSTEM
235#if EFI_SHAFT_POSITION_INPUT
242#if EFI_SHAFT_POSITION_INPUT
269#if EFI_SIGNAL_EXECUTOR_ONE_TIMER
273#if EFI_SIGNAL_EXECUTOR_SLEEP
287#if EFI_ENGINE_CONTROL
294#if EFI_ELECTRONIC_THROTTLE_BODY
317#if EFI_SHAFT_POSITION_INPUT
410 constexpr operator bool()
const {
return true; }
Acceleration enrichment calculator.
FuelComputer fuelComputer
TriggerCentral triggerCentral
int getGlobalConfigurationVersion() const
SoftSparkLimiter softSparkLimiter
bool isFunctionalTestMode
GearControllerBase * gearController
bool etbIgnoreJamProtection
FuelSchedule injectionEvents
IgnitionEventList ignitionEvents
void onEngineHasStopped()
IgnitionState ignitionState
void periodicFastCallback()
scheduling_s tdcScheduler[2]
AuxActor auxValves[AUX_DIGITAL_VALVE_COUNT][2]
bool slowCallBackWasInvoked
SingleTimerExecutor scheduler
bool isInShutdownMode() const
bool isMainRelayEnabled() const
LaunchControlBase launchController
void incrementBailedOnDwellCount()
void periodicSlowCallback()
SwitchedState brakePedalSwitchedState
int getBailedOnDwellCount() const
RpmCalculator rpmCalculator
void resetEngineSnifferIfInTestMode()
TriggerStateListener * nextListener() override
SwitchedState clutchUpSwitchedState
int globalConfigurationVersion
AntilagSystemBase antilagController
SwitchedState acButtonSwitchedState
constexpr auto const & module() const
LambdaMonitor lambdaMonitor
void OnTriggerSynchronization(bool wasSynchronized, bool isDecodingError) override
void injectEngineReferences()
TriggerStateListener * secondListener
IEtbController * etbControllers[ETB_COUNT]
Timer engineTypeChangeTimer
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
void updateTriggerConfiguration()
AirmassModelBase * mockAirmassModel
void OnTriggerStateProperState(efitick_t nowNt, size_t triggerStateIndex) override
OneCylinder cylinders[MAX_CYLINDER_COUNT]
SoftSparkLimiter hardSparkLimiter
void updateSwitchInputs()
constexpr auto & module()
ShiftTorqueReductionController shiftTorqueReductionController
std::function< void(const IgnitionEvent &, efitick_t)> onScheduleOverFireSparkAndPrepareNextSchedule
std::function< void(const IgnitionEvent &, efitick_t, angle_t, efitick_t)> onScheduleTurnSparkPinHighStartCharging
void OnTriggerSynchronizationLost() override
type_list< Mockable< InjectorModelPrimary >, Mockable< InjectorModelSecondary >,#if EFI_IDLE_CONTROL Mockable< IdleController >,#endif TriggerScheduler,#if EFI_HPFP &&EFI_ENGINE_CONTROL Mockable< HpfpController >,#endif #if EFI_ENGINE_CONTROL Mockable< ThrottleModel >,#endif #if EFI_ALTERNATOR_CONTROL AlternatorController,#endif MainRelayController, Mockable< IgnitionController >, Mockable< AcController >, PrimeController, DfcoController,#if EFI_HD_ACR HarleyAcr,#endif Mockable< WallFuelController >, KnockController, SensorChecker,#if EFI_ENGINE_CONTROL Mockable< LimpManager >,#endif #if EFI_VVT_PID VvtController1, VvtController2, VvtController3, VvtController4,#endif #if EFI_BOOST_CONTROL BoostController,#endif TpsAccelEnrichment,#if EFI_LAUNCH_CONTROL NitrousController,#endif #if EFI_LTFT_CONTROL LongTermFuelTrim,#endif ShortTermFuelTrim,#include "modules_list_generated.h" EngineModule > engineModules
StartStopState startStopState
static EngineAccessor engine
void unlockEcu(int password)
void prepareOutputSignals()
static constexpr Engine * engine_ptr
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.
triggerStateIndex("triggerStateIndex", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1584, 1.0, -1.0, -1.0, "")
constexpr Engine const * operator->() const
constexpr Engine * operator->()