precision-converters-firmware
Classes | Public Member Functions | Static Public Member Functions | List of all members
Thermocouple Class Referenceabstract

#include <thermocouple.h>

Inheritance diagram for Thermocouple:
Inheritance graph
[legend]

Classes

struct  thermocouple_poly_subrange
 

Public Member Functions

 Thermocouple ()
 
virtual ~Thermocouple ()
 
virtual float convert (float voltage)=0
 
virtual float convert_inv (float temp)=0
 
virtual float lookup (float voltage)=0
 
virtual float lookup_inv (float temp)=0
 

Static Public Member Functions

static float convert (float voltage, const thermocouple_poly_subrange range[], const int n)
 
static float lookup (const int32_t *lut, float voltage, uint16_t size, int16_t offset)
 

Constructor & Destructor Documentation

◆ Thermocouple()

Thermocouple::Thermocouple ( )

◆ ~Thermocouple()

virtual Thermocouple::~Thermocouple ( )
virtual

Member Function Documentation

◆ convert() [1/2]

virtual float Thermocouple::convert ( float  voltage)
pure virtual

◆ convert() [2/2]

static float Thermocouple::convert ( float  voltage,
const thermocouple_poly_subrange  range[],
const int  n 
)
static

◆ convert_inv()

virtual float Thermocouple::convert_inv ( float  temp)
pure virtual

◆ lookup() [1/2]

static float Thermocouple::lookup ( const int32_t *  lut,
float  voltage,
uint16_t  size,
int16_t  offset 
)
static

◆ lookup() [2/2]

virtual float Thermocouple::lookup ( float  voltage)
pure virtual

◆ lookup_inv()

virtual float Thermocouple::lookup_inv ( float  temp)
pure virtual

The documentation for this class was generated from the following file: