rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions
engine_state.h File Reference

Detailed Description

One header which acts as gateway to current engine state.

Date
Dec 20, 2013
Author
Andrey Belomutskiy, (c) 2012-2020

Definition in file engine_state.h.

Data Structures

class  EngineState
 

Functions

EngineStategetEngineState ()
 
bool getClutchDownState ()
 
bool getBrakePedalState ()
 

Function Documentation

◆ getBrakePedalState()

bool getBrakePedalState ( )

Definition at line 243 of file engine.cpp.

243 {
244#if EFI_GPIO_HARDWARE
247 }
248#endif // EFI_GPIO_HARDWARE
249 // todo: boolean sensors should leverage sensor framework #6342
251}
EngineState engineState
Definition engine.h:344
static EngineAccessor engine
Definition engine.h:413
static constexpr engine_configuration_s * engineConfiguration
bool efiReadPin(brain_pin_e pin)
Definition io_pins.cpp:89
bool isBrainPinValid(brain_pin_e brainPin)

Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getClutchDownState()

bool getClutchDownState ( )

Definition at line 223 of file engine.cpp.

223 {
224#if EFI_GPIO_HARDWARE
227 }
228#endif // EFI_GPIO_HARDWARE
229 // todo: boolean sensors should leverage sensor framework #6342
231}

Referenced by LaunchControlBase::isInsideSwitchCondition(), and Engine::updateSwitchInputs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEngineState()

EngineState * getEngineState ( )

Go to the source code of this file.