Declaration:
unsigned char inportb(unsigned int port_num);
Description
Reads a value (byte) from the specified parallel port.
Returned value
The read byte.
Example
unsigned char val = inportb(0x3F8);