Share via


READ_PORT_USHORT (Compact 2013)

3/26/2014

This function reads a USHORT value from the specified port address.

Syntax

USHORT READ_PORT_USHORT(
  PUSHORT Port 
);

Parameters

  • Port
    [in] Pointer to the port that must be a mapped memory range in I/O space.

Return Value

Returns the USHORT value read from the specified port address.

The Port parameter refers to device hardware mapped into the CPU's address space using other CEDDK.dll functions.

Requirements

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll I/O Functions
Ceddk.dll