HP (Hewlett-Packard) PCI-9111DG/HR Manual De Usuario

Descargar
Página de 83
20 
 Registers Format 
3.13  Extended I/O Ports 
The PCI-9111 provides four extended input signals  and four extended 
output signals.  The signals are on the 37 pin connector.  The extended 
output signals can be read back from the high nibble (4 MSBs) of the 
extended input port. Note that the output EDO pins on CN3 (37 pin 
connector) can be set as one of the following mode by software. The 
definition of the setting value can be found in header file of the library 
ACL_PCI.H. 
 
1. EDO_INPUT        
EDO mode 1  
 
2. EDO_OUT_EDO       EDO mode 2  
 
3. EDO_OUT_CHN       EDO mode 3  
The output EDO value can be put on the EDO pins only when the EDO is 
set as mode 2.  Under mode 1, the EDO output value will not be put on the 
EDO pins, therefore the EDO signals are used as input only port.  Under 
mode 3, the EDO pins presents the high nibble (4 MSBs) of the AD 
channel number no matter auto channel scan (ASCAN) bit is set or not. 
Address: BASE + 4h 
Attribute: 
write only 
Data Format:  
Bit 
BASE+4h 
EDO3  EDO2  EDO1  EDO0 
BASE+5h 
Address: BASE + 4h 
Attribute: 
read only 
Data Format:  
Bit 
BASE+4h  EDO3  EDO2  EDO1  EDO0  EDI3  EDI2  EDI1  EDI0 
BASE+5h 
 
3.14  Digital I/O register 
There are 16 digital input channels and 16 digital output channels are 
provided by the PCI-9111. The address Base + 1C is used to access 
digital inputs and control digital outputs.  
Address: BASE + 2h 
Attribute: 
read only 
Data Format: