Instances of this class handle storing and computing values for a Panasonic ERTJV1G thermistor. More...
#include <core/DspThermERTJV1G.h>
Public Member Functions | |
tcDspThermERTJV1G (float anVref, unsigned int anAdcBits, float anFeedbackR, float anBeta=gnERTJV1G_Beta) | |
This constructor is used to initialize the derived tcDspThermBase class for use with ERTJV1G thermistors. | |
~tcDspThermERTJV1G () | |
Default Destructor. | |
Public Member Functions inherited from MityDSP::tcDspThermBase | |
tcDspThermBase (float anVref, unsigned int anAdcBits, float anFeedbackR, float anBeta) | |
This constructor is used to initialize the thermistor base class. | |
virtual | ~tcDspThermBase () |
Destructor. | |
virtual void | SetSensorVal (unsigned short anVal) |
This routine updates the sensor's current value, and computes the matching temperature. | |
virtual float | GetSensorTemp (void) |
This routine returns a given sensor's current temperature, in deg-C. | |
virtual void | GetThermoParams (float &arT0, float &arRt0, float &arVin) |
This routine returns the current constants in use by the Thermistor derived class. | |
virtual bool | SetThermoParams (float anT0=0.0f, float anRt0=0.0f, float anVin=0.0f) |
This routine may be used to update the constants in use by the Thermistor derived class. |
Additional Inherited Members | |
Static Public Attributes inherited from MityDSP::tcDspThermBase | |
static const int | gnKelvinToCentigrade = 273 |
Conversion from deg-K to deg-C. | |
Protected Attributes inherited from MityDSP::tcDspThermBase | |
SEM_Handle | mhMutex |
Serial access across threads. | |
unsigned int | mnAdcSteps |
ADC data range. | |
float | mnVReference |
Reference voltage. | |
float | mnFeebackR |
feedback resistor value (ohms) | |
float | mnBeta |
thermistor beta value | |
unsigned short | mnAdcCount |
last-known ADC count | |
float | mnTempDegC |
last computed temperature (deg-C) | |
float | mnT0 |
Temperature T0 (in deg-K) | |
float | mnRt0 |
Resistance @ T0. | |
float | mnVin |
Thermistor input voltage. |
Instances of this class handle storing and computing values for a Panasonic ERTJV1G thermistor.
tcDspThermERTJV1G::tcDspThermERTJV1G | ( | float | anVref, |
unsigned int | anAdcBits, | ||
float | anFeedbackR, | ||
float | anBeta = gnERTJV1G_Beta |
||
) |
This constructor is used to initialize the derived tcDspThermBase class for use with ERTJV1G thermistors.
[in] | anVref | Reference voltage for the thermistor. |
[in] | anAdcBits | Number of bits returned by ADC. |
[in] | anFeedbackR | Feedback resistor value. |
[in] | anBeta | Thermistor Beta value. |
tcDspThermERTJV1G::~tcDspThermERTJV1G | ( | ) |
Default Destructor.