STM32, TIM定时器时间分钟,小时计时,并且通过LED闪烁方式显示出来。

上传者: book_drabit | 上传时间: 2022-07-06 19:02:02 | 文件大小: 326KB | 文件类型: ZIP
1.内容概要: 采用类似typedef struct SysTimer { uint32_t SysCounter; uint32_t SysFlag; uint8_t min; uint8_t hour; }SysTimer_TypeDef的方式,定义系统时间结构体类型,用结构体类型设置时间参数,来进行计时; 2. 使用说明: 通过修改宏定义可以修改开关时间; 通过查看头文件可以方便移植到不同硬件上; 3. 适合人群: 适合STM32学习者,或者STM32从业人员,便于积累功能模块,了解无阻塞设计方式;掌握静态全局变量,全局变量使用方法 4. 其他说明: 更加详细说明见博客

文件下载

资源详情

[{"title":"( 88 个子文件 326KB ) STM32, TIM定时器时间分钟,小时计时,并且通过LED闪烁方式显示出来。","children":[{"title":"2_part","children":[{"title":"Output","children":[{"title":"流水灯.sct <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"流水灯.hex <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"星星点灯.sct <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"星星点灯.hex <span style='color:#111;'> 19.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"User","children":[{"title":"main.c <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"stm32f10x_it.c <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"stm32f10x_conf.h <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"TimBase","children":[{"title":"bsp_TimBase.h <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"bsp_TimBase.c <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"stm32f10x_it.h <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"led","children":[{"title":"bsp_led.c <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"bsp_led.h <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Listing","children":null,"spread":false},{"title":"Libraries","children":[{"title":"FWlib","children":[{"title":"inc","children":[{"title":"stm32f10x_spi.h <span style='color:#111;'> 17.31KB </span>","children":null,"spread":false},{"title":"stm32f10x_crc.h <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"stm32f10x_tim.h <span style='color:#111;'> 51.20KB </span>","children":null,"spread":false},{"title":"stm32f10x_usart.h <span style='color:#111;'> 16.16KB </span>","children":null,"spread":false},{"title":"stm32f10x_dma.h <span style='color:#111;'> 20.27KB </span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.h <span style='color:#111;'> 26.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_i2c.h <span style='color:#111;'> 29.33KB </span>","children":null,"spread":false},{"title":"stm32f10x_dac.h <span style='color:#111;'> 14.88KB </span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.h <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"stm32f10x_bkp.h <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_pwr.h <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.h <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"stm32f10x_exti.h <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"stm32f10x_can.h <span style='color:#111;'> 26.91KB </span>","children":null,"spread":false},{"title":"stm32f10x_adc.h <span style='color:#111;'> 21.19KB </span>","children":null,"spread":false},{"title":"stm32f10x_cec.h <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"stm32f10x_rcc.h <span style='color:#111;'> 29.74KB </span>","children":null,"spread":false},{"title":"stm32f10x_rtc.h <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"stm32f10x_flash.h <span style='color:#111;'> 24.85KB </span>","children":null,"spread":false},{"title":"stm32f10x_sdio.h <span style='color:#111;'> 21.35KB </span>","children":null,"spread":false},{"title":"stm32f10x_wwdg.h <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"stm32f10x_gpio.h <span style='color:#111;'> 19.86KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"stm32f10x_adc.c <span style='color:#111;'> 46.09KB </span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.c <span style='color:#111;'> 34.65KB </span>","children":null,"spread":false},{"title":"misc.c <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false},{"title":"stm32f10x_flash.c <span style='color:#111;'> 61.08KB </span>","children":null,"spread":false},{"title":"stm32f10x_rcc.c <span style='color:#111;'> 50.07KB </span>","children":null,"spread":false},{"title":"stm32f10x_wwdg.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f10x_tim.c <span style='color:#111;'> 106.60KB </span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.c <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"stm32f10x_gpio.c <span style='color:#111;'> 22.68KB </span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.c <span style='color:#111;'> 5.03KB </span>","children":null,"spread":false},{"title":"stm32f10x_pwr.c <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false},{"title":"stm32f10x_crc.c <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"stm32f10x_dac.c <span style='color:#111;'> 18.64KB </span>","children":null,"spread":false},{"title":"stm32f10x_sdio.c <span style='color:#111;'> 28.25KB </span>","children":null,"spread":false},{"title":"stm32f10x_can.c <span style='color:#111;'> 44.05KB </span>","children":null,"spread":false},{"title":"stm32f10x_bkp.c <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false},{"title":"stm32f10x_cec.c <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_rtc.c <span style='color:#111;'> 8.40KB </span>","children":null,"spread":false},{"title":"stm32f10x_usart.c <span style='color:#111;'> 37.41KB </span>","children":null,"spread":false},{"title":"stm32f10x_i2c.c <span style='color:#111;'> 44.71KB </span>","children":null,"spread":false},{"title":"stm32f10x_spi.c <span style='color:#111;'> 29.52KB </span>","children":null,"spread":false},{"title":"stm32f10x_exti.c <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"stm32f10x_dma.c <span style='color:#111;'> 28.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"CMSIS","children":[{"title":"system_stm32f10x.h <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"core_cm3.c <span style='color:#111;'> 16.87KB </span>","children":null,"spread":false},{"title":"core_cm3.h <span style='color:#111;'> 83.71KB </span>","children":null,"spread":false},{"title":"stm32f10x.h <span style='color:#111;'> 619.08KB </span>","children":null,"spread":false},{"title":"startup","children":[{"title":"startup_stm32f10x_hd.s <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_ld.s <span style='color:#111;'> 12.09KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_ld_vl.s <span style='color:#111;'> 13.34KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_md.s <span style='color:#111;'> 12.47KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_xl.s <span style='color:#111;'> 15.58KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_md_vl.s <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_cl.s <span style='color:#111;'> 15.40KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_hd_vl.s <span style='color:#111;'> 15.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"system_stm32f10x.c <span style='color:#111;'> 35.70KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"keilkill.bat <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"Project","children":[{"title":"RVMDK","children":[{"title":"KEZIOT.uvoptx <span style='color:#111;'> 20.24KB </span>","children":null,"spread":false},{"title":"KEZIOT.uvguix.scott <span style='color:#111;'> 91.01KB </span>","children":null,"spread":false},{"title":"KEZIOT.uvprojx <span style='color:#111;'> 21.51KB </span>","children":null,"spread":false},{"title":"DebugConfig","children":[{"title":"Led_STM32F103VE_1.0.0.dbgconf <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"uv4.log.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"targets.log <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"c_cpp_properties.json <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"configurationCache.log <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"keil-assistant.log <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"uv4.log <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"dryrun.log <span style='color:#111;'> 202B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vscode","children":[{"title":"targets.log <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"settings.json <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"configurationCache.log <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"dryrun.log <span style='color:#111;'> 188B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 97B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明