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 253 of file engine.cpp.

253 {
254#if EFI_GPIO_HARDWARE
257 }
258#endif // EFI_GPIO_HARDWARE
259 // todo: boolean sensors should leverage sensor framework #6342
261}
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 233 of file engine.cpp.

233 {
234#if EFI_GPIO_HARDWARE
237 }
238#endif // EFI_GPIO_HARDWARE
239 // todo: boolean sensors should leverage sensor framework #6342
241}

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.