Aaeon PFM-CVS Manual page 122

Hide thumbs Also See for PFM-CVS:
Table of Contents

Advertisement

P C / 1 0 4 M o d u l e
************************************************************************************
SIOEnterMBPnPMode()
VOID   
 
IOWriteByte(SIOIndex, 0x87); 
 
IOWriteByte(SIOIndex, 0x87); 
 
SIOExitMBPnPMode()
VOID   
 
IOWriteByte(SIOIndex, 0xAA); 
 
SIOSelectLDN(byte LDN)
VOID   
IOWriteByte(SIOIndex, 0x07); // SIO LDN Register Offset = 0x07 
 
IOWriteByte(SIOData, 
 
SIOBitSet(byte LDN, byte Register, byte BitNum, byte Value)
VOID   
 
Byte TmpValue; 
 
 
SIOEnterMBPnPMode(); 
SIOSelectLDN(byte 
 
IOWriteByte(SIOIndex, Register); 
 
TmpValue = IOReadByte(SIOData); 
 
TmpValue &= ~(1 << BitNum); 
 
TmpValue |= (Value << BitNum); 
 
IOWriteByte(SIOData, TmpValue); 
 
SIOExitMBPnPMode(); 
 
SIOByteSet(byte LDN, byte Register, byte Value)
VOID   
 
SIOEnterMBPnPMode(); 
SIOSelectLDN(LDN); 
 
IOWriteByte(SIOIndex, Register); 
IOWriteByte(SIOData, 
SIOExitMBPnPMode(); 
************************************************************************************
); 
LDN
); 
LDN
); 
Value
Appendix D Electrical Specifications for I/O Ports
P F M - C V S R e v . B
D-9

Advertisement

Table of Contents
loading

Table of Contents