CPPORT structure (uart.h)
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for