10#if EFI_SHAFT_POSITION_INPUT
21 if (!wasStarterEngaged) {
23 efiPrintf(
"Let's crank this engine for up to %d seconds via %s!",
43 if (wasStarterEngaged) {
44 efiPrintf(
"Engine runs we can disengage the starter");
49 if (wasStarterEngaged) {
98 if (isStarterEngaged) {
SwitchedState brakePedalSwitchedState
RpmCalculator rpmCalculator
StartStopState startStopState
RegisteredOutputPin starterControl
bool getLogicValue() const
bool getAndSet(int logicValue)
bool isStopped() const override
static Engine *const engine
static constexpr engine_configuration_s * engineConfiguration
const char * hwPortname(brain_pin_e brainPin)
startStopState("startStopState", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1304, 1.0, -1.0, -1.0, "")
void doScheduleStopEngine(StopRequestedReason reason)
static void onStartStopButtonToggle()
PUBLIC_API_WEAK bool isCrankingSuppressed()
static void disengageStarterIfNeeded()
void slowStartStopButtonCallback()
void initStartStopButton()
Timer timeSinceIgnitionPower
ButtonDebounce startStopButtonDebounce
Timer startStopStateLastPush
bool startRequestPinInverted
bool requireFootOnBrakeToCrank
uint16_t startCrankingDuration
pin_input_mode_e startStopButtonMode
output_pin_e starterControlPin
uint16_t startButtonSuppressOnStartUpMs
switch_input_pin_e startStopButtonPin
bool startStopPhysicalState
uint32_t startStopStateToggleCounter