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
|
2015-12-31 13:02:30 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INJECTOR_CONTROL_H_
|
|
|
|
#define INJECTOR_CONTROL_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
|
|
|
void initSettings(engine_configuration_s *engineConfiguration);
|
|
|
|
void printSpiState(Logging *logger, board_configuration_s *boardConfiguration);
|
|
|
|
void printConfiguration(engine_configuration_s *engineConfiguration);
|
|
|
|
void stopEngine(void);
|
|
|
|
void setEngineType(int value);
|
|
|
|
const char* getConfigurationName(engine_type_e engineType);
|
|
|
|
|
|
|
|
#endif /* INJECTOR_CONTROL_H_ */
|