登录
首页 » c » 串口高速接收命令

串口高速接收命令

于 2022-07-12 发布 文件大小:1.92 kB
0 120
下载积分: 2 下载次数: 1

代码说明:

1. //加入以下代码,支持printf函数,而不需要选择use MicroLIB   #if 1 #pragma import(__use_no_semihosting)              //标准库需要的支持函数                  struct __FILE  {  int handle;  };  FILE __stdout;        //定义_sys_exit()以避免使用半主机模式     void _sys_exit(int x)  {  x = x;  }  //重定义fputc函数  int fputc(int ch, FILE *f) {  while((USART1->SR&0X40)==0);//循环发送,直到发送完毕    USART1->DR = (u8) ch;       return ch;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SetThreadContext
    This code is the simple SetThreadContext code. This is suitable for beginner of Visual C++.
    2010-07-28 14:37:36下载
    积分:1
  • fuzzy
    说明:  基于C#的模糊雾化处理。 高斯雾化 C #-based processing of fuzzy atomization. Gaussian Atomization(C#-based processing of fuzzy atomization. Gaussian atomization C#-based processing of fuzzy atomization. Gaussian Atomization)
    2009-07-31 13:38:00下载
    积分:1
  • DevClient
    说明:  基于Windows CE 嵌入式操作系统的图片传输的客户端编程实现源码。(Windows CE-based embedded operating system image transmission source client-side programming.)
    2011-03-10 15:53:49下载
    积分:1
  • STM32F4xx中文参考手册
    说明:  stm32f4系列开发手册中文,方便查找用途广泛(Stm32f4 series development manual in Chinese, easy to find and widely used)
    2020-06-21 19:00:01下载
    积分:1
  • SAE-J1939
    J1939 中英文协议 英文的很全 中文的也很详细 分享给大家(J1939 protocol in English)
    2014-03-14 09:31:26下载
    积分:1
  • TI杯电赛论文
    【实例简介】
    2021-07-23 00:31:15下载
    积分:1
  • XC878mokuai
    这是针对XC878单片机的各模块的程序,包含有LCD,UART,AD,DA以及七段数码管等。适合移植和学习。(It is for each module XC878 microcontroller program includes LCD, UART, AD, DA, and seven-segment digital tubes. Suitable for transplant and learning.)
    2021-03-23 21:59:15下载
    积分:1
  • SHA-1
    SHA1算法、pdf资料、c代码、keil调试环境 (SHA1 algorithm, pdf information, c code, keil debugging environment)
    2013-10-23 11:48:11下载
    积分:1
  • lab16-EXRAM
    说明:  该实验程序先向外部 SRAM 写入数据再读出,每一个存储空间逐一比较是否正确,如果一致说明没有问题,最后才写入自然数。(The experimental program first writes data to external SRAM and then reads it out. Each storage space compares correctly one by one. If there is no problem, the natural number will be written in the end.)
    2020-06-17 01:40:01下载
    积分:1
  • C++代码 简单的入门代码
    C++学习代码,本代码中首先是对键盘输入的两个整数进行简单的加减乘除运算,并且编写自定义函数实现。第二部分是排序的学习,对于输入的一串数字进行从小到大排序后输出检验。
    2023-01-20 17:05:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载