UART_HARDWARE_READ_UCHAR callback function (uart.h)

Reads a byte from the specified port or register.

Syntax

UART_HARDWARE_READ_UCHAR UartHardwareReadUchar;

UCHAR UartHardwareReadUchar(
  PUCHAR Address
)
{...}

Parameters

Address

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

Return value

Returns the byte that is read from the specified port or register.

Remarks

Register your implementation of this callback function by setting the ReadPort8 or ReadRegister8 member of the _UART_HARDWARE_ACCESS structure.

Requirements

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

See also

uart.h