Go to the first, previous, next, last section, table of contents.


inportw

Syntax

#include <pc.h>

unsigned short inportw(unsigned short _port);

Description

Read a single 16-bit I/O port.

This function is provided as an inline assembler macro, and will be optimized down to a single opcode when you optimize your program.

Return Value

The value returned through the port.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.