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

Functions

void initVehicleSpeedSensor ()
 
void deInitVehicleSpeedSensor ()
 

Variables

FrequencySensor vehicleSpeedSensor (SensorType::VehicleSpeed, MS2NT(500))
 
static VehicleSpeedConverter vehicleSpeedConverter
 

Function Documentation

◆ deInitVehicleSpeedSensor()

void deInitVehicleSpeedSensor ( )

Definition at line 23 of file init_vehicle_speed_sensor.cpp.

23 {
25}
FrequencySensor vehicleSpeedSensor(SensorType::VehicleSpeed, MS2NT(500))

Referenced by stopSensors().

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

◆ initVehicleSpeedSensor()

void initVehicleSpeedSensor ( )

Definition at line 11 of file init_vehicle_speed_sensor.cpp.

11 {
13
14 if (parameter < VSS_FILTER_MIN || parameter > VSS_FILTER_MAX) {
15 parameter = VSS_FILTER_MIN;
16 }
17
18 float filterParameter = 1.0f / parameter;
19
21}
void initIfValid(brain_pin_e pin, SensorConverter &converter, float filterParameter)
static constexpr engine_configuration_s * engineConfiguration
static VehicleSpeedConverter vehicleSpeedConverter

Referenced by sensorStartUpOrReconfiguration().

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

Variable Documentation

◆ vehicleSpeedConverter

VehicleSpeedConverter vehicleSpeedConverter
static

Definition at line 9 of file init_vehicle_speed_sensor.cpp.

Referenced by initVehicleSpeedSensor().

◆ vehicleSpeedSensor

FrequencySensor vehicleSpeedSensor(SensorType::VehicleSpeed, MS2NT(500)) ( SensorType::VehicleSpeed  ,
MS2NT(500)   
)

Go to the source code of this file.