Appendix A – Watchdog Timer Programming
67
Fan
les
s E
mb
ed
ded
Bo
x
PC
BO
XE
R-
6951
-A01
-1
01
0 /
3
2.1
84
0.9
21
-00
************************************************************************************
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(byte LDN);
IOWriteByte(SIOIndex, Register);
TmpValue = IOReadByte(SIOData);
TmpValue &= ~(1 << BitNum);
TmpValue |= (Value << BitNum);
IOWriteByte(SIOData, TmpValue);
SIOExitMBPnPMode();
}
VOID SIOByteSet(byte LDN, byte Register, byte Value){
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
IOWriteByte(SIOData, Value);
SIOExitMBPnPMode();
}
************************************************************************************
Summary of Contents for BOXER-6951-A01-1010
Page 44: ...Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00 Chapter 3 Chapter 3 AMI BIOS Setup...
Page 83: ...Appendix B I O Information 70 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...
Page 86: ...Appendix B I O Information 73 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...
Page 87: ...Appendix B I O Information 74 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...