文件名称:UART
-
所属分类:
- 标签属性:
- 上传时间:2018-04-10
-
文件大小:5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
对STM32系列的多个串口进行编程,均采用DMA传输替代查询方式发送,克服被高优先级中断而产生丢帧现象。程序使用非常方便,只需在文件头部更改下define就可以灵活切换各串口,具体串口功能的实现也只要在接收函数中处理就可以了,不需要更多的关注具体中断和硬件。案列中设定了调试输出串口,以及实现串口透传。(Programming for multiple serial ports of STM32 series, all of them are transmitted by DMA transmission instead of query mode, which overcomes the phenomenon of losing frames caused by high priority interruption. The use of the program is very convenient, only in the file head change define can be flexible switching of the serial port, the realization of the specific serial port function can be processed in the receiving function as long as it does not need more attention to specific interrupts and hardware. In the case column, we debug output serial port and realize serial transmission.)
相关搜索: STM32 多串口 DMA 中断
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
UART\usart.c | 38105 | 2018-04-10 |
UART\usart.h | 619 | 2018-04-10 |
UART | 0 | 2018-04-10 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.