// uart.h
UART_HARDWARE_READ_UCHAR UartHardwareReadUchar;
UCHAR UartHardwareReadUchar(
PUCHAR Address
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Reads a byte from the specified port or register.
AddressA pointer to a variable that contains the port or register address.
Returns the byte that is read from the specified port or register.
//Declaration
UART_HARDWARE_READ_UCHAR UartHardwareReadUchar;
// Definition
UCHAR UartHardwareReadUchar
(
PUCHAR Address
)
{...}
Register your implementation of this callback function by setting the ReadPort8 or ReadRegister8 member of the _UART_HARDWARE_ACCESS structure.