【stm32/CubeMX、HAL库】 swjtu西南交大智能嵌入式系统实验六:定时器 源文件

上传者: 61814350 | 上传时间: 2024-06-05 19:36:25 | 文件大小: 19.35MB | 文件类型: RAR
实验内容 1、电子时钟设计。时钟频率为 72Mhz,采用定时器 3。 (1)实现 1 秒延时,并控制 LED0 闪烁. (2)在数码管上显示时钟,格式为“12-00-00”,设置定时器 1 秒延时,并实时更新 时钟显示。 (3)设置 KB1、KB2、KB3 分别对时钟的小时、分、秒进行调整(KB1 按下,小时+1, KB2 按下,分钟+1,KB3 按下,秒钟+1) 2、PWM 输出设计。时钟频率为 72Mhz,采用定时器,PWM 输出。 (1)设计 0.1 毫秒延时,设计占空比 50%,全彩灯 RGB_R. (2)设置 KB1 调整占空比,5 级调整,循环按键。 (3)设计全彩灯 RGB_R 呼吸渐变效果。 3、外部脉冲计数设计。 设计计数器,对外部脉冲(开发板上 PIC 单片机提供的脉冲信号)进行计数,并在 数码管上实时显示计数值。 代码讲解,配置过程看:https://blog.csdn.net/qq_61814350/article/details/139074358?spm=1001.2014.3001.5501(写了三篇文章,链接只是其中一篇)

文件下载

资源详情

[{"title":"( 628 个子文件 19.35MB ) 【stm32/CubeMX、HAL库】 swjtu西南交大智能嵌入式系统实验六:定时器 源文件","children":[{"title":"exp6_2.1 <span style='color:#111;'> 582.04KB </span>","children":null,"spread":false},{"title":"SY6_3.axf <span style='color:#111;'> 604.11KB </span>","children":null,"spread":false},{"title":"SY6_3.axf <span style='color:#111;'> 579.02KB </span>","children":null,"spread":false},{"title":"SY6.axf <span style='color:#111;'> 576.13KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 237.95KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 237.95KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 237.95KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.c <span style='color:#111;'> 237.95KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.c <span style='color:#111;'> 132.08KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 78.03KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 78.03KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 78.03KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.c <span style='color:#111;'> 78.03KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 47.61KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 47.61KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 47.61KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.c <span style='color:#111;'> 47.61KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 34.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 34.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 34.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.c <span style='color:#111;'> 34.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 29.17KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 29.17KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 29.17KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.c <span style='color:#111;'> 29.17KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 28.43KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 28.43KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 28.43KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.c <span style='color:#111;'> 28.43KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 26.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 26.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 26.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.c <span style='color:#111;'> 26.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 20.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 20.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 20.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.c <span style='color:#111;'> 20.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 20.26KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 20.26KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 20.26KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.c <span style='color:#111;'> 20.26KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 19.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 19.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 19.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal.c <span style='color:#111;'> 19.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_cortex.c <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.c <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"system_stm32f1xx.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 6.47KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.59KB </span>","children":null,"spread":false},{"title":"tim.c <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"tim.c <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"tim.c <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"tim.c <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.crf <span style='color:#111;'> 662.30KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.crf <span style='color:#111;'> 652.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.crf <span style='color:#111;'> 652.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim.crf <span style='color:#111;'> 652.40KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.crf <span style='color:#111;'> 624.41KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.crf <span style='color:#111;'> 623.77KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.crf <span style='color:#111;'> 613.85KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.crf <span style='color:#111;'> 613.85KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_tim_ex.crf <span style='color:#111;'> 613.85KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_dma.crf <span style='color:#111;'> 609.35KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc.crf <span style='color:#111;'> 609.09KB </span>","children":null,"spread":false},{"title":"main.crf <span style='color:#111;'> 603.15KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash_ex.crf <span style='color:#111;'> 603.07KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_flash.crf <span style='color:#111;'> 601.87KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_gpio.crf <span style='color:#111;'> 601.00KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_exti.crf <span style='color:#111;'> 600.12KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_pwr.crf <span style='color:#111;'> 599.97KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_rcc_ex.crf <span style='color:#111;'> 599.88KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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