登录
首页 » C# » UART

UART

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

  • dljs
    改程序适应于电力系统短路电流计算,生成节点导纳矩阵和阻抗矩阵。(Change program suitable for power system short-circuit current calculation, to generate the node admittance matrix and the impedance matrix.)
    2014-09-27 21:37:47下载
    积分:1
  • TI模拟前端芯ADS1292R基于STM32的驱动程序
    TI模拟前端芯片ADS1292R基于STM32的驱动程序。(The TI analog front end chip ADS1292R driver code based on STM32. )
    2020-09-06 22:18:05下载
    积分:1
  • ds18b20--lcd1602--chaoshengbo---c51
    超声波测距,ds18b20温度传感器测温度并补偿声速,LCD1602显示温度 距离,还有蜂鸣器报警( Ultrasonic ranging, ds18b20 temperature sensor measures the temperature and compensates the speed of sound, LCD1602 display temperature distance, as well as the buzzer alarm)
    2015-06-14 02:51:27下载
    积分:1
  • STC15_code
    IAP15F2k61s2的大部分资源示例(采取模块化编程,方便开发、移植)(Most resources IAP15F2k61s2 sample (taken modular programming, facilitate the development of transplant))
    2020-09-03 10:48:08下载
    积分:1
  • fdadf
    利用空气预热器加热电除尘器灰斗的技术经济性分析.(The use of air preheater heating ESP hopper technical and economic analysis.)
    2011-11-24 21:50:45下载
    积分:1
  • danpianjidianyabiaolunwen
    本报告介绍了基于AT89S52单片机为核心的、以AD0809数模转换芯片采样、以1602液晶屏显示的具有电压测量功能的具有一定精度的数字电压表。在实现基础功能要求之上扩展了串口通讯、时钟功能、高压报警、短路测试、电阻测量、交流电压峰峰值和周期测试等功能,使系统达到了良好的设计效果和要求。( This report describes on AT89S52 microcontroller as the core, to AD0809 DAC chip sampling, digital voltmeter with a certain precision voltage measurement function has LCD display with 1602. On the basis of the functional requirements to achieve extended serial communication, clock function, high pressure alarm, short circuit testing, resistance measurement, AC voltage peak value and cycle testing and other functions, allowing the system to achieve a good performance and design requirements. )
    2014-12-11 22:01:26下载
    积分:1
  • ACISbook
    ACIS的几何造型技术与系统开发,ACIS的几何造型技术与系统开发(ACIS geometric modeling technology and systems development,Books)
    2010-05-06 16:47:34下载
    积分:1
  • dzb
    这是我看了《十天学会单片机》(郭天祥的教程)第十课时写的,综合了矩阵键盘,串口通信,数码管 动态显示,定时器中断的简单时钟程序。用51电子网买的298元80C51单片机学习板 (http://www.51dz.com/n.asp?id=12519&i=xie343706382)测试时请将p1口用排线连到CZ2上,控制8位 数码管用。P0口用来检测矩阵键盘的,P3.0和P3.1是串口通信用,控制74H164N芯片段选8位数码管。 数码管显示内容为时分秒个两位,按下K16为设置按钮,按一下调节秒数,再按一下调节分钟,再按一 下调节小时。再按下退出,走时。调节时按K1至K10分别代表0到9。 我的QQ343706382,希望有喜欢单片机的朋友。和我联系。(This is what I read "10 days Singlechip Society" (郭天祥tutorials) written by the tenth class, integrated matrix keyboard, serial communications, digital tube dynamic display, a simple clock timer interrupt procedures. Electronic network with 51 of 298 yuan to buy 80C51 single-chip learning board (http://www.51dz.com/n.asp?id=12519)
    2009-01-26 09:14:51下载
    积分:1
  • firmware-map
    ad2s1200.c simple support for the ADI Resolver to Digital Converters.
    2014-03-31 11:48:30下载
    积分:1
  • K60ADC
    K60实现16bitadc采集,可移植性强。(K60 achieve 16bitadc collection, portability.)
    2021-03-24 09:19:15下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载