home *** CD-ROM | disk | FTP | other *** search
- @node inportb, cpu
- @subheading Syntax
-
- @example
- #include <pc.h>
-
- unsigned char inportb(unsigned short _port);
- @end example
-
- @subheading 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.
-
- @subheading Return Value
-
- The value returned through the port.
-