单片机串口printf函数自实现

上传者: jack__linux | 上传时间: 2023-01-03 14:49:50 | 文件大小: 1.24MB | 文件类型: ZIP
官方printf函数一次只能定向一个串口,而通过自实现的printf可实现任意串口同时发送。 实用举例:myprintf(USART3, "num1 = %d\tnum2 = %f\r\n", num1,num2);

文件下载

资源详情

[{"title":"( 62 个子文件 1.24MB ) 单片机串口printf函数自实现","children":[{"title":"my串口输出(2018-3-9 21.39)","children":[{"title":"MALLOC","children":[{"title":"malloc.h <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"malloc.c <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"SYSTEM","children":[{"title":"usart","children":[{"title":"usart.c <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"usart.h <span style='color:#111;'> 865B </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":"sys","children":[{"title":"stm32f4xx.h <span style='color:#111;'> 687.59KB </span>","children":null,"spread":false},{"title":"sys.c <span style='color:#111;'> 8.07KB </span>","children":null,"spread":false},{"title":"sys.h <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OBJ","children":[{"title":"delay.crf <span style='color:#111;'> 260.42KB </span>","children":null,"spread":false},{"title":"usart.o <span style='color:#111;'> 297.26KB </span>","children":null,"spread":false},{"title":"sys.o <span style='color:#111;'> 289.75KB </span>","children":null,"spread":false},{"title":"sys.d <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"sram.d <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"delay.o <span style='color:#111;'> 280.07KB </span>","children":null,"spread":false},{"title":"TEST.build_log.htm <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.lst <span style='color:#111;'> 73.83KB </span>","children":null,"spread":false},{"title":"TEST.sct <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"usart.crf <span style='color:#111;'> 271.28KB </span>","children":null,"spread":false},{"title":"led.crf <span style='color:#111;'> 259.69KB </span>","children":null,"spread":false},{"title":"malloc.o <span style='color:#111;'> 288.13KB </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;'> 1.06KB </span>","children":null,"spread":false},{"title":"malloc.crf <span style='color:#111;'> 259.16KB </span>","children":null,"spread":false},{"title":"sys.crf <span style='color:#111;'> 262.22KB </span>","children":null,"spread":false},{"title":"led.o <span style='color:#111;'> 275.04KB </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.o <span style='color:#111;'> 7.87KB </span>","children":null,"spread":false},{"title":"test.o <span style='color:#111;'> 284.29KB </span>","children":null,"spread":false},{"title":"led.d <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"test.crf <span style='color:#111;'> 269.37KB </span>","children":null,"spread":false},{"title":"delay.d <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.d <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"sram.crf <span style='color:#111;'> 269.23KB </span>","children":null,"spread":false},{"title":"malloc.d <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"usart.d <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"TEST.axf <span style='color:#111;'> 285.55KB </span>","children":null,"spread":false},{"title":"TEST.hex <span style='color:#111;'> 24.52KB </span>","children":null,"spread":false},{"title":"TEST.htm <span style='color:#111;'> 71.25KB </span>","children":null,"spread":false},{"title":"TEST.lnp <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"TEST.map <span style='color:#111;'> 106.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"keilkill.bat <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"USER","children":[{"title":"TEST_Target 1.dep <span style='color:#111;'> 9.46KB </span>","children":null,"spread":false},{"title":"TEST.uvgui_Tom.bak <span style='color:#111;'> 73.10KB </span>","children":null,"spread":false},{"title":"TEST.uvgui_Administrator.bak <span style='color:#111;'> 137.30KB </span>","children":null,"spread":false},{"title":"TEST_uvproj.bak <span style='color:#111;'> 16.22KB </span>","children":null,"spread":false},{"title":"startup_stm32f40_41xxx.s <span style='color:#111;'> 29.33KB </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 741B </span>","children":null,"spread":false},{"title":"JLinkSettings.ini <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"TEST.uvgui.dawn <span style='color:#111;'> 70.06KB </span>","children":null,"spread":false},{"title":"TEST.uvgui.Tom <span style='color:#111;'> 73.10KB </span>","children":null,"spread":false},{"title":"TEST_uvopt.bak <span style='color:#111;'> 13.02KB </span>","children":null,"spread":false},{"title":"TEST.uvproj <span style='color:#111;'> 16.67KB </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.Administrator <span style='color:#111;'> 136.84KB </span>","children":null,"spread":false},{"title":"TEST.uvopt <span style='color:#111;'> 13.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"readme.txt <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"HARDWARE","children":[{"title":"LED","children":[{"title":"led.h <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 789B </span>","children":null,"spread":false}],"spread":true},{"title":"SRAM","children":[{"title":"sram.c <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"sram.h <span style='color:#111;'> 1020B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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