◆ disengageStarterIfNeeded()
static void disengageStarterIfNeeded |
( |
| ) |
|
|
static |
Definition at line 35 of file start_stop.cpp.
39 if (wasStarterEngaged) {
40 efiPrintf(
"Engine runs we can disengage the starter");
45 if (wasStarterEngaged) {
RpmCalculator rpmCalculator
StartStopState startStopState
RegisteredOutputPin starterControl
bool getAndSet(int logicValue)
engine_configuration_s * engineConfiguration
Timer startStopStateLastPush
uint16_t startCrankingDuration
Referenced by slowStartStopButtonCallback().
◆ initStartStopButton()
void initStartStopButton |
( |
| ) |
|
See test_start_stop.cpp
Definition at line 11 of file start_stop.cpp.
ButtonDebounce startStopButtonDebounce
bool startRequestPinInverted
pin_input_mode_e startStopButtonMode
switch_input_pin_e startStopButtonPin
Referenced by startHardware().
◆ isCrankingSuppressed()
PUBLIC_API_WEAK bool isCrankingSuppressed |
( |
| ) |
|
◆ onStartStopButtonToggle()
static void onStartStopButtonToggle |
( |
| ) |
|
|
static |
Definition at line 19 of file start_stop.cpp.
24 if (!wasStarterEngaged) {
26 efiPrintf(
"Let's crank this engine for up to %d seconds via %s!",
bool isStopped() const override
const char * hwPortname(brain_pin_e brainPin)
void doScheduleStopEngine()
output_pin_e starterControlPin
uint32_t startStopStateToggleCounter
Referenced by slowStartStopButtonCallback().
◆ slowStartStopButtonCallback()
void slowStartStopButtonCallback |
( |
| ) |
|
Definition at line 56 of file start_stop.cpp.
94 if (isStarterEngaged) {
SwitchedState brakePedalSwitchedState
bool getLogicValue() const
startStopState("startStopState", SensorCategory.SENSOR_INPUTS, FieldType.INT8, 1165, 1.0, -1.0, -1.0, "")
static void onStartStopButtonToggle()
PUBLIC_API_WEAK bool isCrankingSuppressed()
static void disengageStarterIfNeeded()
Timer timeSinceIgnitionPower
bool requireFootOnBrakeToCrank
uint16_t startButtonSuppressOnStartUpMs
bool startStopPhysicalState
Referenced by doPeriodicSlowCallback().
Go to the source code of this file.