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

Functions

void initFuelLevel ()
 

Variables

static FuelLevelSensor fuelSensor (SensorType::FuelLevel, MS2NT(500))
 

Function Documentation

◆ initFuelLevel()

void initFuelLevel ( )

Definition at line 8 of file init_fuel_level.cpp.

8 {
10
12 return;
13 }
14
15 // noisy data from fuel tank slosh is handled on an higher level
16 AdcSubscription::SubscribeSensor(fuelSensor, channel, /*lowpassCutoff =*/ 100);
18}
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)
bool Register()
Definition sensor.cpp:131
static constexpr engine_configuration_s * engineConfiguration
static FuelLevelSensor fuelSensor(SensorType::FuelLevel, MS2NT(500))

Referenced by initNewSensors().

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

Variable Documentation

◆ fuelSensor

FuelLevelSensor fuelSensor(SensorType::FuelLevel, MS2NT(500)) ( SensorType::FuelLevel  ,
MS2NT(500)   
)
static

Referenced by initFuelLevel().

Go to the source code of this file.