28 lines
669 B
C
28 lines
669 B
C
/**
|
|
* @file idle_thread.h
|
|
* @brief Idle Valve Control thread
|
|
*
|
|
* @date May 23, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
*/
|
|
|
|
#ifndef IDLE_THREAD_H_
|
|
#define IDLE_THREAD_H_
|
|
|
|
#include "engine.h"
|
|
|
|
percent_t getIdlePosition(void);
|
|
void setIdleValvePosition(int positionPercent);
|
|
void startIdleThread(Logging*sharedLogger, Engine *engine);
|
|
void setDefaultIdleParameters(void);
|
|
void startIdleBench(void);
|
|
void setIdleDT(int value);
|
|
void setIdlePFactor(float value);
|
|
void setIdleIFactor(float value);
|
|
void setIdleDFactor(float value);
|
|
void setIdleControlEnabled(int value);
|
|
void setTargetIdleRpm(int value);
|
|
void setIdleDT(int value);
|
|
|
|
#endif /* IDLE_THREAD_H_ */
|