登录
首页 » C# » UART

UART

于 2020-07-31 发布 文件大小:6753KB
0 239
下载积分: 1 下载次数: 179

代码说明:

  同时使用STM32三个串口的接收与发送,串口1使用printf(),串口2使用u2_printf(),串口3使用u3_printf().接受采用定时器中断超时,5ms未接收到数据认为本次接收结束,置位相应的标志位,主程序检测并处理接收数据。(STM32 simultaneously receive and send three serial, serial port 1 to use printf (), 2 serial ports use u2_printf (), 3 serial ports use u3_printf (). Accepting timer interruption timeout, 5ms does not receive data that the receiving end of this, set the appropriate flag, the main program to detect and process the received data.)

文件列表:

UART
....\CORE
....\....\core_cm3.c,17273,2010-06-07
....\....\core_cm3.h,85714,2011-02-09
....\....\startup_stm32f10x_hd.s,15503,2011-03-10
....\....\startup_stm32f10x_md.s,12765,2011-03-10
....\HARDWARE
....\........\timers
....\........\......\timer.c,2461,2015-05-31
....\........\......\timer.h,166,2015-05-31
....\........\USART2
....\........\......\usart2.c,5400,2015-08-30
....\........\......\usart2.h,1935,2015-05-09
....\........\USART3
....\........\......\usart.h,1041,2015-06-24
....\........\......\usart3.c,3690,2015-08-30
....\........\......\usart3.h,802,2015-08-30
....\keilkilll.bat,399,2011-04-23
....\OBJ
....\...\core_cm3.crf,3579,2015-08-30
....\...\core_cm3.d,102,2015-08-30
....\...\core_cm3.o,10540,2015-08-30
....\...\delay.crf,349455,2015-08-30
....\...\delay.d,1667,2015-08-30
....\...\delay.o,381440,2015-08-30
....\...\flash.d,0,2015-08-30
....\...\flash.__i,577,2015-08-30
....\...\main.crf,358141,2015-08-30
....\...\main.d,2026,2015-08-30
....\...\main.o,392200,2015-08-30
....\...\misc.crf,348528,2015-08-30
....\...\misc.d,1611,2015-08-30
....\...\misc.o,379080,2015-08-30
....\...\startup_stm32f10x_hd.d,63,2015-08-30
....\...\startup_stm32f10x_hd.o,6724,2015-08-30
....\...\stm32f10x_adc.crf,355697,2015-08-30
....\...\stm32f10x_adc.d,1908,2015-08-30
....\...\stm32f10x_adc.o,393056,2015-08-30
....\...\stm32f10x_bkp.crf,349468,2015-08-30
....\...\stm32f10x_bkp.d,1908,2015-08-30
....\...\stm32f10x_bkp.o,381492,2015-08-30
....\...\stm32f10x_can.crf,357310,2015-08-30
....\...\stm32f10x_can.d,1908,2015-08-30
....\...\stm32f10x_can.o,390224,2015-08-30
....\...\stm32f10x_cec.crf,350021,2015-08-30
....\...\stm32f10x_cec.d,1908,2015-08-30
....\...\stm32f10x_cec.o,381924,2015-08-30
....\...\stm32f10x_crc.crf,348081,2015-08-30
....\...\stm32f10x_crc.d,1908,2015-08-30
....\...\stm32f10x_crc.o,378972,2015-08-30
....\...\stm32f10x_dac.crf,350154,2015-08-30
....\...\stm32f10x_dac.d,1908,2015-08-30
....\...\stm32f10x_dac.o,382068,2015-08-30
....\...\stm32f10x_dbgmcu.crf,347871,2015-08-30
....\...\stm32f10x_dbgmcu.d,2007,2015-08-30
....\...\stm32f10x_dbgmcu.o,378216,2015-08-30
....\...\stm32f10x_dma.crf,351636,2015-08-30
....\...\stm32f10x_dma.d,1908,2015-08-30
....\...\stm32f10x_dma.o,382684,2015-08-30
....\...\stm32f10x_exti.crf,349087,2015-08-30
....\...\stm32f10x_exti.d,1941,2015-08-30
....\...\stm32f10x_exti.o,379924,2015-08-30
....\...\stm32f10x_flash.crf,355538,2015-08-30
....\...\stm32f10x_flash.d,1974,2015-08-30
....\...\stm32f10x_flash.o,389504,2015-08-30
....\...\stm32f10x_fsmc.crf,354043,2015-08-30
....\...\stm32f10x_fsmc.d,1941,2015-08-30
....\...\stm32f10x_fsmc.o,385568,2015-08-30
....\...\stm32f10x_gpio.crf,352026,2015-08-30
....\...\stm32f10x_gpio.d,1941,2015-08-30
....\...\stm32f10x_gpio.o,385420,2015-08-30
....\...\stm32f10x_i2c.crf,354457,2015-08-30
....\...\stm32f10x_i2c.d,1908,2015-08-30
....\...\stm32f10x_i2c.o,390660,2015-08-30
....\...\stm32f10x_it.crf,359376,2015-08-30
....\...\stm32f10x_it.d,2370,2015-08-30
....\...\stm32f10x_it.o,396180,2015-08-30
....\...\stm32f10x_iwdg.crf,348182,2015-08-30
....\...\stm32f10x_iwdg.d,1941,2015-08-30
....\...\stm32f10x_iwdg.o,378884,2015-08-30
....\...\stm32f10x_pwr.crf,349375,2015-08-30
....\...\stm32f10x_pwr.d,1908,2015-08-30
....\...\stm32f10x_pwr.o,380464,2015-08-30
....\...\stm32f10x_rcc.crf,355601,2015-08-30
....\...\stm32f10x_rcc.d,1908,2015-08-30
....\...\stm32f10x_rcc.o,389844,2015-08-30
....\...\stm32f10x_rtc.crf,349375,2015-08-30
....\...\stm32f10x_rtc.d,1908,2015-08-30
....\...\stm32f10x_rtc.o,381364,2015-08-30
....\...\stm32f10x_sdio.crf,352637,2015-08-30
....\...\stm32f10x_sdio.d,1941,2015-08-30
....\...\stm32f10x_sdio.o,387020,2015-08-30
....\...\stm32f10x_spi.crf,352501,2015-08-30
....\...\stm32f10x_spi.d,1908,2015-08-30
....\...\stm32f10x_spi.o,386752,2015-08-30
....\...\stm32f10x_tim.crf,370614,2015-08-30
....\...\stm32f10x_tim.d,1908,2015-08-30
....\...\stm32f10x_tim.o,413560,2015-08-30
....\...\stm32f10x_usart.crf,354139,2015-08-30
....\...\stm32f10x_usart.d,1974,2015-08-30

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

发表评论

0 个回复

  • c51
    单片机时钟编程,包括秒表,时钟以及闹钟,亲测可用,包括DSN文件(Microcontroller clock programming, including a stopwatch, clock, and alarm clock, pro-test are available, including DSN file)
    2013-07-24 11:39:55下载
    积分:1
  • 基于W5500 的IAP
    基于STM32单片机,通过W5500以太网芯片下载APP的IAP程序,实测正常使用。(Based on the STM32 microcontroller, download the APP IAP program through the W5500 Ethernet chip, and measure the normal usage.)
    2021-03-26 10:49:13下载
    积分:1
  • HeatMeter - 78F0485+GP22
    TDC-GP22编程开发及应用实例,适用于超声波时间测量,精度高(TDC-GP22 programming development)
    2020-08-30 17:58:10下载
    积分:1
  • 实验1 跑马灯实验
    说明:  stm32F407的跑马灯实验,库函数版本,原子哥的原版(stm32F407 Horse Lantern Experiments)
    2020-06-18 09:00:01下载
    积分:1
  • arith
    This is a simple arithmatic code for 8051
    2014-01-16 08:31:05下载
    积分:1
  • shumaguangdongtai
    数码管动态显示,单片机学习者的很好的学习资料 (Dynamic display of digital control, microcontroller good learners learning materials)
    2010-06-24 21:06:14下载
    积分:1
  • PT2579_Demo
    这个程序是RDS收音机的解码程序,RDS的付载波中包含中英文字的区位编码,通过接收后程序解码出中文或英语字符并显示在LCD上(This program is RDS radio decoder, RDS carrier is included in the payment of the location code word, decoding by the program after receiving a Chinese or English characters and displayed on the LCD)
    2021-03-26 17:19:13下载
    积分:1
  • duojitongxin
    多机通信,设计了一种基于MCS-51系列单片机AT89S52 的多机通信系统。当1号机与2号机通信时,1号单片机为主机,2号机为从机。主机通过串口向从单片机发送指定格式的数据,从单片机收数据并作出响应,从机通过LED数码管显示通信状态。1号单片机通过矩阵键盘控制通信过程与显示。这通信模式是主从模式,只能是主机发信息给从机。当1号机与3号机通信时,不存在主从机之分,是平权模式。1号机可以通过按键发信息给3号机,3号机也可以通过按键发信息给1号机,通过各自的数码管显示通信数据,LED灯显示通信状态。(Multi-machine communication, design a multi-machine communication system based on MCS-51 series single-chip AT89S52' s. When the 1st and the 2nd machine-machine communication, the 1st microcontroller host, the 2nd machine as a slave. Data sent to the host computer through the serial port specified format from SCM, SCM and respond to the received data from the slave via LED digital display communication status. 1 MCU control the communication process through the matrix keyboard and display. This mode of communication is a master-slave mode, the host can only send a message to the slave. When the 1st and the 3rd machine-machine communication, there is no slave master points, is affirmative mode. The 1st machine can send a message to the 3rd through the key machine, the 3rd machine can also send information via the button to the 1st machine, display data communication through their digital tube, LED lights display the communication status.)
    2014-04-05 15:46:44下载
    积分:1
  • Step-Motor-MSP430
    用msp430G2553 控制两相四线的步进电机(通过L298n),带正反转控制,可控制前进距离和顺/逆时针转动角度。(control the step motor with msp430G2553,including CW/CCW, whoes angle is adjustable.)
    2013-03-29 18:07:05下载
    积分:1
  • TIM1
    STM8单片机TIM1计数器精确定时后进入中断函数(STM8 microcontroller TIM1 counter precise timing after entering the interrupt function )
    2015-04-16 16:11:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载