rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
development
engine_emulator.cpp
Go to the documentation of this file.
1
/**
2
* @file engine_emulator.cpp
3
* @brief Entry point for all the emulation and analysis code
4
*
5
* there is a chance that 90% of the code here is dead
6
*
7
* @date Mar 15, 2013
8
* @author Andrey Belomutskiy, (c) 2012-2020
9
*/
10
11
#include "
pch.h
"
12
#include "
engine_emulator.h
"
13
14
#include "
poten.h
"
15
#include "
trigger_emulator_algo.h
"
16
17
void
initEngineEmulator
() {
18
if
(hasFirmwareError())
19
return
;
20
21
#if EFI_POTENTIOMETER && HAL_USE_SPI
22
initPotentiometers
();
23
#endif
/* EFI_POTENTIOMETER && HAL_USE_SPI*/
24
25
#if EFI_EMULATE_POSITION_SENSORS
26
initTriggerEmulator
();
27
#endif
// EFI_EMULATE_POSITION_SENSORS
28
}
initEngineEmulator
void initEngineEmulator()
Definition
engine_emulator.cpp:17
engine_emulator.h
pch.h
initPotentiometers
void initPotentiometers()
Definition
poten.cpp:90
poten.h
MCP42010 digital potentiometer driver.
initTriggerEmulator
void initTriggerEmulator()
Definition
trigger_emulator_algo.cpp:239
trigger_emulator_algo.h
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8