E P I C B o a r d
************************************************************************************
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();
}
************************************************************************************
Appendix D Electrical Specifications for I/O Ports
{
{
{
);
LDN
);
LDN
);
Value
D-12
E P I C - Q M 7 7
{
{