UART_HARDWARE_WRITE_UCHAR callback function (uart.h)

Writes a byte to the port specified by address.

Syntax

UART_HARDWARE_WRITE_UCHAR UartHardwareWriteUchar;

void UartHardwareWriteUchar(
  PUCHAR Address,
  UCHAR Value
)
{...}

Parameters

Address

A pointer to a variable that contains the port or register address.

Value

Specifies a byte to be written to the port or register.

Return value

None

Remarks

Register your implementation of this callback function by setting the WritePort8 or WriteRegister8 member of the _UART_HARDWARE_ACCESS structure.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Header uart.h

See also

uart.h