Omega Engineering OME-A826PG 사용자 설명서

다운로드
페이지 60
OME-A-826PG Software Manual [Win 95/98/NT] 
3.2.3   A826_OutputByte 
 
•  Description :  
This subroutine will send the 8 bits data to the desired I/O port. 
 
•  Syntax :  
void A826_OutputByte(WORD wPortAddr,  UCHAR bOutputVal); 
 
•  Parameter : 
wPortAddr : 
[
Input
] I/O port address, for example, 0x220 
bOutputVal : 
[
Input
] 8 bits data send to I/O port 
 
•  Return Value :  
void 
 
 
 
 
 
 
 
3.2.4   A826_OutputWord 
 
•  Description :  
This subroutine will send the 16 bits data to the desired I/O port. 
 
•  Syntax :  
void A826_OutputByte(WORD wPortAddr,  WORD wOutputVal); 
 
•  Parameter :  
wPortAddr : 
[
Input
] I/O port address, for example, 0x220 
wOutputVal : 
[
Input
] 16 bits data send to I/O port 
 
•  Return Value :  
void 
 
 
Date: Aug-15-2000             Ver: 2.2                                                                                         Page  36