STM32-USART-send-and-receive-data-
代码说明:
本程序目的是提供使用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)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!