rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
sensors
converters
input_shaft_speed_converter.h
Go to the documentation of this file.
1
#include "
pch.h
"
2
#include "
sensor_converter_func.h
"
3
4
class
InputShaftSpeedConverter
:
public
SensorConverter
{
5
public
:
6
SensorResult
convert
(
float
frequency
)
const override
{
7
return
frequency
* 60 /
engineConfiguration
->
tcuInputSpeedSensorTeeth
;
8
}
9
};
InputShaftSpeedConverter
Definition
input_shaft_speed_converter.h:4
InputShaftSpeedConverter::convert
SensorResult convert(float frequency) const override
Definition
input_shaft_speed_converter.h:6
engineConfiguration
static constexpr engine_configuration_s * engineConfiguration
Definition
engine_configuration.h:80
frequency
static float frequency
Definition
init_flex.cpp:21
pch.h
SensorResult
expected< float > SensorResult
Definition
sensor.h:46
sensor_converter_func.h
SensorConverter
Definition
sensor_converter_func.h:5
engine_configuration_s::tcuInputSpeedSensorTeeth
uint8_t tcuInputSpeedSensorTeeth
Definition
engine_configuration_generated_structures_alphax-2chan.h:2132
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8