Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Writes a data byte to the UART device.
Syntax
UART_PUT_BYTE UartPutByte;
UART_STATUS UartPutByte(
[_Inout_] PCPPORT Port,
UCHAR Byte,
BOOLEAN BusyWait
)
{...}
Parameters
[_Inout_] Port
A pointer to a _CPPORT structure that contains the address of the port object that describes the UART hardware.
Byte
The byte to write to the UART hardware.
BusyWait
A flag to control whether this routine will busy-wait (spin) for the UART hardware to be ready to transmit.
Return value
Returns UART_STATUS-type value that indicates success or failure of the operation.
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 |