rusefi-1/firmware/controllers/settings.h

25 lines
681 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file settings.h
* @brief This file is about configuring engine via the human-readable protocol
*
* @date Dec 30, 2012
2020-01-13 18:57:43 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2020-01-26 10:58:47 -08:00
#pragma once
2015-07-10 06:01:56 -07:00
#include "engine_configuration_generated_structures.h"
2015-07-10 06:01:56 -07:00
2017-05-07 17:40:10 -07:00
void initSettings(void);
void printSpiState(const engine_configuration_s *engineConfiguration);
2017-03-19 15:39:48 -07:00
void printConfiguration(const engine_configuration_s *engineConfiguration);
2019-01-05 20:33:04 -08:00
void scheduleStopEngine(void);
2017-07-25 18:59:20 -07:00
void setCallFromPitStop(int durationMs);
2019-04-29 22:21:09 -07:00
void printTPSInfo(void);
2021-07-14 21:25:41 -07:00
void setEngineType(int value DECLARE_ENGINE_PARAMETER_SUFFIX);
2018-04-01 20:28:42 -07:00
/**
* See also getEngine_type_e()
*/
2015-07-10 06:01:56 -07:00
const char* getConfigurationName(engine_type_e engineType);