rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
init_maf.cpp File Reference

Typedefs

using BinType = std::remove_extent_t< decltype(config->mafDecodingBins)>
 
using ValueType = std::remove_extent_t< decltype(config->mafDecoding)>
 

Functions

static TableFunc mafCurve (config->mafDecodingBins, config->mafDecoding)
 
static void initMaf (adc_channel_e channel, FunctionalSensor &m)
 
void initMaf ()
 

Variables

static FunctionalSensor maf (SensorType::Maf, MS2NT(50))
 
static FunctionalSensor maf2 (SensorType::Maf2, MS2NT(50))
 
static FuncChain< MafVoltageCheck, MafTable, MafFilter > mafFunction
 

Typedef Documentation

◆ BinType

using BinType = std::remove_extent_t<decltype(config->mafDecodingBins)>

Definition at line 29 of file init_maf.cpp.

◆ ValueType

using ValueType = std::remove_extent_t<decltype(config->mafDecoding)>

Definition at line 30 of file init_maf.cpp.

Function Documentation

◆ initMaf() [1/2]

void initMaf ( )

Definition at line 92 of file init_maf.cpp.

92 {
95}
static constexpr engine_configuration_s * engineConfiguration
static FunctionalSensor maf2(SensorType::Maf2, MS2NT(50))
static FunctionalSensor maf(SensorType::Maf, MS2NT(50))
void initMaf()
Definition init_maf.cpp:92

Referenced by initMaf(), and initNewSensors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initMaf() [2/2]

static void initMaf ( adc_channel_e  channel,
FunctionalSensor m 
)
static

Definition at line 81 of file init_maf.cpp.

81 {
83 return;
84 }
85
87
88 AdcSubscription::SubscribeSensor(m, channel, /*lowpassCutoff =*/ 50);
89 m.Register();
90}
bool isAdcChannelValid(adc_channel_e hwChannel)
Definition adc_inputs.h:23
uint16_t channel
Definition adc_inputs.h:104
static AdcSubscriptionEntry * SubscribeSensor(FunctionalSensorBase &sensor, adc_channel_e channel, float lowpassCutoffHZ, float voltsPerAdcVolt=0.0f)
void setFunction(ConverterType &func)
bool Register()
Definition sensor.cpp:131
static FuncChain< MafVoltageCheck, MafTable, MafFilter > mafFunction
Definition init_maf.cpp:79
Here is the call graph for this function:

◆ mafCurve()

static TableFunc mafCurve ( config->  mafDecodingBins,
config->  mafDecoding 
)
static

Variable Documentation

◆ maf

FunctionalSensor maf(SensorType::Maf, MS2NT(50)) ( SensorType::Maf  ,
MS2NT(50)   
)
static

◆ maf2

FunctionalSensor maf2(SensorType::Maf2, MS2NT(50)) ( SensorType::Maf2  ,
MS2NT(50)   
)
static

Referenced by MafAirmass::getMaf(), and initMaf().

◆ mafFunction

FuncChain<MafVoltageCheck, MafTable, MafFilter> mafFunction
static

Definition at line 79 of file init_maf.cpp.

Referenced by initMaf().

Go to the source code of this file.