資源簡介
實現STM32F072采集多路DS18B20溫度傳感器的溫度信號,并用串口打印出實時溫度

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????ADC/ADC_LowPower/stm32f0xx_it.c?
??*?@author??MCD?Application?Team
??*?@version?V1.4.0
??*?@date????24-July-2014
??*?@brief???Main?Interrupt?Service?Routines.
??*??????????This?file?provides?template?for?all?exceptions?handler?and?
??*??????????peripherals?interrupt?service?routine.
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT?2014?STMicroelectronics
??*
??*?Licensed?under?MCD-ST?Liberty?SW?License?Agreement?V2?(the?“License“);
??*?You?may?not?use?this?file?except?in?compliance?with?the?License.
??*?You?may?obtain?a?copy?of?the?License?at:
??*
??*????????http://www.st.com/software_license_agreement_liberty_v2
??*
??*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software?
??*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS?
??*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
??*?See?the?License?for?the?specific?language?governing?permissions?and
??*?limitations?under?the?License.
??*
??******************************************************************************
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“stm32f0xx_it.h“
/**?@addtogroup?STM32F0xx_StdPeriph_Examples
??*?@{
??*/
/**?@addtogroup?ADC_LowPower
??*?@{
??*/
/*?Private?typedef?-----------------------------------------------------------*/
/*?Private?define?------------------------------------------------------------*/
/*?Private?macro?-------------------------------------------------------------*/
/*?Private?variables?---------------------------------------------------------*/
/*?Private?function?prototypes?-----------------------------------------------*/
/*?Private?functions?---------------------------------------------------------*/
/******************************************************************************/
/*????????????Cortex-M0?Processor?Exceptions?Handlers?????????????????????????*/
/******************************************************************************/
/**
??*?@brief??This?function?handles?NMI?exception.
??*?@param??None
??*?@retval?None
??*/
void?NMI_Handler(void)
{
}
/**
??*?@brief??This?function?handles?Hard?Fault?exception.
??*?@param??None
??*?@retval?None
??*/
void?HardFault_Handler(void)
{
??/*?Go?to?infinite?loop?when?Hard?Fault?exception?occurs?*/
??while?(1)
??{
??}
}
/**
??*?@brief??This?function?handles?SVCall?exception.
??*?@param??None
??*?@retval?None
??*/
void?SVC_Handler(void)
{
}
/**
??*?@brief??This?function?handles?PendSVC?exception.
??*?@param??None
??*?@retval?None
??*/
void?PendSV_Handler(void)
{
}
/**
??*?@brief??This?function?handles?SysTick?Handler.
??*?@param??None
??*?@retval?None
??*/
void?SysTick_Handler(void)
{
}
/*********
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????33042??2014-12-02?18:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\core_cm0.h
?????文件??????10476??2014-12-05?00:34??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\startup_stm32f031.s
?????文件?????463551??2018-06-13?09:10??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\stm32f0xx.h
?????文件???????3393??2018-06-26?14:52??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\stm32f0xx_conf.h
?????文件???????4378??2018-08-27?17:34??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\stm32f0xx_it.c
?????文件???????2129??2014-12-02?18:34??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\stm32f0xx_it.h
?????文件??????12607??2017-07-24?14:02??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\system_stm32f0xx.c
?????文件???????2223??2014-12-05?00:34??JRQCTL_A1V02_TWO_SENIOR?-?副本\CORE\system_stm32f0xx.h
?????文件???????1086??2018-11-07?16:15??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\crc.c
?????文件????????124??2018-08-06?10:32??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\crc.h
?????文件???????8103??2018-11-07?16:15??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\ds18b20.c
?????文件???????1091??2018-11-07?16:16??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\ds18b20.h
?????文件???????2051??2018-11-07?16:15??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\led.c
?????文件????????499??2018-09-14?14:43??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\led.h
?????文件???????3078??2018-09-26?13:35??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\timer.c
?????文件????????754??2018-06-26?11:42??JRQCTL_A1V02_TWO_SENIOR?-?副本\HARDWARE\timer.h
?????文件?????258162??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\app.crf
?????文件???????1710??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\app.d
?????文件?????288212??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\app.o
?????文件?????340064??2018-10-15?08:28??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.axf
?????文件???????2012??2018-10-15?09:32??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.build_log.htm
?????文件??????40813??2018-10-15?08:28??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.hex
?????文件??????85577??2018-10-15?08:28??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.htm
?????文件????????774??2018-10-15?08:28??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.lnp
?????文件????????479??2018-08-27?16:30??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01.sct
?????文件????????479??2018-07-11?10:05??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\COMEXT-A1V01_sct.Bak
?????文件?????237575??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\crc.crf
?????文件???????1306??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\crc.d
?????文件?????268052??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\crc.o
?????文件?????237836??2018-09-26?14:37??JRQCTL_A1V02_TWO_SENIOR?-?副本\OBJ\delay.crf
............此處省略158個文件信息
評論
共有 條評論