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.
Contains the mutable runtime state of a specific instance of a UART device.
Syntax
typedef struct _CPPORT {
PUCHAR Address;
ULONG BaudRate;
USHORT Flags;
UCHAR ByteWidth;
UART_HARDWARE_READ_INDEXED_UCHAR Read;
UART_HARDWARE_WRITE_INDEXED_UCHAR Write;
} CPPORT, *PCPPORT;
Members
Address
The base address of the UART registers.
BaudRate
The UART hardware's baud rate in bits per second.
Flags
A bitmask of the port's internal flags.
ByteWidth
The width of each of the UART hardware's registers as a number of bytes.
Read
A pointer to a UART_HARDWARE_READ_INDEXED_UCHAR callback function used to read from a register on the UART hardware.
Write
A pointer to a UART_HARDWARE_WRITE_INDEXED_UCHAR callback function used to write to a register on the UART hardware.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1803 |
| Header | uart.h |