stm32_ota/SYSTEM/STM32TEMP/stm32Temp.h

21 lines
977 B
C
Raw Permalink Normal View History

2023-12-15 06:28:06 +00:00
#ifndef __STM32TEMP_H
#define __STM32TEMP_H
#include "stm32f10x.h"
/********************<2A><>*********************<2A><>*******************************
* STM32<EFBFBD>ڲ<EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>ȴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD>ADC
****************************************************************************/
/********************************************************************************
*<EFBFBD>ڲ<EFBFBD>ʹ<EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*********************************************************************************/
uint16_t T_Get_Adc(uint8_t ch); //<2F><><EFBFBD><EFBFBD>ij<EFBFBD><C4B3>ͨ<EFBFBD><CDA8>ADֵ
uint16_t T_Get_Adc_Average(uint8_t ch, uint8_t times); //<2F>õ<EFBFBD>ij<EFBFBD><C4B3>ͨ<EFBFBD><CDA8>10<31>β<EFBFBD><CEB2><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ֵ
/********************************************************************************
*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿں<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*********************************************************************************/
extern short Get_Temprate(void) ; //<2F><>ȡ<EFBFBD>ڲ<EFBFBD><DAB2>¶ȴ<C2B6><C8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
extern void T_Adc_Init(void); //ADCͨ<43><CDA8><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>
#endif