Skip to content

Latest commit

 

History

History
84 lines (63 loc) · 1.63 KB

nc-uart-uart_hardware_read_indexed_uchar.md

File metadata and controls

84 lines (63 loc) · 1.63 KB
UID title description tech.root ms.date keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos f1_keywords topic_type api_type api_location api_name
NC:uart.UART_HARDWARE_READ_INDEXED_UCHAR
UART_HARDWARE_READ_INDEXED_UCHAR (uart.h)
Reads a byte from the port specified by index.
serports
10/19/2018
UART_HARDWARE_READ_INDEXED_UCHAR callback function
uart.h
Windows 10, version 1803
Windows
UART_HARDWARE_READ_INDEXED_UCHAR
uart/UART_HARDWARE_READ_INDEXED_UCHAR
apiref
UserDefined
uart.h
UART_HARDWARE_READ_INDEXED_UCHAR

UART_HARDWARE_READ_INDEXED_UCHAR callback function

-description

Reads a byte from the specified port.

-parameters

-param Port [In]

A pointer to a _CPPORT structure that was received during port initialization.

-param Index

A zero-based index for the port.

-returns

Returns the byte that is read from the specified port address.

-prototype

//Declaration

UART_HARDWARE_READ_INDEXED_UCHAR UartHardwareReadIndexedUchar;

// Definition

UCHAR UartHardwareReadIndexedUchar
(
	PCPPORT Port
	 const UCHAR Index
)
{...}

-remarks

Register your implementation of this callback function by setting the appropriate member of the _CPPORT structure.

-see-also

uart.h