rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
start_stop.h
Go to the documentation of this file.
1
// file start_stop.h
2
3
#pragma once
4
5
struct
StartStopState
{
6
ButtonDebounce
startStopButtonDebounce
{
"start_button"
};
7
Timer
timeSinceIgnitionPower
;
8
Timer
startStopStateLastPush
;
9
10
bool
isFirstTime
=
true
;
11
12
};
13
14
void
doStartCranking
();
15
void
startStopButtonToggle
();
16
void
initStartStopButton
();
ButtonDebounce
Definition
debounce.h:16
startStopButtonToggle
void startStopButtonToggle()
Definition
start_stop.cpp:29
doStartCranking
void doStartCranking()
Definition
start_stop.cpp:19
initStartStopButton
void initStartStopButton()
Definition
start_stop.cpp:11
StartStopState
Definition
start_stop.h:5
StartStopState::timeSinceIgnitionPower
Timer timeSinceIgnitionPower
Definition
start_stop.h:7
StartStopState::isFirstTime
bool isFirstTime
Definition
start_stop.h:10
StartStopState::startStopButtonDebounce
ButtonDebounce startStopButtonDebounce
Definition
start_stop.h:6
StartStopState::startStopStateLastPush
Timer startStopStateLastPush
Definition
start_stop.h:8
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8