2015-07-10 06:01:56 -07:00
|
|
|
/*
|
|
|
|
* @file advance_map.h
|
|
|
|
*
|
|
|
|
* @date Mar 27, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ADVANCE_H_
|
|
|
|
#define ADVANCE_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
2017-05-15 20:33:22 -07:00
|
|
|
angle_t getAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
|
|
void setDefaultIatTimingCorrection(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
void prepareTimingMap(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
2015-12-24 11:02:03 -08:00
|
|
|
float getTopAdvanceForBore(chamber_style_e style, int octane, double compression, double bore);
|
2015-12-31 10:02:19 -08:00
|
|
|
float getInitialAdvance(int rpm, float map, float advanceMax);
|
2017-05-15 20:33:22 -07:00
|
|
|
void buildTimingMap(float advanceMax DECLARE_ENGINE_PARAMETER_SUFFIX);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#endif /* ADVANCE_H_ */
|