登录
首页 » C# » UART

UART

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

  • 独立看门狗实验
    说明:  stm32看门狗实验,独立看门狗实验。应用stm32f103rct6(stm32watchdog experiment)
    2020-03-05 10:04:28下载
    积分:1
  • Fisica-Quantica---Lista-03-(Max)
    Lista 03 de Fisica Quantica (Max) da Universidade Federal do ABC.
    2016-07-21 23:25:15下载
    积分:1
  • diangong
    这是我学校电子工程设计的一个题目,是一个基于温度传感器的系统开发,包括了驱动电路,变送器,电源,AD,DA(This is a school of electronic engineering topics, is a temperature sensor-based system development, including a driver circuit, transmitter, power supply, AD, DA)
    2011-11-13 16:57:15下载
    积分:1
  • STM32f407_GPIO
    this is an example of working LED_GPIO in stm32f407 discovery dev board
    2015-05-29 21:49:18下载
    积分:1
  • MCU
    Multi-chip communication can be used to see it(Multi-chip communication can be used to see it )
    2013-11-22 10:24:45下载
    积分:1
  • SMBus
    EEPROM 多位地址数据随机,连续读写(I2C protocol between C51 MCU and EEPROM)
    2017-07-26 09:41:17下载
    积分:1
  • dmx232_250
    灯光协议的DMX12 的源代码,单片机编写(mifare)
    2010-10-28 17:26:52下载
    积分:1
  • en.DM00354244
    Several ways to debug STM32 uC
    2018-02-07 17:57:41下载
    积分:1
  • 使用库函数点亮一个LED
    说明:  使用库函数的方式对LED进行配置,将LED进行点亮处理(Use the library function to configure the LED and light it up)
    2020-10-25 16:53:07下载
    积分:1
  • kdfd
    宽频放大器,有以下功能: 预置增益,增益加/减,显示输出电压有效值,自动增益 显示有效值. 增益输入及加减 自动增益没有实现(Wideband amplifier has the following functions: Preset gain, gain plus/minus, the display output voltage RMS, automatic gain display rms. AGC gain input and subtraction is not implemented)
    2013-07-19 21:19:44下载
    积分:1
  • 696518资源总数
  • 104655会员总数
  • 54今日下载