Omega Engineering OME-A826PG Computer Hardware User Manual


 
OME-A-826PG Software Manual [Win 95/98/NT]
3.2 DI/DO Function
3.2.1 A826_Di
Description :
This subroutine will read the 16 bits data from the digital input port.
Syntax :
WORD A826_DI(WORD wBase);
Parameter :
wBase : [Input] I/O port base address, for example, 0x220
Return Value :
16 bits data read from the digital input port
3.2.2 A826_Do
Description :
This subroutine will send the 16 bits data to digital output port.
Syntax :
void A826_DO(WORD wBase, WORD wHexValue);
Parameter :
wBase : [Input] I/O port base address, for example, 0x220
wHexValue : [Input] 16 bits data send to digital output port
Return Value :
Void
Date: Aug-15-2000 Ver: 2.2 Page 35