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


inportb

Syntax

#include <pc.h>

unsigned char inportb(unsigned short _port);

Description

Read a single 8-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.