rusEFI
The most advanced open source ECU
|
Controllers package entry point code.
This file is part of rusEfi - see http://rusefi.com
rusEfi is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file engine_controller.cpp.
Functions | |
void | initDataStructures () |
static void | doPeriodicSlowCallback () |
static void | resetAccel () |
void | initPeriodicEvents () |
char * | getPinNameByAdcChannel (const char *msg, adc_channel_e hwChannel, char *buffer, size_t bufferSize) |
static void | printSensorInfo () |
static void | getShort (int offset) |
static void | getByte (int offset) |
static void | setBit (const char *offsetStr, const char *bitStr, const char *valueStr) |
static void | setShort (const int offset, const int value) |
static void | setByte (const int offset, const int value) |
static void | getBit (int offset, int bit) |
static void | getInt (int offset) |
static void | setInt (const int offset, const int value) |
static void | getFloat (int offset) |
static void | setFloat (const char *offsetStr, const char *valueStr) |
static void | initConfigActions () |
void | commonInitEngineController () |
PUBLIC_API_WEAK bool | validateBoardConfig () |
static bool | validateGdi () |
bool | validateConfigOnStartUpOrBurn () |
void | commonEarlyInit () |
void | initRealHardwareEngineController () |
int | getRusEfiVersion () |
Variables | |
Engine ___engine | CCM_OPTIONAL |
Engine * | engine |
static PeriodicFastController | fastController |
static PeriodicSlowController | slowController |
static EngineStateBlinkingTask | engineStateBlinkingTask |
void commonEarlyInit | ( | ) |
Initialize hardware drivers
Definition at line 708 of file engine_controller.cpp.
Referenced by initEfiWithConfig().
void commonInitEngineController | ( | ) |
This has to go after 'enginePins.startPins()' in order to properly detect un-assigned output pins
Definition at line 388 of file engine_controller.cpp.
Referenced by initRealHardwareEngineController().
|
static |
Definition at line 181 of file engine_controller.cpp.
|
static |
this response is part of rusEfi console API
Definition at line 310 of file engine_controller.cpp.
Referenced by initConfigActions().
|
static |
this response is part of rusEfi console API
Definition at line 253 of file engine_controller.cpp.
Referenced by initConfigActions(), and setByte().
|
static |
this response is part of rusEfi console API
Definition at line 341 of file engine_controller.cpp.
Referenced by initConfigActions(), and setFloat().
|
static |
this response is part of rusEfi console API
Definition at line 321 of file engine_controller.cpp.
Referenced by initConfigActions(), and setInt().
char * getPinNameByAdcChannel | ( | const char * | msg, |
adc_channel_e | hwChannel, | ||
char * | buffer, | ||
size_t | bufferSize | ||
) |
Definition at line 214 of file engine_controller.cpp.
Referenced by AdcSubscription::PrintInfo(), and printMAPInfo().
int getRusEfiVersion | ( | ) |
See also SIGNATURE_HASH
Definition at line 766 of file engine_controller.cpp.
Referenced by errorHandlerInit(), errorHandlerWriteReportFile(), firmwareErrorV(), handleGetVersion(), printVersionForConsole(), readFromFlash(), sayHello(), and updateTunerStudioState().
|
static |
this response is part of rusEfi console API
Definition at line 242 of file engine_controller.cpp.
Referenced by initConfigActions(), and setShort().
|
static |
Definition at line 371 of file engine_controller.cpp.
Referenced by commonInitEngineController().
void initDataStructures | ( | ) |
Definition at line 104 of file engine_controller.cpp.
Referenced by runRusEfi().
void initPeriodicEvents | ( | ) |
Definition at line 209 of file engine_controller.cpp.
Referenced by runRusEfi().
void initRealHardwareEngineController | ( | ) |
Definition at line 744 of file engine_controller.cpp.
Referenced by initEfiWithConfig().
|
static |
Definition at line 229 of file engine_controller.cpp.
Referenced by commonInitEngineController().
|
static |
Definition at line 170 of file engine_controller.cpp.
Referenced by commonInitEngineController(), and doPeriodicSlowCallback().
this response is part of rusEfi console API
Definition at line 264 of file engine_controller.cpp.
Referenced by initConfigActions().
|
static |
Definition at line 301 of file engine_controller.cpp.
Referenced by initConfigActions().
Definition at line 352 of file engine_controller.cpp.
Referenced by initConfigActions().
|
static |
Definition at line 332 of file engine_controller.cpp.
Referenced by initConfigActions().
|
static |
Definition at line 292 of file engine_controller.cpp.
Referenced by initConfigActions().
PUBLIC_API_WEAK bool validateBoardConfig | ( | ) |
Definition at line 501 of file engine_controller.cpp.
Referenced by validateConfigOnStartUpOrBurn().
bool validateConfigOnStartUpOrBurn | ( | ) |
Definition at line 521 of file engine_controller.cpp.
Referenced by handleBurnCommand(), and initEfiWithConfig().
|
static |
Definition at line 505 of file engine_controller.cpp.
Referenced by validateConfigOnStartUpOrBurn().
Would love to pass reference to configuration object into constructor but C++ does allow attributes after parenthesized initializer
Definition at line 94 of file engine_controller.cpp.
Engine* engine |
Definition at line 98 of file engine_controller.cpp.
Referenced by commonInitEngineController(), doPeriodicSlowCallback(), initDataStructures(), and resetAccel().
|
static |
Definition at line 168 of file engine_controller.cpp.
Referenced by initRealHardwareEngineController().
|
static |
Definition at line 143 of file engine_controller.cpp.
Referenced by initPeriodicEvents().
|
static |
Definition at line 144 of file engine_controller.cpp.
Referenced by initPeriodicEvents().