UART_HARDWARE_ACCESS structure (uart.h)
I/O functions and the function pointers used by the serial drivers to access the device hardware.
Syntax
typedef struct _UART_HARDWARE_ACCESS {
UART_HARDWARE_READ_UCHAR ReadPort8;
UART_HARDWARE_WRITE_UCHAR WritePort8;
UART_HARDWARE_READ_USHORT ReadPort16;
UART_HARDWARE_WRITE_USHORT WritePort16;
UART_HARDWARE_READ_ULONG ReadPort32;
UART_HARDWARE_WRITE_ULONG WritePort32;
UART_HARDWARE_READ_UCHAR ReadRegister8;
UART_HARDWARE_WRITE_UCHAR WriteRegister8;
UART_HARDWARE_READ_USHORT ReadRegister16;
UART_HARDWARE_WRITE_USHORT WriteRegister16;
UART_HARDWARE_READ_ULONG ReadRegister32;
UART_HARDWARE_WRITE_ULONG WriteRegister32;
UART_HARDWARE_READ_ULONG64 ReadRegister64;
UART_HARDWARE_WRITE_ULONG64 WriteRegister64;
} UART_HARDWARE_ACCESS, *PUART_HARDWARE_ACCESS;
Members
ReadPort8
A pointer to a UART_HARDWARE_READ_UCHAR callback function that reads from a port.
WritePort8
A pointer to a UART_HARDWARE_WRITE_UCHAR callback function that writes to a port.
ReadPort16
A pointer to a UART_HARDWARE_READ_USHORT callback function that reads from a port.
WritePort16
A pointer to a UART_HARDWARE_WRITE_USHORT callback function that writes to a port.
ReadPort32
A pointer to a UART_HARDWARE_READ_ULONG callback function that reads from a port.
WritePort32
A pointer to a UART_HARDWARE_WRITE_ULONG callback function that writers to a port.
ReadRegister8
A pointer to a UART_HARDWARE_READ_UCHAR callback function that reads from a register.
WriteRegister8
A pointer to a UART_HARDWARE_READ_UCHAR callback function that writes to a register.
ReadRegister16
A pointer to a UART_HARDWARE_READ_USHORT callback function that reads from a register.
WriteRegister16
A pointer to a UART_HARDWARE_WRITE_USHORT callback function that writes to a register.
ReadRegister32
A pointer to a UART_HARDWARE_READ_ULONG callback function that reads from a register.
WriteRegister32
A pointer to a UART_HARDWARE_WRITE_ULONG callback function that writes to a register.
ReadRegister64
A pointer to a UART_HARDWARE_READ_ULONG64 callback function that reads from the specified register.
WriteRegister64
A pointer to a UART_HARDWARE_WRITE_ULONG64 callback function that writes to the specified register.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 |
Header | uart.h |