Mahesh Phalke / tempsensors_prv
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers rtd.h Source File

rtd.h

Go to the documentation of this file.
00001 /*!
00002  *****************************************************************************
00003   @file:  rtd.h
00004 
00005   @brief:
00006 
00007   @details:
00008  -----------------------------------------------------------------------------
00009  Copyright (c) 2018, 2020 Analog Devices, Inc.  All rights reserved.
00010 
00011  This software is proprietary to Analog Devices, Inc. and its licensors.
00012  By using this software you agree to the terms of the associated
00013  Analog Devices Software License Agreement.
00014 
00015 *****************************************************************************/
00016 
00017 
00018 #ifndef RTD_H_
00019 #define RTD_H_
00020 
00021 class RTD
00022 {
00023 public:
00024     /**
00025      * @brief converts a resistance to a temperature
00026      *
00027      * @param [in]  resistance - the resistance of the temperature sensor
00028      *
00029      * @return temperature
00030      */
00031     virtual float convertResistanceToTemperature(const float resistance) = 0;
00032 };
00033 
00034 #endif