登录
首页 » C# » UART

UART

于 2020-07-31 发布 文件大小:6753KB
0 120
下载积分: 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 个回复

  • 1602QG
    F340 LCD1602 模块程序 (F340 LCD1602 module program)
    2011-05-12 23:08:46下载
    积分:1
  • PIC_RS232
    PIC单片机实现RS232-C串口通信,汇编语言(PIC microcontroller to realize RS232-C serial communication )
    2013-08-12 11:34:08下载
    积分:1
  • 以太网应用--LWIP移植(无操作系统)
    说明:  基于STM32F429实现以太网应用--LWIP移植(无操作系统)(Implementation of Ethernet Application Based on STM32F429--LWIP Porting (No Operating System))
    2020-06-24 09:40:07下载
    积分:1
  • Source-Code
    实现光伏微网逆变器的代码,使用microchip公司的16位芯片,开发环境采用mplab8.7以上,可用,无错误(Realization of photovoltaic grid-connected inverter micro-code, use the microchip company 16 chip development environment using mplab8.7 more available, error-free)
    2013-09-21 10:16:04下载
    积分:1
  • MDK-emWIN516
    NXP LPC1788 移植emWin516 图形界面工程样例,7寸LCD外扩 RAM和Flash。(NXP LPC1788 transplant emWin516 graphical interface engineering sample, 7-inch LCD external expansion RAM and Flash.)
    2013-11-14 16:20:18下载
    积分:1
  • SW-XEP100-PLL-Setup-CW47
    MC9S12XEP100 PLL时钟配置例程(MC9S12XEP100 PLL setup)
    2017-03-08 16:27:42下载
    积分:1
  • MSP430工具
    MSP430相关工具内含 MSP430BSL下载器,430波特率计算器,C430编译器的诊断信息等等(MSP430 related tools include MSP430BSL downloader, 430 baud rate calculator, diagnostic information of C430 compiler and so on.)
    2020-06-21 04:00:02下载
    积分:1
  • BLDC-ECET
    电动工具无刷电机控制解决方案,基于单片机控制的无刷电机驱动,可立即启停,高性能,低耗能,锂电池充电。(Electric tools brushless motor control solutions, brushless motor driver based on single chip microcomputer control, can immediately stop, high performance, low energy, lithium battery.)
    2020-08-15 22:28:26下载
    积分:1
  • angle-time
    用于计算同步电机发生三相短路故障时,功角随时间的变化关系。(For the calculation of the three-phase short circuit fault occurs synchronous motors, power angle changes with time.)
    2015-04-14 13:23:34下载
    积分:1
  • 74HC164
    74164串行口转并行口芯片驱动模块,使用EMC系列单片机(74164 serial port to parallel port chip driver module, using EMC Series MCU)
    2012-09-27 01:45:58下载
    积分:1
  • 696518资源总数
  • 104388会员总数
  • 18今日下载