Skip to content
Ken Sharp edited this page Dec 8, 2023 · 1 revision

UartOpen()

Open the specified UART channel. The UART will be configured to use the highest supported baud rate that is less than or equal to the specified baud rate.

Syntax

UartOpen(unsigned char channel, unsigned long baudRate, unsigned long* actualBaud);

channel
The UART channel to open.

baudRate
The desired baud rate for the UART.

actualBaud
A pointer to an unsigned long that will be set to the actual baud rate used.

Returns

int status

Related Links

Clone this wiki locally