STM32西南交大嵌入式实验四:异步串行通信源文件

上传者: 61814350 | 上传时间: 2024-05-10 19:49:29 | 文件大小: 69.31MB | 文件类型: RAR
详见:https://blog.csdn.net/qq_61814350/article/details/138620985?spm=1001.2014.3001.5501 1、(1)向串行口发送 1 个字符数据,开发板接收到数据后,将数据加一从串口发回。 (2)向串行口发送 1 个字符数据,开发板接收到数据后,判定数据为 Y 或者 y 跑马灯 全亮、数据为 N 或者 n 跑马灯全灭,其他字符,跑马灯旋转。 (3)重定向 printf、scanf 函数到串口。 2、(2)向串行口发送 1 个字符数据,开发板接收到数据后,判定数据为 Y 或者 y 跑马灯 全亮、数据为 N 或者 n 跑马灯全灭,其他字符,将数据的 ASCII 码显示在数码管上。 显示内容为 XXH。 3、构建发送和接收缓冲区,编写发送和接收单字节、双字节、四字节和字符串发送函 数。将接收到的字符串从串口发回,并在数码管上显示你接收到的字符串。 4、采用中断法定义串口通讯协议,串行口波特率设置为 115200bps,数据字长 8 位,停 止位 1 位,无校验。通过串行口向蜂鸣器、电机、跑马灯和数码管发送 5 字节命令。

文件下载

资源详情

[{"title":"( 861 个子文件 69.31MB ) STM32西南交大嵌入式实验四:异步串行通信源文件","children":[{"title":"4.axf <span style='color:#111;'> 572.80KB </span>","children":null,"spread":false},{"title":"3.axf <span style='color:#111;'> 562.90KB </span>","children":null,"spread":false},{"title":"5.axf <span style='color:#111;'> 560.98KB </span>","children":null,"spread":false},{"title":"2.axf <span style='color:#111;'> 555.67KB </span>","children":null,"spread":false},{"title":"1.axf <span style='color:#111;'> 546.54KB </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_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_uart.c <span style='color:#111;'> 132.08KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.c <span style='color:#111;'> 132.08KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_uart.c <span style='color:#111;'> 132.08KB </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_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_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_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_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_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_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_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_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.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_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":"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":"system_stm32f1xx.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 6.70KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f1xx_it.c <span style='color:#111;'> 5.28KB </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":"stm32f1xx_hal_gpio_ex.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"buzzer.c <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"segment.c <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"segment.c <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"segment.c <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"stm32f1xx_hal_msp.c <span style='color:#111;'> 2.32KB </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,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明