登录
首页 » C# » UART

UART

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

  • mpu9250_zupt
    基于零速更新算法的步态检测,在STM32单片机上实现,效果很好,可以计算出位移,角度等。(Based on the zero-speed update algorithm gait detection, STM32 microcontroller to achieve, the effect is very good, you can calculate the displacement, angle and so on.)
    2017-03-13 14:36:42下载
    积分:1
  • stm32 485实验
    说明:  基于stm32的485编程范例,RS-485采用平衡发送和差分接收,因此具有抑制共模干扰的能力。(Based on the 485 programming paradigm of stm32, RS-485 uses balanced transmission and differential reception, so it has the ability to suppress common mode interference.)
    2020-06-15 22:50:02下载
    积分:1
  • uart_4lineLCD1602_keycode_buzz
    使用到蜂鸣器、Lcd1602、ZLG7289和串口,键盘实现加法器,控制LCD1602和蜂鸣器音乐播放。借助串口调试助手,可以用电脑发送字符,替代键盘,完成上述三种功能。(To use the buzzer, Lcd1602, ZLG7289 and serial port, a keyboard adder, and a buzzer control LCD1602 music player. With serial debugging assistant, a computer can send characters, instead of the keyboard, the above three functions.)
    2016-07-23 18:58:08下载
    积分:1
  • atcmd
    GSM模块AT命令组装和AT命令响应解析程序。实现了自动组装标准AT命令并发送到GSM模块,同时可以提取GSM模块输出的所有AT命令,同时实现了大量AT命令响应的解析工作。主要的过程采用了Contiki的进程模型。(Making and parsing routine for AT commands of GSM module. It can automatically make standard AT commands and sent it to GSM module, while it can get all the AT commands sending GSM module, and analysis a large number of AT command responses. The main process uses a process model of Contiki.)
    2020-11-23 15:59:33下载
    积分:1
  • SLE442duxie
    c51单片机的sle4442卡的读写加密验证程序 已通过(c51 microcontroller sle4442 card reader encrypted authentication procedure has been adopted)
    2013-10-27 09:15:38下载
    积分:1
  • AD7991Test
    ad7991测试程序,需要自己填写控制字(ad7991 testing procedures need to fill their own control word)
    2016-02-27 21:41:50下载
    积分:1
  • DS3231
    基于STC单片机系列开发,本源码基于STC15W4K56S4开发,IIC控制实时时钟芯片DS3231,开发者可通过更改IIC控制引脚定义,可直接用于不同种类的单片机,直接调用函数即可实现时间设置及时间读取,以及相关配置。(STC microcontroller family based on the development, the source STC15W4K56S4 based development, IIC control the real-time clock chip DS3231, developers can change the IIC control pin definitions, can be directly used for different types of single-chip, direct call function can be realized time setting and the time to read take, and related configurations.)
    2020-06-29 05:40:01下载
    积分:1
  • CH376_test
    基于STM32内部的SPI模块通过CH376芯片进行与U盘进行数据交换,通过该程序可以了解文件系统知识。(Based on STM32 internal CH376 chip SPI module to exchange data with the U disk, through the program can understand the file system knowledge.)
    2011-11-06 12:26:39下载
    积分:1
  • 2G_SD
    基于51的2GSD卡以下的彩屏程序,亲测成功,与大家一起分享(Program based on the following 51 2GSD card color screen, pro measuring success, and to share with you)
    2013-04-16 17:38:07下载
    积分:1
  • 16、EEPROM(24C02)
    说明:  简单的教学程序。注释清晰,完整的教学,最快掌握。(Simple teaching procedure. Clear notes)
    2020-05-01 15:19:57下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载