rusEFI
The most advanced open source ECU
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
initStartStopButton
();
ButtonDebounce
Definition:
debounce.h:15
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 Sun Oct 6 2024 00:08:43 for rusEFI by
1.9.1