Di/do function, A826_di, A826_do – Omega Engineering OME-A826PG User Manual

Page 37: 2 di/do, Function, 1 a826_di 3.2.2 a826_do, 2 di/do function, 1 a826_di, 2 a826_do

Advertising
background image

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

Advertising