FAQ
- M051 Base Series(95)
- M0518 Series(97)
- M0519 Series(43)
- M0564 Series(1)
- Mini51 Base Series(90)
- Nano100/102 Base Series(101)
- Nano103 Base Series(10)
- Nano110/112 LCD Series(100)
- Nano120 USB Series(111)
- Nano130 Advanced Series(110)
- NUC029 Series(94)
- NUC100/200 Advanced Series(102)
- NUC120/122/123/220 USB Series(116)
- NUC121/125 Series(1)
- NUC126 USB Series(2)
- NUC130/230 CAN Series(103)
- NUC131/NUC1311 CAN Series(98)
- NUC140/240 Connectivity Series(114)
Products
Applications
Function
+
常見問答
當透過printf()處理訊息的時候,如何知道使用哪一組UART傳輸? 日期:2015-10-16
在使用者開發應用程式的過程中,往往需要使用printf()處理訊息,方便除錯。如果NuMicro®系列支援的UART不只一組,我們藉由定義”retarget.c”中的DEBUG_PORT,決定printf()是使用哪一組UART傳輸。預設為UART0。
使用者可以更改DEBUG_PORT的定義改變printf()的傳輸埠,以符合自己的系統架構。
| 產品: | 微控制器 ,Arm Cortex-M0 微控制器 ,M051 系列 ,M0518 系列 ,M0519 系列 ,Nano100 / 102 系列 ,Nano110 / 112 LCD 系列 ,Nano120 USB 系列 ,Nano130 USB+LCD 系列 ,NUC029 系列 ,NUC100 / 200 系列 ,NUC120 / 122 / 123 / 220 USB 系列 ,NUC130 / 230 CAN 系列 ,NUC131/NUC1311 CAN 系列 ,NUC140 / 240 USB+CAN 系列 ,Arm Cortex-M4 微控制器 ,M451 Base 系列 ,M451M 系列 ,M452 USB 系列 ,M453 CAN 系列 ,NUC442 / 472 系列 ,NUC505 系列 |
|---|---|
| 應用: | |
| 功能: | Peripherals,Connectivity,UART,Software and Tools,Development-Environment,BSP Software Library |