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);
|
2015-07-10 06:01:56 -07:00
|
|
|
void startIdleThread(Logging*sharedLogger, Engine *engine);
|
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);
|
|
|
|
void setIdlePFactor(float value);
|
|
|
|
void setIdleIFactor(float value);
|
|
|
|
void setIdleDFactor(float value);
|
2017-01-06 14:01:28 -08:00
|
|
|
void setIdleControlEnabled(int value);
|
|
|
|
void setTargetIdleRpm(int value);
|
|
|
|
void setIdleDT(int value);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#endif /* IDLE_THREAD_H_ */
|