Function inport

Top 

Declaration:

unsigned int inport(unsigned int port_num);

Description

Reads a value (word) from the specified parallel port.

Returned value

The read word.

Example

unsigned int val = inport(0x300);