2015-07-10 06:01:56 -07:00
|
|
|
|
/**
|
|
|
|
|
* @file maf.h
|
|
|
|
|
* @brief
|
|
|
|
|
*
|
|
|
|
|
* by the way 2.081989116 kg/h = 1 ft<EFBFBD>/m
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @date Nov 15, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef MAF_H_
|
|
|
|
|
#define MAF_H_
|
|
|
|
|
|
2018-09-16 19:26:57 -07:00
|
|
|
|
#include "global.h"
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
|
|
#define getMafT(ec) (getVoltageDivided("maf", ec->mafAdcChannel))
|
2017-05-15 20:33:22 -07:00
|
|
|
|
float getMaf(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
|
bool hasMafSensor(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
|
float getRealMaf(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
|
|
void setBosch0280218037(persistent_config_s *engineConfiguration);
|
|
|
|
|
void setBosch0280218004(persistent_config_s *engineConfiguration);
|
|
|
|
|
|
|
|
|
|
void setDensoTODO(persistent_config_s *engineConfiguration);
|
|
|
|
|
void setMazdaMiataNAMaf(persistent_config_s *e);
|
|
|
|
|
|
|
|
|
|
#endif
|