fome-fw/firmware/controllers/sensors/maf2map.h

21 lines
396 B
C
Raw Normal View History

2018-01-20 11:53:58 -08:00
/*
* @file maf2map.h
*
2019-01-12 22:53:58 -08:00
* @author Andrey Belomutskiy, (c) 2012-2019
2018-01-20 11:53:58 -08:00
* @date Jan 20, 2018
*/
#ifndef CONTROLLERS_SENSORS_MAF2MAP_H_
#define CONTROLLERS_SENSORS_MAF2MAP_H_
2019-01-12 22:53:58 -08:00
#include "table_helper.h"
2018-01-20 11:53:58 -08:00
2019-01-12 22:53:58 -08:00
#define ASIZE 16
2018-01-20 11:53:58 -08:00
2019-06-10 09:38:32 -07:00
typedef Map3D<ASIZE, ASIZE, float, float> maf2map_Map3D_t;
2018-01-20 11:53:58 -08:00
2019-01-12 22:53:58 -08:00
void initMaf2Map();
float estimateMapByRpmAndMaf(int rpm, float maf);
2018-01-20 11:53:58 -08:00
#endif /* CONTROLLERS_SENSORS_MAF2MAP_H_ */