Omega Engineering OME-A826PG 사용자 설명서

다운로드
페이지 60
OME-A-826PG Software Manual [Win 95/98/NT] 
 
3.2.5   A826_InputByte 
 
•  Description :   
This subroutine will input the 8 bits data from the desired I/O port. 
 
•  Syntax :  
WORD A826_InputByte(WORD wPortAddr); 
 
•  Parameter : 
wPortAddr : 
[
Input
] I/O port address, for example, 0x220 
 
•  Return Value :  
16 bits data with the leading 8 bits are all 0 
 
 
 
 
 
 
 
 
3.2.6   A826_InputWord 
 
•  Description :  
This subroutine will input the 16 bits data from the desired I/O port. 
 
•  Syntax :  
WORD DIO_InputWord(WORD wPortAddr); 
 
•  Parameter :  
wPortAddr  
: [
Input
] I/O port address, for example, 0x220 
 
•  Return Value :   
16 bits data.  
 
 
 
 
Date: Aug-15-2000             Ver: 2.2                                                                                         Page  37