rusefi-1/firmware/controllers/sensors/maf.h

29 lines
659 B
C
Raw Normal View History

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
2015-12-31 13:02:30 -08:00
* @author Andrey Belomutskiy, (c) 2012-2016
2015-07-10 06:01:56 -07:00
*/
#ifndef MAF_H_
#define MAF_H_
#include "main.h"
#define getMafT(ec) (getVoltageDivided("maf", ec->mafAdcChannel))
2016-08-26 16:02:56 -07:00
float getMaf(DECLARE_ENGINE_PARAMETER_F);
2016-01-11 14:01:33 -08:00
bool hasMafSensor(DECLARE_ENGINE_PARAMETER_F);
2015-07-10 06:01:56 -07:00
float getRealMaf(DECLARE_ENGINE_PARAMETER_F);
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