rusEFI
The most advanced open source ECU
settings.h
Go to the documentation of this file.
1 /**
2  * @file settings.h
3  * @brief This file is about configuring engine via the human-readable protocol
4  *
5  * @date Dec 30, 2012
6  * @author Andrey Belomutskiy, (c) 2012-2020
7  */
8 
9 #pragma once
10 
11 void initSettings();
12 void printSpiState();
13 void printConfiguration();
14 void scheduleStopEngine();
15 
16 void setEngineTypeAndSave(int value);
17 void setEngineType(int value, bool isWriteToFlash = true);
18 void readPin(const char *pinName);
19 
20 void printDateTime();
21 void setDateTime(const char * const isoDateTime);
void printSpiState()
Definition: settings.cpp:44
void readPin(const char *pinName)
Definition: settings.cpp:201
void initSettings()
Definition: settings.cpp:629
void printConfiguration()
Prints current engine configuration to human-readable console.
Definition: settings.cpp:55
void scheduleStopEngine()
Definition: settings.cpp:456
void setEngineTypeAndSave(int value)
Definition: settings.cpp:725
void printDateTime()
Definition: settings.cpp:688
void setEngineType(int value, bool isWriteToFlash=true)
Definition: settings.cpp:729
void setDateTime(const char *const isoDateTime)
Definition: settings.cpp:696