PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 68
A1-3: Digital I/O Functions
PCI82X_SetDIOMode32
This function is used to configure the mode to be used for the I/O ports (Port A and Port B) on a
specified board.
Syntax:
WORD
PCI82X_SetDIOMode32
(WORD wBoardNo,
WORD wDirection);
Parameters:
wBoardNo
[Input]
The board number (Base 0)
wDirection
[Input]
Configures the mode to be used for Digital I/O ports A and B as either Digital Input or
Digital Output, Bit 0 is Port A, and Bit 1 is Port B, as indicated below.
wDirection
Bit 1
Bit 0
0
Port B Input
Port A Input
1
Port B Output
Port A Output
Returns:
Appendix A1-1 Error Code Definitions