UART_HARDWARE_ACCESS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// uart.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-uart-_uart_hardware_access)

_UART_HARDWARE_ACCESS structure

Description

I/O functions and the function pointers used by the serial drivers to access the device hardware.

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.

Remarks

See also

UART_HARDWARE_DRIVER

_CPPORT

UART_STATUS

uart.h