Welcome | spec | C-PLOT | Support | Users | Contact
 



Motors
Counters
MCA
Interfaces

    Hardware reference : Interfaces Controllers and General Input/Output : PC Port Input/Output

PC Port Input/Output




config file

PC_PORT # = base_address number_of_pots read_write_flag 

edconf:   INTERFACES screen
IO PORT                 ADDR  <>MODE  NUM 
    YES                0x300    Read    1 
    YES                0x310     R/W    4 
     NO 
     NO 
  
On ISA bus systems on 80x86-compatible systems and on HP 700 platforms with E/ISA bus support, the ports available for the built-in port_get() , port_getw() , port_put() and port_putw() functions are configured on the interfaces screen. The board's hexadecimal base address is given, along with the number of contiguous 8-bit ports (maximum of 16) that can be accessed. The ports can be configured for read-only access or for read-write access. Be careful not to select port addresses associated with standard PC hardware such as the video board or the hard disk! Also be sure to include enough 8-bit ports to handle 16-bit word access, if that is how you will be using the ports. On the HP platforms, a config file must also be set up in the /etc/eisa directory using the HP eisa_config utility.

Top