UART_SET_BAUD callback function (uart.h)
Changes the baud rate of the UART hardware.
Syntax
UART_SET_BAUD UartSetBaud;
BOOLEAN UartSetBaud(
[_Inout_] PCPPORT Port,
ULONG Rate
)
{...}
Parameters
[_Inout_] Port
A pointer to a _CPPORT structure that contains the address of the port object that describes the UART hardware.
Rate
The baud rate to set in bits per second.
Return value
Returns TRUE if the baud rate was programmed, FALSE otherwise.
Remarks
Register your implementation of this callback function by setting the appropriate member of UART_HARDWARE_DRIVER.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Header | uart.h |