UART_HARDWARE_READ_USHORT callback function (uart.h)
Reads a USHORT value from the specified port or register.
Syntax
UART_HARDWARE_READ_USHORT UartHardwareReadUshort;
USHORT UartHardwareReadUshort(
PUSHORT Address
)
{...}
Parameters
Address
A pointer to a variable that contains the port or register address.
Return value
Returns USHORT that is read from the specified port or register.
Remarks
Register your implementation of this callback function by setting the ReadPort16 or ReadRegister16 member of the _UART_HARDWARE_ACCESS structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Header | uart.h |