单片机串口printf函数自实现(第二版)

上传者: jack__linux | 上传时间: 2021-08-29 17:14:01 | 文件大小: 1.22MB | 文件类型: ZIP
官方printf函数一次只能定向一个串口,而通过自实现的printf可实现任意串口同时发送。 实用举例:myprintf(USART3, "num1 = %d\tnum2 = %f\r\n", num1,num2); (该程序较之前上传的版本效率更高)

文件下载

资源详情

[{"title":"( 56 个子文件 1.22MB ) 单片机串口printf函数自实现(第二版)","children":[{"title":"printf()串口输出","children":[{"title":"SYSTEM","children":[{"title":"sys","children":[{"title":"sys.c <span style='color:#111;'> 8.07KB </span>","children":null,"spread":false},{"title":"stm32f4xx.h <span style='color:#111;'> 687.59KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"sys.h <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"delay","children":[{"title":"delay.c <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"delay.h <span style='color:#111;'> 994B </span>","children":null,"spread":false}],"spread":true},{"title":"usart","children":[{"title":"usart.c <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"usart.h <span style='color:#111;'> 879B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OBJ","children":[{"title":"usart.crf <span style='color:#111;'> 268.18KB </span>","children":null,"spread":false},{"title":"sram.crf <span style='color:#111;'> 269.23KB </span>","children":null,"spread":false},{"title":"malloc.o <span style='color:#111;'> 288.13KB </span>","children":null,"spread":false},{"title":"malloc.crf <span style='color:#111;'> 259.16KB </span>","children":null,"spread":false},{"title":"TEST.map <span style='color:#111;'> 94.25KB </span>","children":null,"spread":false},{"title":"TEST.sct <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"malloc.d <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"sram.d <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.lst <span style='color:#111;'> 73.83KB </span>","children":null,"spread":false},{"title":"delay.crf <span style='color:#111;'> 260.42KB </span>","children":null,"spread":false},{"title":"led.o <span style='color:#111;'> 275.04KB </span>","children":null,"spread":false},{"title":"usart.o <span style='color:#111;'> 292.39KB </span>","children":null,"spread":false},{"title":"usart.d <span style='color:#111;'> 959B </span>","children":null,"spread":false},{"title":"test.crf <span style='color:#111;'> 267.04KB </span>","children":null,"spread":false},{"title":"delay.d <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"TEST.build_log.htm <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"led.d <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"sram.o <span style='color:#111;'> 287.49KB </span>","children":null,"spread":false},{"title":"test.d <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"delay.o <span style='color:#111;'> 281.61KB </span>","children":null,"spread":false},{"title":"led.crf <span style='color:#111;'> 259.69KB </span>","children":null,"spread":false},{"title":"TEST.axf <span style='color:#111;'> 274.18KB </span>","children":null,"spread":false},{"title":"TEST.htm <span style='color:#111;'> 66.52KB </span>","children":null,"spread":false},{"title":"sys.o <span style='color:#111;'> 291.89KB </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.d <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"test.o <span style='color:#111;'> 281.96KB </span>","children":null,"spread":false},{"title":"sys.crf <span style='color:#111;'> 262.22KB </span>","children":null,"spread":false},{"title":"TEST.lnp <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"TEST.hex <span style='color:#111;'> 21.19KB </span>","children":null,"spread":false},{"title":"sys.d <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.o <span style='color:#111;'> 7.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"USER","children":[{"title":"TEST_uvopt.bak <span style='color:#111;'> 11.70KB </span>","children":null,"spread":false},{"title":"JLinkLog.txt <span style='color:#111;'> 58.14KB </span>","children":null,"spread":false},{"title":"TEST.uvgui_dawn.bak <span style='color:#111;'> 69.47KB </span>","children":null,"spread":false},{"title":"TEST.uvgui.dawn <span style='color:#111;'> 70.06KB </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"TEST.uvgui.Administrator <span style='color:#111;'> 136.84KB </span>","children":null,"spread":false},{"title":"TEST_Target 1.dep <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"TEST_uvproj.bak <span style='color:#111;'> 15.94KB </span>","children":null,"spread":false},{"title":"TEST.uvgui_Administrator.bak <span style='color:#111;'> 137.30KB </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.s <span style='color:#111;'> 29.33KB </span>","children":null,"spread":false},{"title":"TEST.uvgui_Tom.bak <span style='color:#111;'> 71.40KB </span>","children":null,"spread":false},{"title":"TEST.uvproj <span style='color:#111;'> 15.90KB </span>","children":null,"spread":false},{"title":"TEST.uvgui.Tom <span style='color:#111;'> 71.98KB </span>","children":null,"spread":false},{"title":"TEST.uvopt <span style='color:#111;'> 11.55KB </span>","children":null,"spread":false},{"title":"JLinkSettings.ini <span style='color:#111;'> 650B </span>","children":null,"spread":false}],"spread":false},{"title":"keilkill.bat <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 511B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • longforljy :
    和C库的printf完成度还有很大差距,实用价值不大
    2020-03-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明