2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file engine_controller.h
|
|
|
|
* @brief Controllers package entry point header
|
|
|
|
*
|
|
|
|
* @date Feb 7, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ENGINE_STATUS_H_
|
|
|
|
#define ENGINE_STATUS_H_
|
|
|
|
|
|
|
|
#include "global.h"
|
|
|
|
#include "signal_executor.h"
|
|
|
|
#include "engine_configuration.h"
|
|
|
|
#include "engine.h"
|
|
|
|
|
2016-12-27 11:04:04 -08:00
|
|
|
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer);
|
2017-05-15 20:33:22 -07:00
|
|
|
void initPeriodicEvents(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
|
|
void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2017-11-27 18:10:49 -08:00
|
|
|
void setMockVBattVoltage(float voltage);
|
2017-11-27 18:15:08 -08:00
|
|
|
void setMockMapVoltage(float voltage);
|
2017-11-27 18:10:49 -08:00
|
|
|
void setMockTpsVoltage(float voltage);
|
|
|
|
void setMockAfrVoltage(float voltage);
|
|
|
|
void setMockMafVoltage(float voltage);
|
|
|
|
void setMockIatVoltage(float voltage);
|
|
|
|
void setMockCltVoltage(float voltage);
|
2017-01-06 07:04:41 -08:00
|
|
|
|
2019-01-11 16:08:15 -08:00
|
|
|
void printCurrentState(Logging *logging, int seconds, const char *name);
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
#endif /* ENGINE_STATUS_H_ */
|