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

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

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

代码说明:

  本程序目的是提供使用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)

文件列表:

STM32-USART-中断接收发送一帧数据-
.................................\JLinkLog.txt,138489,2013-06-16
.................................\JLinkSettings.ini,578,2013-03-25
.................................\Libraries
.................................\.........\CMSIS
.................................\.........\.....\CM3
.................................\.........\.....\...\CoreSupport
.................................\.........\.....\...\...........\core_cm3.c,17273,2010-06-07
.................................\.........\.....\...\...........\core_cm3.h,85714,2011-02-09
.................................\.........\.....\...\DeviceSupport
.................................\.........\.....\...\.............\ST
.................................\.........\.....\...\.............\..\STM32F10x
.................................\.........\.....\...\.............\..\.........\Release_Notes.html,26297,2011-03-14
.................................\.........\.....\...\.............\..\.........\startup
.................................\.........\.....\...\.............\..\.........\.......\arm
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_cl.s,15766,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_hd.s,15503,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_hd_vl.s,15692,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_ld.s,12376,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_ld_vl.s,13656,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_md.s,12765,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_md_vl.s,14073,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_xl.s,15955,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\gcc_ride7
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_cl.s,13072,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_hd.s,13160,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_hd_vl.s,12482,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_ld.s,9814,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_ld_vl.s,10562,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_md.s,10269,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_md_vl.s,11058,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\.........\startup_stm32f10x_xl.s,13261,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\iar
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_cl.s,16626,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_hd.s,16229,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_hd_vl.s,15675,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_ld.s,12650,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_ld_vl.s,12950,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_md.s,12912,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_md_vl.s,13601,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\...\startup_stm32f10x_xl.s,16628,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\TrueSTUDIO
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_cl.s,12604,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_hd.s,12592,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_hd_vl.s,12239,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_ld.s,9826,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_ld_vl.s,10275,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_md.s,10275,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_md_vl.s,10757,2011-03-10
.................................\.........\.....\...\.............\..\.........\.......\..........\startup_stm32f10x_xl.s,13252,2011-03-10
.................................\.........\.....\...\.............\..\.........\stm32f10x.h,633942,2013-06-14
.................................\.........\.....\...\.............\..\.........\system_stm32f10x.c,36557,2013-06-14
.................................\.........\.....\...\.............\..\.........\system_stm32f10x.h,2085,2011-03-10
.................................\.........\.....\CMSIS debug support.htm,9310,2010-06-07
.................................\.........\.....\CMSIS_changes.htm,12531,2010-10-26
.................................\.........\.....\Documentation
.................................\.........\.....\.............\CMSIS_Core.htm,57004,2010-06-07
.................................\.........\.....\License.doc,39936,2010-06-07
.................................\.........\STM32F10x_StdPeriph_Driver
.................................\.........\..........................\inc
.................................\.........\..........................\...\misc.h,8982,2011-03-10
.................................\.........\..........................\...\stm32f10x_adc.h,21690,2011-03-10
.................................\.........\..........................\...\stm32f10x_bkp.h,7555,2011-03-10
.................................\.........\..........................\...\stm32f10x_can.h,27559,2011-03-10
.................................\.........\..........................\...\stm32f10x_cec.h,6573,2011-03-10
.................................\.........\..........................\...\stm32f10x_crc.h,2162,2011-03-10
.................................\.........\..........................\...\stm32f10x_dac.h,15233,2011-03-10
.................................\.........\..........................\...\stm32f10x_dbgmcu.h,3818,2011-03-10
.................................\.........\..........................\...\stm32f10x_dma.h,20754,2011-03-10
.................................\.........\..........................\...\stm32f10x_exti.h,6824,2011-03-10
.................................\.........\..........................\...\stm32f10x_flash.h,25445,2011-03-10
.................................\.........\..........................\...\stm32f10x_fsmc.h,27016,2011-03-10
.................................\.........\..........................\...\stm32f10x_gpio.h,20175,2011-03-10
.................................\.........\..........................\...\stm32f10x_i2c.h,30029,2011-03-10
.................................\.........\..........................\...\stm32f10x_iwdg.h,3828,2011-03-10
.................................\.........\..........................\...\stm32f10x_pwr.h,4383,2011-03-10
.................................\.........\..........................\...\stm32f10x_rcc.h,30452,2011-03-10
.................................\.........\..........................\...\stm32f10x_rtc.h,3857,2011-03-10
.................................\.........\..........................\...\stm32f10x_sdio.h,21863,2011-03-10
.................................\.........\..........................\...\stm32f10x_spi.h,17725,2011-03-10
.................................\.........\..........................\...\stm32f10x_tim.h,52427,2011-03-10
.................................\.........\..........................\...\stm32f10x_usart.h,16548,2011-03-10
.................................\.........\..........................\...\stm32f10x_wwdg.h,2966,2011-03-10
.................................\.........\..........................\Release_Notes.html,29246,2011-03-14
.................................\.........\..........................\src
.................................\.........\..........................\...\misc.c,7046,2011-03-10
.................................\.........\..........................\...\stm32f10x_adc.c,47201,2011-03-10
.................................\.........\..........................\...\stm32f10x_bkp.c,8463,2011-03-10
.................................\.........\..........................\...\stm32f10x_can.c,45103,2011-03-10
.................................\.........\..........................\...\stm32f10x_cec.c,11656,2011-03-10
.................................\.........\..........................\...\stm32f10x_crc.c,3347,2011-03-10
.................................\.........\..........................\...\stm32f10x_dac.c,19087,2011-03-10
.................................\.........\..........................\...\stm32f10x_dbgmcu.c,5149,2011-03-10
.................................\.........\..........................\...\stm32f10x_dma.c,29607,2011-03-10
.................................\.........\..........................\...\stm32f10x_exti.c,6959,2011-03-10
.................................\.........\..........................\...\stm32f10x_flash.c,62551,2011-03-10
.................................\.........\..........................\...\stm32f10x_fsmc.c,35484,2011-03-10
.................................\.........\..........................\...\stm32f10x_gpio.c,23221,2011-03-11
.................................\.........\..........................\...\stm32f10x_i2c.c,45781,2011-03-10
.................................\.........\..........................\...\stm32f10x_iwdg.c,4916,2011-03-10

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

发表评论

0 个回复

  • 696518资源总数
  • 104271会员总数
  • 57今日下载