inportw
Read word from I/O port
Declaration
Source position: go32.pp line 177
function inportw(port: Word) : Word;
Description
Reads 1 word from the selected I/O port.
Parameters:
- port
- the I/O port number which is read.
Return values: Current I/O port value.
Errors
None.
See also
Name | Description |
---|---|
inportb | Read byte from I/O port |
inportl | Read longint from I/O port |
outportw | Write word to I/O port |