Aleksandr Koptevtsov / arch_temp_stack
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TempBase.h Source File

TempBase.h

00001 #ifndef TEMPBASE_H
00002 #define TEMPBASE_H
00003 
00004 class TempBase
00005 {
00006   public:
00007     TempBase();
00008     TempBase(float);
00009     void Init();
00010     int GetRawTemp();
00011     float ConvertTemp(int);
00012     
00013     
00014   private:
00015     float ambientTemp;
00016     float v25;
00017     float avgSlope;
00018     float vRef;  
00019   
00020     ADC_HandleTypeDef hadc1;         // Declare main adc confic object
00021     ADC_ChannelConfTypeDef sConfig;  //Declare the ST HAL ADC object
00022 };
00023 
00024 #endif