资源简介
STM32 STM32F103C8T6 读取DS18B20温度数据例程 将读出的温度数据发送到调试串口 温度数据单位是0.1摄氏度
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V3.6.1
* @date 05-March-2012
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
******************************************************************************
* @attention
*
* © COPYRIGHT 2012 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 “misc.h“
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup MISC
* @brief MISC driver modules
* @{
*/
/** @defgroup MISC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Defines
* @{
*/
#define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000)
/**
* @}
*/
/** @defgroup MISC_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Functions
* @{
*/
/**
* @brief Configures the priority grouping: pre-emption priority and subpriority.
* @param NVIC_PriorityGroup: specifies the priority grouping bits length.
* This parameter can be one of the following values:
* @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority
* 4 bits for subpriority
* @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority
* 3 bits for subpriority
* @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority
* 2 bits for subpriority
* @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority
* 1 bits for subpriority
* @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority
* 0 bits for subpriority
* @retval None
*/
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
{
/* Check the parameters */
assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
/* Set the PRIGROUP[10:8] bits accordin
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 26180 2018-11-30 15:21 Sagahds_20200304_STM32_DS18B20_V0.1\cortexm3_macro.lst
文件 45583 2020-03-04 17:08 Sagahds_20200304_STM32_DS18B20_V0.1\output\Sagahds.hex
文件 105865 2020-03-04 17:08 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.map
文件 51744 2018-07-31 17:59 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.plg
文件 479 2018-07-31 17:53 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.sct
....... 70455 2020-03-04 17:10 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvgui.Administrator
文件 71194 2018-12-03 13:51 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvguix.Administrator
....... 70459 2020-03-04 17:07 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvgui_Administrator.bak
....... 20328 2020-03-04 17:10 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvopt
文件 21881 2018-12-03 13:51 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvoptx
....... 20878 2020-03-04 15:39 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvproj
文件 22004 2018-12-03 13:48 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds.uvproj.saved_uv4
文件 59109 2020-03-04 17:08 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds_Target 1.dep
....... 20328 2020-03-04 17:07 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds_uvopt.bak
....... 20701 2020-03-04 15:10 Sagahds_20200304_STM32_DS18B20_V0.1\Sagahds_uvproj.bak
文件 40464 2020-03-04 17:07 Sagahds_20200304_STM32_DS18B20_V0.1\startup_stm32f10x_md.lst
文件 12895 2017-05-12 23:41 Sagahds_20200304_STM32_DS18B20_V0.1\startup_stm32f10x_md.s
文件 7181 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\misc.c
文件 9117 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\misc.h
文件 47336 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_adc.c
文件 21825 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_adc.h
文件 8598 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_bkp.c
文件 7690 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_bkp.h
文件 45238 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_can.c
文件 27694 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_can.h
文件 11791 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_cec.c
文件 6708 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_cec.h
文件 3482 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_crc.c
文件 2297 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_crc.h
文件 19222 2012-03-19 17:29 Sagahds_20200304_STM32_DS18B20_V0.1\stm32f10x\stm32f10x_dac.c
............此处省略61个文件信息
相关资源
- STM32 STM32F103C8T6 CAN从机+4DI2DO 硬件设计
- 基于STC单片机的PID温度控制程序
- STM32外部计数器程序
- STMicroelectronics STM32及STM8全系列Altium
- 串口上位机实时图像显示温度 -1.rar
- 基于STM32cubeMX,STM32F103C8T6的PWM输出实
- US100超声波代码stm32
- 基于51单片机、PCF8563时钟芯片的智能
- 基于STM32电力数据采集系统的设计
- STM32 之DHT11驱动程序
- Arduino STM32 平衡小车之家平衡小车源码
- DS18B20仿真
- STM32串口封装源码,可直接调用
- STM32L4_硬件SPI配置_LL库版.rar
- STM 32 Nucleo H743zi芯片引脚图STM32 H732Z
- msp430 DS18B20.rar
- 51单片机GY906测量人体测温度,eeprom存
- STM32的USART串口查询方式(库函数)
- STM32的PS2鼠标程序,亲测可用
- STM32F103RCT6使用DS1302时钟模块
- stm32F407光电编码器代码
- 音频信号FFT变换后节拍检测的软件.
- stm32f103zet6最小系统原理图
- STM32F103单片机输出SPWM波
- STM32F103 ADC 中断模式 连续转换
- stm32f103引脚详图
- stm32控制ch376s例程
- STM32使用HAL库移植freemodbus-v1.6
- stm32 LabVIEW控制开发板LED灯显示
- STM32F103C8T6+1.44寸ST7735TFT LCD彩屏驱动程
评论
共有 条评论