65#if ROTATIONAL_IDLE_CONTROLLER
75static_assert(MAX_CYLINDER_COUNT > 0);
78#error EFI_UNIT_TEST must be defined!
82#error EFI_SIMULATOR must be defined!
86#error EFI_PROD_CODE must be defined!
91#define MAF_DECODING_CACHE_SIZE 256
93#define MAF_DECODING_CACHE_MULT (MAF_DECODING_CACHE_SIZE / 5.0)
101#define CLEANUP_MODE_TPS 90
102#define STEPPER_PARKING_TPS CLEANUP_MODE_TPS
129#if EFI_ELECTRONIC_THROTTLE_BODY
142#if EFI_ENGINE_CONTROL
154#if EFI_HPFP && EFI_ENGINE_CONTROL
157#if EFI_ENGINE_CONTROL
160#if EFI_ALTERNATOR_CONTROL
174#if EFI_ENGINE_CONTROL
187#if EFI_LAUNCH_CONTROL
203 template<
typename get_t>
208 template<
typename get_t>
223#if EFI_LAUNCH_CONTROL
231#if EFI_ANTILAG_SYSTEM
235#if EFI_ANTILAG_SYSTEM
239#if EFI_SHAFT_POSITION_INPUT
243#if ROTATIONAL_IDLE_CONTROLLER
250#if EFI_SHAFT_POSITION_INPUT
277#if EFI_SIGNAL_EXECUTOR_ONE_TIMER
281#if EFI_SIGNAL_EXECUTOR_SLEEP
295#if EFI_ENGINE_CONTROL
302#if EFI_ELECTRONIC_THROTTLE_BODY
325#if EFI_SHAFT_POSITION_INPUT
418 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
RotationalIdle rotationalIdleController
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, 1600, 1.0, -1.0, -1.0, "")
constexpr Engine const * operator->() const
constexpr Engine * operator->()