rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
thermistors.h
Go to the documentation of this file.
1/**
2 * @file thermistors.h
3 *
4 * @date Feb 17, 2013
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8#pragma once
9
10#define KELV 273.15f
11
12/**
13 * converts Kelvin temperature into Celsius temperature
14 */
15#define convertKelvinToCelcius(tempK) ((tempK) - KELV)
16#define convertCelsiusToKelvin(tempC) ((tempC) + KELV)
17
18void setAtSensor(ThermistorConf *thermistorConf,
19 float tempLow, float rLow,
20 float tempMid, float rMid,
21 float tempHigh, float rHigh);
22
24void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup);
25void setGmCltSensor(ThermistorConf *thermistorConf);
26void setDodgeSensor(ThermistorConf *thermistorConf, float pullup);
27
void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup)
void setAtSensor(ThermistorConf *thermistorConf, float tempLow, float rLow, float tempMid, float rMid, float tempHigh, float rHigh)
void setCommonNTCSensorParameters(ThermistorConf *thermistorConf)
void setGmCltSensor(ThermistorConf *thermistorConf)
void setDodgeSensor(ThermistorConf *thermistorConf, float pullup)