2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file idle_thread.h
|
|
|
|
* @brief Idle Valve Control thread
|
|
|
|
*
|
|
|
|
* @date May 23, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef IDLE_THREAD_H_
|
|
|
|
#define IDLE_THREAD_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
2015-10-18 11:01:37 -07:00
|
|
|
percent_t getIdlePosition(void);
|
2017-01-06 14:01:28 -08:00
|
|
|
void setIdleValvePosition(int positionPercent);
|
2017-04-29 18:16:26 -07:00
|
|
|
void startIdleThread(Logging*sharedLogger);
|
2015-10-19 19:02:51 -07:00
|
|
|
void setDefaultIdleParameters(void);
|
2016-12-26 18:04:16 -08:00
|
|
|
void startIdleBench(void);
|
2017-01-06 13:03:41 -08:00
|
|
|
void setIdleDT(int value);
|
2017-05-22 20:25:34 -07:00
|
|
|
void setIdleOffset(float value);
|
2017-01-06 13:03:41 -08:00
|
|
|
void setIdlePFactor(float value);
|
|
|
|
void setIdleIFactor(float value);
|
|
|
|
void setIdleDFactor(float value);
|
2017-05-16 17:52:52 -07:00
|
|
|
void setIdleMode(idle_mode_e value);
|
2017-01-06 14:01:28 -08:00
|
|
|
void setTargetIdleRpm(int value);
|
|
|
|
void setIdleDT(int value);
|
2017-05-28 10:44:26 -07:00
|
|
|
void onConfigurationChangeIdleCallback(engine_configuration_s *previousConfiguration);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#endif /* IDLE_THREAD_H_ */
|