2014-08-29 07:52:33 -07:00
|
|
|
/**
|
|
|
|
* @file settings.h
|
|
|
|
* @brief This file is about configuring engine via the human-readable protocol
|
|
|
|
*
|
|
|
|
* @date Dec 30, 2012
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INJECTOR_CONTROL_H_
|
|
|
|
#define INJECTOR_CONTROL_H_
|
|
|
|
|
2015-01-01 13:04:22 -08:00
|
|
|
#include "engine.h"
|
|
|
|
|
2014-09-20 11:03:33 -07:00
|
|
|
void initSettings(engine_configuration_s *engineConfiguration);
|
2015-01-01 13:04:22 -08:00
|
|
|
void printSpiState(Logging *logger, board_configuration_s *boardConfiguration);
|
2015-01-01 15:04:13 -08:00
|
|
|
void printConfiguration(engine_configuration_s *engineConfiguration);
|
2014-09-20 11:03:33 -07:00
|
|
|
|
2014-08-29 07:52:33 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
void setEngineType(int value);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* INJECTOR_CONTROL_H_ */
|