共用方式為


UART_InitConfig函數

頁首: #include < applibs/uart.h>

使用預設 UART 設定初始化 UART 設定結構。 預設的 UART 設定為 8 為 dataBits、0 (無同位) ,以及 1 為 stopBits。

void UART_InitConfig(UART_Config * uartConfig);

參數

  • uartConfig 指向傳回預設 UART 設定 之UART_Config 物件的指標。

應用程式資訊清單需求

若要存取個別 UART,您的應用程式必須在 應用程式資訊清單的 Uart 欄位中識別這些 UART。