资源描述:
《STM32下地PT100驱动程序,适用于ucos系统》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实用标准文档/***********************************************************************************************************文件名称:HAL_ADC.h*版本:*说明:***********************************************************************************************************///externunsignedshortintLED1_AdcValue;//ex
2、ternunsignedshortintLED2_AdcValue;//externunsignedshortintPTC100_AdcValue;externunsignedshortintTEST1_AdcValue;externunsignedshortintTEST2_AdcValue;/*提供给其他C文件调用的函数*/voidADC_ReadInit(void);voidAdcPro(void);/********************************************************************************
3、***************************文件名称:HAL_PT100.c*版本:*说明:PT100温度传感器驱动***********************************************************************************************************/#include"bsp.h"constunsignedshortintPT100_Table[]={8031,8070,8110,8150,8189,8229,8269,8308,8348,8387,/*-50------41℃
4、*/8427,8467,8506,8546,8585,8625,8664,8704,8743,8783,/*-40------31℃*/8822,8862,8901,8940,8980,9019,9059,9098,9137,9177,/*-30------21℃*/9216,9255,9295,9334,9373,9412,9452,9491,9530,9569,/*-20------11℃*/9609,9648,9687,9726,9765,9804,9844,9883,9922,9961,/*-10------1℃*/10000,10039,10078,101
5、17,10156,10195,10234,10273,10312,10351,/*0-----9℃*/文案大全实用标准文档10390,10429,10468,10507,10546,10585,10624,10663,10702,10740,/*10-----19℃*/10779,10818,10857,10896,10935,10973,11012,11051,11090,11129,/*20-----29℃*/11167,11206,11245,11283,11322,11361,11400,11438,11477,11515,/*30-----39℃*/115
6、54,11593,11631,11670,11708,11747,11786,11824,11863,11901,/*40-----49℃*/11940,11978,12017,12055,12094,12132,12171,12209,12247,12286,/*50-----59℃*/12324,12363,12401,12439,12478,12516,12554,12593,12631,12669,/*60-----69℃*/12708,12746,12784,12822,12861,12899,12937,12975,13013,13052,/*70---
7、--79℃*/13090,13128,13166,13204,13242,13280,13318,13357,13395,13433,/*80-----89℃*/13471,13509,13547,13585,13623,13661,13699,13737,13775,13813,/*90-----99℃*/13851,13888,13926,13964,14002,14040,14078,14116,14154,14191,/*100-----109℃*/14229,14267,14305,14343,14308,14418,14456,14494,14531