Kopīgot, izmantojot


UART_InitConfig Function

Header: #include <applibs/uart.h>

Initializes a UART config struct with the default UART settings. The default UART settings are 8 for dataBits, 0 (none) for parity, and 1 for stopBits.

void UART_InitConfig(UART_Config * uartConfig);

Parameters

  • uartConfig A pointer to a UART_Config object that returns the default UART settings.

Application manifest requirements

To access individual UARTs, your application must identify them in the Uart field of the application manifest.