Aaeon EPIC-QM77 Manual page 139

Epic board. intel core i7/i5/i3/celeron processor supports ddr3/l 1333/1600 memory 18/24-bit single/dual channel lvds crt, dvi-i, hdmi 2 usb 3.0, 4 usb2.0, 6 coms, 2 sata 16-bit digital i/o co-lay with lpt
Table of Contents

Advertisement

E P I C B o a r d
************************************************************************************
SIOBitRead(byte LDN, byte Register, byte BitNum)
Boolean   
 
Byte TmpValue; 
 
 
SIOEnterMBPnPMode(); 
SIOSelectLDN(LDN); 
IOWriteByte(SIOIndex, Register); 
TmpValue = IOReadByte(SIOData); 
 
TmpValue &= (1 << BitNum); 
 
SIOExitMBPnPMode(); 
 
If(TmpValue == 0) 
 
 
Return 0; 
 
Return 1; 
ConfigToOutputMode(byte LDN, byte Register, byte BitNum)
VOID   
 
Byte TmpValue, OutputEnableReg; 
 
 
OutputEnableReg = Register‐1; 
 
SIOEnterMBPnPMode(); 
SIOSelectLDN(LDN); 
IOWriteByte(SIOIndex, OutputEnableReg); 
TmpValue = IOReadByte(SIOData); 
TmpValue |= (1 << BitNum); 
IOWriteByte(SIOData, OutputEnableReg); 
SIOExitMBPnPMode(); 
************************************************************************************
E P I C - Q M 7 7
Appendix D Electrical Specifications for I/O Ports
D-13

Advertisement

Table of Contents
loading

Table of Contents