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

20 lines
713 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/*
* @file advance_map.h
*
* @date Mar 27, 2013
2020-01-13 18:57:43 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2019-11-14 21:00:13 -08:00
#pragma once
2015-07-10 06:01:56 -07:00
#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);
size_t getMultiSparkCount(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX);