单片机串口printf函数自实现

时间:2021-03-31 17:03:18
【文件属性】:
文件名称:单片机串口printf函数自实现
文件大小:1.24MB
文件格式:ZIP
更新时间:2021-03-31 17:03:18
stm32 printf函数 USART 官方printf函数一次只能定向一个串口,而通过自实现的printf可实现任意串口同时发送。 实用举例:myprintf(USART3, "num1 = %d\tnum2 = %f\r\n", num1,num2);
【文件预览】:
my串口输出(2018-3-9 21.39)
----MALLOC()
--------malloc.h(3KB)
--------malloc.c(6KB)
----SYSTEM()
--------usart()
--------delay()
--------sys()
----OBJ()
--------delay.crf(260KB)
--------usart.o(297KB)
--------sys.o(290KB)
--------sys.d(645B)
--------sram.d(986B)
--------delay.o(280KB)
--------TEST.build_log.htm(270B)
--------startup_stm32f40_41xxx.lst(74KB)
--------TEST.sct(479B)
--------usart.crf(271KB)
--------led.crf(260KB)
--------malloc.o(288KB)
--------sram.o(287KB)
--------test.d(1KB)
--------malloc.crf(259KB)
--------sys.crf(262KB)
--------led.o(275KB)
--------startup_stm32f40_41xxx.o(8KB)
--------test.o(284KB)
--------led.d(684B)
--------test.crf(269KB)
--------delay.d(708B)
--------startup_stm32f40_41xxx.d(59B)
--------sram.crf(269KB)
--------malloc.d(670B)
--------usart.d(1KB)
--------TEST.axf(286KB)
--------TEST.hex(25KB)
--------TEST.htm(71KB)
--------TEST.lnp(387B)
--------TEST.map(107KB)
----keilkill.bat(399B)
----USER()
--------TEST_Target 1.dep(9KB)
--------TEST.uvgui_Tom.bak(73KB)
--------TEST.uvgui_Administrator.bak(137KB)
--------TEST_uvproj.bak(16KB)
--------startup_stm32f40_41xxx.s(29KB)
--------test.c(741B)
--------JLinkSettings.ini(650B)
--------TEST.uvgui.dawn(70KB)
--------TEST.uvgui.Tom(73KB)
--------TEST_uvopt.bak(13KB)
--------TEST.uvproj(17KB)
--------JLinkLog.txt(58KB)
--------TEST.uvgui_dawn.bak(69KB)
--------TEST.uvgui.Administrator(137KB)
--------TEST.uvopt(13KB)
----readme.txt(511B)
----HARDWARE()
--------LED()
--------SRAM()

网友评论