rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
gc_generic.h
Go to the documentation of this file.
1#pragma once
2
3#include "gear_controller.h"
4#include "gc_auto.h"
5
6#if EFI_TCU
8public:
10
11 void update();
12 void init();
16private:
19 bool isNearest(float value, int pinIndex, float* rangeStates);
20 SensorType getAnalogSensorType(int zeroBasedSensorIndex);
21};
22
24#endif // EFI_TCU
bool isNearest(float value, int pinIndex, float *rangeStates)
GearControllerMode getMode() const
Definition gc_generic.h:13
SelectedGear lastRange
Definition gc_generic.h:18
SensorType getAnalogSensorType(int zeroBasedSensorIndex)
GenericGearController * getGenericGearController()
SelectedGear
GearControllerMode
SensorType
Definition sensor_type.h:18