Appendix C – Digital I/O Ports
84
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
************************************************************************************
Boolean SIOBitRead(byte LDN, byte Register, byte BitNum){
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
TmpValue = IOReadByte(SIOData);
TmpValue &= (1 << BitNum);
SIOExitMBPnPMode();
If(TmpValue == 0)
Return 0;
Return 1;
}
VOID ConfigToOutputMode(byte LDN, byte Register, byte BitNum){
Byte TmpValue, OutputEnableReg;
OutputEnableReg = Register-1;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, OutputEnableReg);
TmpValue = IOReadByte(SIOData);
TmpValue |= (1 << BitNum);
IOWriteByte(SIOData, OutputEnableReg);
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...