ConOpSys data type definitions header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
Negative temperature coefficient thermistor (NTC) class.
Definition: NTCT_Sensor.h:74
TNTC_Value
NTC base resistance ebuneration.
Definition: NTCT_Sensor.h:100
@ enum_10000_Ohm
Base resistance 10kOhm.
Definition: NTCT_Sensor.h:103
BOOL Temperature_To_Resistance(F32 *f32_Resistance, F32 f32_Temperature, TNTC_Scala enum_NTC_Scala, TNTC_Value enum_NTC_Value)
The function calculates the electrical resistance of NTC at given temperature and defined resistance ...
Definition: NTCT_Sensor.cpp:204
BOOL Get_Base_Resistance(F32 *f32_Base_Resistance, TNTC_Value enum_NTC_Value)
The function returns base electrical resistance in ohms.
Definition: NTCT_Sensor.cpp:68
TNTC_Scala
NTC temperature scale enumeration.
Definition: NTCT_Sensor.h:88
@ enum_B25_100_3900
B25/100 B=3900 scala.
Definition: NTCT_Sensor.h:94
@ enum_B25_100_3988
B25/100 B=3988 scala.
Definition: NTCT_Sensor.h:91
BOOL Get_Scala_Coefficients(F32 *f32_Betta, F32 *f32_Base_Temperature, TNTC_Scala enum_NTC_Scala)
The function returns base electrical resistance in ohms.
Definition: NTCT_Sensor.cpp:125
BOOL Resistance_To_Temperature(F32 *f32_Temperature, F32 f32_Resistance, TNTC_Scala enum_NTC_Scala, TNTC_Value enum_NTC_Value)
The function calculates temperature by given electrical resistance of a NTC sensor.
Definition: NTCT_Sensor.cpp:221
BOOL Time_To_Temperature(F32 *f32_Temperature, F32 f32_Charging_Time, TNTC_Scala enum_NTC_Scala, TNTC_Value enum_NTC_Value, F32 f32_Relative_Reference_Voltage, F32 f32_Capacitance)
The function calculates temperature by given charging time.
Definition: NTCT_Sensor.cpp:348