ADLINK cPCI-7300 User Manual
Page 58

50
• C/C++ Libraries
DI8DO16: PORTA is 8-bit input and PORTB is 16-bit
output
DI16DO8: PORTA is 16-bit input and PORTB is 8-bit
output
DI16DO16: PORTA is 16-bit input and PORTB is
16-bit output
term_cntrl:
the terminator control
PAOFF_PBOFF: PORTA terminator OFF, PORTB
terminator OFF
PAOFF_PBON: PORTA terminator OFF, PORTB
terminator ON
PAON_PBOFF: PORTA terminator ON, PORTB
terminator OFF
PAON_PBON: PORTA terminator ON, PORTB terminator
ON
(note: term_cntrl is used to control the ON/OFF
of the active terminators, not terminal power
output: TERMPER)
cntrl_pol:
The polarity configuration. This argument is an
integer expression formed from one or more of the
manifest constants defined in 7300.h. There are
six groups of constants:
(1) DIREQ
DIREQ_POS: DIREQ signal is rising edge active
DIREQ_NEG:
DIREQ signal is falling edge active
(2) DIACK
DIACK_POS: DIACK signal is rising edge active
DIACK_NEG:
DIACK signal is falling edge active
(3) DITRIG
DITRIG_POS: DITRIG signal is rising edge active
DITRIG_NEG:
DITRIG signal is falling edge active
(4) DOREQ
DOREQ_POS: DOREQ signal is rising edge active
DOREQ_NEG: DOREQ signal is falling edge active
(5) DOACK
DOACK_POS: DOACK signal is rising edge active
DOACK_NEG: DOACK signal is falling edge active
(6) DOTRIG
DOTRIG_POS: DOTRIG signal is rising edge active
DOTRIG_NEG: DOTRIG signal is falling edge active
@ Return Code
NoError
PCICardNumErr
PCICardNotInit
InvalidDIOConfigure