fome-fw/firmware/controllers/algo/advance_map.h

22 lines
695 B
C
Raw Normal View History

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);
2019-01-10 20:48:05 -08:00
void initTimingMap(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);
void buildTimingMap(float advanceMax DECLARE_CONFIG_PARAMETER_SUFFIX);
angle_t getAdvanceCorrections(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX);
2015-07-10 06:01:56 -07:00
#endif /* ADVANCE_H_ */