stm32f103c8+proteus8.9+ds18b20.zip
大小:5.79MB
价格:33积分
下载量:0
评分:
5.0
上传者:mym351381869
更新日期:2025-09-22

stm32f103c8+proteus8.9+温度传感器ds18b20

资源文件列表(大概)

文件名
大小
keil/
-
keil/18b20.uvgui.1
136KB
keil/18b20.uvopt
17.72KB
keil/18b20.uvproj
20.5KB
keil/CORE/
-
keil/CORE/core_cm3.c
16.87KB
keil/CORE/core_cm3.h
83.71KB
keil/CORE/startup_stm32f10x_ld.s
12.09KB
keil/Listings/
-
keil/Listings/18b20.map
111.41KB
keil/Listings/startup_stm32f10x_ld.lst
38.18KB
keil/Objects/
-
keil/Objects/18b20.axf
456.32KB
keil/Objects/18b20.build_log.htm
1.19KB
keil/Objects/18b20.hex
10.88KB
keil/Objects/18b20.hex.asm
21B
keil/Objects/18b20.htm
41.77KB
keil/Objects/18b20.lnp
1.03KB
keil/Objects/18b20.sct
479B
keil/Objects/18b20_Target 1.dep
44.89KB
keil/Objects/core_cm3.crf
3.85KB
keil/Objects/core_cm3.d
107B
keil/Objects/core_cm3.o
10.68KB
keil/Objects/delay.crf
338.7KB
keil/Objects/delay.d
1.51KB
keil/Objects/delay.o
372.15KB
keil/Objects/main.crf
342.95KB
keil/Objects/main.d
1.45KB
keil/Objects/main.o
393.68KB
keil/Objects/misc.crf
338.36KB
keil/Objects/misc.d
1.46KB
keil/Objects/misc.o
372.79KB
keil/Objects/startup_stm32f10x_ld.d
63B
keil/Objects/startup_stm32f10x_ld.o
5.63KB
keil/Objects/stm32f10x_adc.crf
345.36KB
keil/Objects/stm32f10x_adc.d
1.75KB
keil/Objects/stm32f10x_adc.o
417.86KB
keil/Objects/stm32f10x_bkp.crf
339.28KB
keil/Objects/stm32f10x_bkp.d
1.75KB
keil/Objects/stm32f10x_bkp.o
382.22KB
keil/Objects/stm32f10x_can.crf
346.93KB
keil/Objects/stm32f10x_can.d
1.75KB
keil/Objects/stm32f10x_can.o
403.69KB
keil/Objects/stm32f10x_cec.crf
339.82KB
keil/Objects/stm32f10x_cec.d
1.75KB
keil/Objects/stm32f10x_cec.o
384.71KB
keil/Objects/stm32f10x_crc.crf
337.92KB
keil/Objects/stm32f10x_crc.d
1.75KB
keil/Objects/stm32f10x_crc.o
373.76KB
keil/Objects/stm32f10x_dac.crf
339.95KB
keil/Objects/stm32f10x_dac.d
1.75KB
keil/Objects/stm32f10x_dac.o
382.84KB
keil/Objects/stm32f10x_dbgmcu.crf
337.72KB
keil/Objects/stm32f10x_dbgmcu.d
1.85KB
keil/Objects/stm32f10x_dbgmcu.o
370.02KB
keil/Objects/stm32f10x_dma.crf
341.39KB
keil/Objects/stm32f10x_dma.d
1.75KB
keil/Objects/stm32f10x_dma.o
382.35KB
keil/Objects/stm32f10x_exti.crf
338.9KB
keil/Objects/stm32f10x_exti.d
1.79KB
keil/Objects/stm32f10x_exti.o
376.7KB
keil/Objects/stm32f10x_flash.crf
345.2KB
keil/Objects/stm32f10x_flash.d
1.82KB
keil/Objects/stm32f10x_flash.o
407.2KB
keil/Objects/stm32f10x_fsmc.crf
343.74KB
keil/Objects/stm32f10x_fsmc.d
1.79KB
keil/Objects/stm32f10x_fsmc.o
393.31KB
keil/Objects/stm32f10x_gpio.crf
341.77KB
keil/Objects/stm32f10x_gpio.d
1.79KB
keil/Objects/stm32f10x_gpio.o
392.2KB
keil/Objects/stm32f10x_i2c.crf
344.15KB
keil/Objects/stm32f10x_i2c.d
1.75KB
keil/Objects/stm32f10x_i2c.o
412.21KB
keil/Objects/stm32f10x_it.crf
338.02KB
keil/Objects/stm32f10x_it.d
1.7KB
keil/Objects/stm32f10x_it.o
380.36KB
keil/Objects/stm32f10x_iwdg.crf
338.02KB
keil/Objects/stm32f10x_iwdg.d
1.79KB
keil/Objects/stm32f10x_iwdg.o
373.73KB
keil/Objects/stm32f10x_pwr.crf
339.18KB
keil/Objects/stm32f10x_pwr.d
1.75KB
keil/Objects/stm32f10x_pwr.o
378.27KB
keil/Objects/stm32f10x_rcc.crf
345.26KB
keil/Objects/stm32f10x_rcc.d
1.75KB
keil/Objects/stm32f10x_rcc.o
410.96KB
keil/Objects/stm32f10x_rtc.crf
339.18KB
keil/Objects/stm32f10x_rtc.d
1.75KB
keil/Objects/stm32f10x_rtc.o
384.25KB
keil/Objects/stm32f10x_sdio.crf
342.37KB
keil/Objects/stm32f10x_sdio.d
1.79KB
keil/Objects/stm32f10x_sdio.o
405.96KB
keil/Objects/stm32f10x_spi.crf
342.24KB
keil/Objects/stm32f10x_spi.d
1.75KB
keil/Objects/stm32f10x_spi.o
398.38KB
keil/Objects/stm32f10x_tim.crf
359.93KB
keil/Objects/stm32f10x_tim.d
1.75KB
keil/Objects/stm32f10x_tim.o
493.2KB
keil/Objects/stm32f10x_usart.crf
343.84KB
keil/Objects/stm32f10x_usart.d
1.82KB
keil/Objects/stm32f10x_usart.o
407.23KB
keil/Objects/stm32f10x_wwdg.crf
338.46KB
keil/Objects/stm32f10x_wwdg.d
1.79KB
keil/Objects/stm32f10x_wwdg.o
376.52KB
keil/Objects/system_stm32f10x.crf
339.49KB
keil/Objects/system_stm32f10x.d
1.77KB
keil/Objects/system_stm32f10x.o
372.05KB
keil/STM32LIB/
-
keil/STM32LIB/inc/
-
keil/STM32LIB/inc/misc.h
8.77KB
keil/STM32LIB/inc/stm32f10x_adc.h
21.18KB
keil/STM32LIB/inc/stm32f10x_bkp.h
7.38KB
keil/STM32LIB/inc/stm32f10x_can.h
26.91KB
keil/STM32LIB/inc/stm32f10x_cec.h
6.42KB
keil/STM32LIB/inc/stm32f10x_crc.h
2.11KB
keil/STM32LIB/inc/stm32f10x_dac.h
14.88KB
keil/STM32LIB/inc/stm32f10x_dbgmcu.h
3.73KB
keil/STM32LIB/inc/stm32f10x_dma.h
20.27KB
keil/STM32LIB/inc/stm32f10x_exti.h
6.66KB
keil/STM32LIB/inc/stm32f10x_flash.h
24.85KB
keil/STM32LIB/inc/stm32f10x_fsmc.h
26.38KB
keil/STM32LIB/inc/stm32f10x_gpio.h
19.7KB
keil/STM32LIB/inc/stm32f10x_i2c.h
29.33KB
keil/STM32LIB/inc/stm32f10x_iwdg.h
3.74KB
keil/STM32LIB/inc/stm32f10x_pwr.h
4.28KB
keil/STM32LIB/inc/stm32f10x_rcc.h
29.74KB
keil/STM32LIB/inc/stm32f10x_rtc.h
3.77KB
keil/STM32LIB/inc/stm32f10x_sdio.h
21.35KB
keil/STM32LIB/inc/stm32f10x_spi.h
17.31KB
keil/STM32LIB/inc/stm32f10x_tim.h
51.2KB
keil/STM32LIB/inc/stm32f10x_usart.h
16.16KB
keil/STM32LIB/inc/stm32f10x_wwdg.h
2.9KB
keil/STM32LIB/src/
-
keil/STM32LIB/src/misc.c
6.88KB
keil/STM32LIB/src/stm32f10x_adc.c
46.09KB
keil/STM32LIB/src/stm32f10x_bkp.c
8.26KB
keil/STM32LIB/src/stm32f10x_can.c
44.05KB
keil/STM32LIB/src/stm32f10x_cec.c
11.38KB
keil/STM32LIB/src/stm32f10x_crc.c
3.27KB
keil/STM32LIB/src/stm32f10x_dac.c
18.64KB
keil/STM32LIB/src/stm32f10x_dbgmcu.c
5.03KB
keil/STM32LIB/src/stm32f10x_dma.c
28.91KB
keil/STM32LIB/src/stm32f10x_exti.c
6.8KB
keil/STM32LIB/src/stm32f10x_flash.c
61.08KB
keil/STM32LIB/src/stm32f10x_fsmc.c
34.65KB
keil/STM32LIB/src/stm32f10x_gpio.c
22.68KB
keil/STM32LIB/src/stm32f10x_i2c.c
44.71KB
keil/STM32LIB/src/stm32f10x_iwdg.c
4.8KB
keil/STM32LIB/src/stm32f10x_pwr.c
8.55KB
keil/STM32LIB/src/stm32f10x_rcc.c
50.07KB
keil/STM32LIB/src/stm32f10x_rtc.c
8.4KB
keil/STM32LIB/src/stm32f10x_sdio.c
28.25KB
keil/STM32LIB/src/stm32f10x_spi.c
29.52KB
keil/STM32LIB/src/stm32f10x_tim.c
106.6KB
keil/STM32LIB/src/stm32f10x_usart.c
37.41KB
keil/STM32LIB/src/stm32f10x_wwdg.c
5.6KB
keil/USER/
-
keil/USER/digit.c
414B
keil/USER/digit.h
153B
keil/USER/led.c
848B
keil/USER/led.h
175B
keil/USER/led.h.bak
-
keil/USER/main.c
7.55KB
keil/USER/stm32f10x.h
619.08KB
keil/USER/stm32f10x_conf.h
3.18KB
keil/USER/stm32f10x_it.c
4.71KB
keil/USER/stm32f10x_it.h
2.11KB
keil/USER/system_stm32f10x.c
35.69KB
keil/USER/system_stm32f10x.h
2.04KB
protues/
-
protues/18b20.pdsprj
94.12KB
protues/18b20.pdsprj.DESKTOP-J4OK9VH.1.workspace
15.17KB
protues/18b20.pdsprj.MOHEN.mym35.workspace
26.13KB
protues/18b20t.pdsprj
94.68KB
protues/18b20t.pdsprj.DESKTOP-J4OK9VH.1.workspace
15.18KB
protues/Backup Of 18b20.pdsbak
94.13KB
protues/Last Loaded 18b20.pdsbak
94.12KB
protues/Last Loaded 18b20t.pdsbak
83.63KB

资源内容介绍

实验要求使用proteus仿真+keil编译用Proteus设计一个STM32最小系统板+温度传感器ds18b20实验原理图,仿真运行。以STM32最小系统核心板(STM32F103C8T6)编写程序,驱动ds18b20,使用proteus8.9编写原理图。用stm32标准库编写,有必要的注释。
/** ****************************************************************************** * @file stm32f10x_tim.c * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief This file provides all the TIM firmware functions. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2> ****************************************************************************** */#include "stm32f10x_tim.h"#include "stm32f10x_rcc.h"/** @addtogroup STM32F10x_StdPeriph_Driver * @{ *//** @defgroup TIM * @brief TIM driver modules * @{ *//** @defgroup TIM_Private_TypesDefinitions * @{ *//** * @} *//** @defgroup TIM_Private_Defines * @{ */#define SMCR_ETR_Mask ((uint16_t)0x00FF) #define CCMR_Offset ((uint16_t)0x0018)#define CCER_CCE_Set ((uint16_t)0x0001) #defineCCER_CCNE_Set ((uint16_t)0x0004) /** * @} *//** @defgroup TIM_Private_Macros * @{ *//** * @} *//** @defgroup TIM_Private_Variables * @{ *//** * @} *//** @defgroup TIM_Private_FunctionPrototypes * @{ */static void TI1_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter);static void TI2_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter);static void TI3_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter);static void TI4_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter);/** * @} *//** @defgroup TIM_Private_Macros * @{ *//** * @} *//** @defgroup TIM_Private_Variables * @{ *//** * @} *//** @defgroup TIM_Private_FunctionPrototypes * @{ *//** * @} *//** @defgroup TIM_Private_Functions * @{ *//** * @brief Deinitializes the TIMx peripheral registers to their default reset values. * @param TIMx: where x can be 1 to 17 to select the TIM peripheral. * @retval None */void TIM_DeInit(TIM_TypeDef* TIMx){ assert_param(IS_TIM_ALL_PERIPH(TIMx)); if (TIMx == TIM1) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM1, DISABLE); } else if (TIMx == TIM2) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM2, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM2, DISABLE); } else if (TIMx == TIM3) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM3, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM3, DISABLE); } else if (TIMx == TIM4) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM4, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM4, DISABLE); } else if (TIMx == TIM5) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM5, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM5, DISABLE); } else if (TIMx == TIM6) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM6, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM6, DISABLE); } else if (TIMx == TIM7) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM7, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM7, DISABLE); } else if (TIMx == TIM8) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM8, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM8, DISABLE); } else if (TIMx == TIM9) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM9, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM9, DISABLE); } else if (TIMx == TIM10) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM10, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM10, DISABLE); } else if (TIMx == TIM11) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM11, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM11, DISABLE); } else if (TIMx == TIM12) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM12, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM12, DISABLE); } else if (TIMx == TIM13) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM13, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM13, DISABLE); } else if (TIMx == TIM14) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM14, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM14, DISABLE); } else if (TIMx == TIM15) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM15, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM15, DISABLE); } else if (TIMx == TIM16) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM16, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM16, DISABLE); } else { if (TIMx == TIM17) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM17, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM17, DISABLE); } }}/** * @brief Initializes the TIMx Time Base Unit peripheral according to * the specified parameters in the TIM_TimeBaseInitStruct. * @param TIMx: where x can be 1 to 17 to select the TIM peripheral. * @param TIM_TimeBaseInitStruct: pointer to a TIM_TimeBaseInitTypeDef * structure that contains the configuration information for the * specified TIM peripheral. * @retval None */void TIM_TimeBaseInit(TIM_TypeDef* TIMx, TIM_TimeBaseInitTypeDef* TIM_TimeBaseInitStruct){ uint16_t tmpcr1 = 0; assert_param(IS_TIM_ALL_PERIPH(TIMx)); assert_param(IS_TIM_COUNTER_MODE(TIM_TimeBaseInitStruct->TIM_CounterMode)); assert_param(IS_TIM_CKD_DIV(TIM_TimeBaseInitStruct->TIM_ClockDivision)); tmpcr1 = TIMx->CR1; if((TIMx == TIM1) || (TIMx == TIM8)|| (TIMx == TIM2) || (TIMx == TIM3)|| (TIMx == TIM4) || (TIMx == TIM5)) { tmpcr1 &= (uint16_t)(~((uint16_t)(TIM_CR1_DIR | TIM_CR1_CMS))); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_CounterMode; } if((TIMx != TIM6) && (TIMx != TIM7)) { tmpcr1 &= (uint16_t)(~((uint16_t)TIM_CR1_CKD)); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_ClockDivision; } TIMx->CR1 = tmpcr1; TIMx->ARR = TIM_TimeBaseInitStruct->TIM_Period ; TIMx->PSC = TIM_TimeBaseInitStruct->TIM_Prescaler; if ((TIMx == TIM1) || (TIMx == TIM8)|| (TIMx == TIM15)|| (TIMx == TIM16) || (TIMx == TIM17)) { TIMx->RCR = TIM_TimeBaseInitStruct->TIM_RepetitionCounter; } TIMx->EGR = TIM_PSCReloadMode_Immediate; }/** * @brief Initializes the TIMx Channel1 according to the specified * parameters in the TIM_OCInitStruct. * @param TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral. * @param TIM_OCInitStru

用户评论 (0)

发表评论

captcha

相关资源

Bz二进制编辑工具(压缩包)

Bz1621.lzh官方版是一款实用的二进制编辑器软件。Bz1621.lzh最新版具有4种编辑模式(文本、十六进制、十进制、二进制)。软件内置了两个插件(Hex Calculator 与 Base Converter)。Bz1621.lzh官方版可以对操作的语言进行自定义的选择,不对中文的语言支持。Bz1621.lzh基本简介: Bz1621.lzh官方版是30天自制操作系统书中提到的一款二进制编辑器,不需要安装,解压缩之后打开Bz.exe就能直接使用了,目前windows所有操作系统都能运行,有需要的赶快下载吧!Bz1621.lzh功能介绍:1、Bz1621.lzh官方版可以编辑非常大的文件,最大可高达4GB。2、具有4种编辑模式(文本、十六进制、十进制、二进制)。3、内置了两个插件(Hex Calculator 与 Base Converter)。4、可快速加载文件。Bz1621.lzh软件特色: Bz1621.lzh官方版可以对操作的语言进行自定义的选择,不对中文的语言支持。也可根据自己的使用需求来对软件内置的功能设置,可以对软件的背景颜色进行更改。

53.17KB43积分

st-link驱动安装包,可以匹配USB

st-link驱动安装包,可以解决初次使用st-link时的端口无法检测到对应的端口问题,本人初次遇到该问题的时候,是在stm32c8t6最小系统板,因为其不具备烧录口,需要外接st-link,但是由于第一次使用,keil5在烧录过程总始终无法检测到,因此进行大量上网搜索才发现需要安装驱动,个人感觉也是新手小白初学时会遇到的问题,也希望能为大家提供帮助

5.1MB43积分

基于c语言封装的ftp客户端开源库

ftp

9.62KB14积分

大语言模型+llama3+代码+学习可运行llama3代码

本项目基于Meta最新发布的新一代开源大模型Llama-3开发,是Chinese-LLaMA-Alpaca开源大模型相关系列项目(一期、二期)的第三期。本项目开源了中文Llama-3基座模型和中文Llama-3-Instruct指令精调大模型。这些模型在原版Llama-3的基础上使用了大规模中文数据进行增量预训练,并且使用精选指令数据进行精调,进一步提升了中文基础语义和指令理解能力,相比二代相关模型获得了显著性能提升。 我已将如何训练+推理以及vscode配置等内容放入文件夹,你可直接下载按照要求执行,以便进一步解读与学习。当然,我也会在博客解读代码细节,以此帮助大家对大语言模型理解。

1.49MB33积分