10 #if EFI_SHAFT_POSITION_INPUT
24 if (!wasStarterEngaged) {
26 efiPrintf(
"Let's crank this engine for up to %d seconds via %s!",
39 if (wasStarterEngaged) {
40 efiPrintf(
"Engine runs we can disengage the starter");
45 if (wasStarterEngaged) {
94 if (isStarterEngaged) {
SwitchedState brakePedalSwitchedState
RpmCalculator rpmCalculator
StartStopState startStopState
RegisteredOutputPin starterControl
bool getLogicValue() const
bool getAndSet(int logicValue)
bool isStopped() const override
engine_configuration_s * engineConfiguration
const char * hwPortname(brain_pin_e brainPin)
startStopState("startStopState", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1169, 1.0, -1.0, -1.0, "")
void doScheduleStopEngine()
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