登录
首页 » C/C++ » STM32-USART-send-and-receive-data-

STM32-USART-send-and-receive-data-

于 2020-07-31 发布 文件大小:4024KB
0 74
下载积分: 1 下载次数: 176

代码说明:

  本程序目的是提供使用stm32串口收发一帧数据的一种方法,采用中断方式接受和发送,每进一次中断接收或发送一字节,可以实现pc机与板子通信或板子与板子间通信。注意本程序中外接高速晶振为12M赫兹,而大部分板子为8M赫兹,本程序所用芯片是stm32RBT6(The purpose of this procedure is to provide a method of using STM32 serial port to send and receive a data, using interrupt mode to receive and send, every one into the time interrupt receiving or sending a byte, can realize PC and the communication or board and board communication. Note that this procedure the external high-speed crystal oscillator for the 12M Hz, while the majority of board is 8M Hz, the chip used in this procedure is stm32RBT6)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 31今日下载