登录
首页 » C# » UART

UART

于 2020-07-31 发布 文件大小:6753KB
0 189
下载积分: 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 初级篇 中级篇 系统篇
    零死角玩转STM32 初级篇 中级篇 系统篇.zip(Zero Dead Corner Play STM32 Junior Intermediate Systematic Paper.zip)
    2020-06-25 11:00:01下载
    积分:1
  • RS485
    这是基于飞思卡尔十六位单片机的RS485通信的例程(freescale RS485 routine)
    2014-09-16 09:15:43下载
    积分:1
  • 无线充电小车
    18年电赛TI杯无线充电车所有文件(包括代码及PCB)(All documents (including code and PCB) of TI Cup Wireless Charging Vehicle in the 18-year tournament)
    2020-06-21 10:20:01下载
    积分:1
  • 05_数码管显示0-9
    基于51单片机的LED 0-9显示,浅显易懂(LED 0-9 Display Based on 51 Single Chip Microcomputer)
    2020-06-17 19:20:02下载
    积分:1
  • stm32f4-usb-mouse-host
    stm32f4 的usb鼠标主机程序,简单的修改即可成为自己的工程(stm32f4 usb mouse host)
    2015-11-20 20:22:08下载
    积分:1
  • EXTI
    STM8 固件库实现PC,PE口外部中断(STM8 firmware library implements PC, PE port External interrupt)
    2013-06-19 16:57:20下载
    积分:1
  • I2C_SHT21
    说明:  I2C_SHT21 温湿度传感器测量 I2C 读取SHT21 温湿度传感器 SHT21驱动库有两种操作模式,适合不同操作 自动转换测量模式: 1:启动任意一个测量指令,例如测量温度执行 measureT(); 2:延时200ms 3:读取测量后的数值, autoMeasure(float * th); 该函数读取测量得出的数据,并根据数据的类型进行转化,再自动启动下一个类型的测量 指定转换测量模式: 1:先启动一次测量,例如测量温度执行 measureT(); 2:延时200ms 3:读取测量后的数值,例如读取温度执行readT();(2C_ SHT21 temperature and humidity sensor measurement I2C read SHT21 temperature and humidity sensor SHT21 driver library has two operation modes, which are suitable for different operations Automatic conversion of measurement mode: 1: Start any measurement command, for example, measure the temperature and execute measure(); 2: Delay 200ms 3: Read the measured value and Automeasure (float * th); This function reads the measured data, converts it according to the data type, and then automatically starts the next type of measurement Specify the conversion measurement mode: 1: Start a measurement first, for example, measure the temperature; 2: Delay 200ms 3: Read the measured value, for example, read the temperature and execute readt();)
    2020-08-27 14:44:39下载
    积分:1
  • Timer
    本程序主要是在C++ Builder基础上实现一个时钟显示功能,能够与本机时间同步,是一个适合新手学习的程序!(This program is mainly based on the C++ Builder to implement a clock display, can be synchronized with the local time, the program is suitable for a novice to learn!)
    2020-09-08 10:38:02下载
    积分:1
  • MCNP3B
    核专业MCNP4中文说明书,此南华大学内部资料,程序用于辐射屏蔽 中子模拟 剂量计算等等 核专业人士必备。(Instructions of the nuclear professional MCNP4 Chinese, Nanhua University internal information program for radiation shielding the neutron simulation dose calculation nuclear professionals essential.)
    2012-12-17 21:54:57下载
    积分:1
  • Analogmeter
    模拟电表软件,主要模拟电表数据、遥测数据、参数修改、报文显示、可以模拟2个电表(可以自行修改增加),最终通过RS232转485输出。。。(Analog meter software, the main analog meter data, telemetry data, parameter modification, message displays, you can simulate two meters (which can be modified to increase its own), the final output through the RS232 switch 485. . .)
    2021-04-12 22:48:56下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载