UART_HARDWARE_WRITE_USHORT callback function (uart.h)

Writes a USHORT value to the specified port or register.

Syntax

UART_HARDWARE_WRITE_USHORT UartHardwareWriteUshort;

void UartHardwareWriteUshort(
  PUSHORT Address,
  USHORT Value
)
{...}

Parameters

Address

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

Value

A USHORT value to be written to the port or register.

Return value

None

Remarks

Register your implementation of this callback function by setting the appropriate member of the _UART_HARDWARE_ACCESS structure.

Requirements

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

See also

uart.h