Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |