Asus AAEON BOXER-6615 User Manual page 99

Fanless embedded box pc
Table of Contents

Advertisement

}
VOID AaeonSetOutputLevel(byte PinBit, byte Value){
ConfigDioMode(PinBit, OutputPin);
SIOBitSet(DIOLDN, OutputReg_L, PinBit, Value);
}
********************************************************************************
********************************************************************************VOID
SIOEnterMBPnPMode(){
IOWriteByte(SIOIndex, 0x87);
IOWriteByte(SIOIndex, 0x87);
}
VOID SIOExitMBPnPMode(){
IOWriteByte(SIOIndex, 0xAA);
}
VOID SIOSelectLDN(byte LDN){
IOWriteByte(SIOIndex, 0x07); // SIO LDN Register Offset = 0x07
IOWriteByte(SIOData, LDN);
}
VOID SIOBitSet(byte LDN, byte Register, byte BitNum, byte Value){
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
Appendix C – Digital I/O Information
86

Advertisement

Table of Contents
loading

Table of Contents