E m b e d d e d B o x
T K S - G 5 0 - Q M 7 7
AppendixE Digital I/O Ports
E - 8
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(DIOLDN);
If (PinBit < Pin4Bit) {
IOWriteByte(SIOIndex, DirReg1);
TmpValue = IOReadByte(SIOData);
TmpValue &= (1 << PinBit);
TmpValue |= (Mode << PinBit);
IOWriteByte(SIOData, DirReg1);
} else
{
IOWriteByte(SIOIndex, DirReg2);
TmpValue = IOReadByte(SIOData);
TmpValue &= ~(1 << (PinBit – Pin4Bit));
TmpValue |= (Mode << (PinBit – Pin4Bit));
IOWriteByte(SIOData, DirReg2);
}
SIOExitMBPnPMode();
}
**************************************************************************
Summary of Contents for TKS-G50-QM77
Page 38: ...Embedded Box T K S G 5 0 Q M 7 7 Chapter 3 AMI BIOS Setup 3 1 AMI Chapter 3 BIOS Setup...
Page 98: ...Embedded Box T K S G 5 0 Q M 7 7 Appendix B I O Information B 1 I O Information Appendix B...
Page 99: ...SubCompact Board T K S G 5 0 Q M 7 7 Appendix B I O Information B 2 B 1 I O Address Map...
Page 100: ...Embedded Box T K S G 5 0 Q M 7 7 Appendix B I O Information B 3...
Page 101: ...SubCompact Board T K S G 5 0 Q M 7 7 Appendix B I O Information B 4 B 2 Memory Address Map...
Page 103: ...Embedded Box T K S G 5 0 Q M 7 7 Appendix C Mating Connector C 1 Mating Connector Appendix C...
Page 106: ...Embedded Box T K S G 5 0 Q M 7 7 Appendix D AHCI Setting D 1 AHCI Setting Appendix D...
Page 110: ...Embedded Box T K S G 5 0 Q M 7 7 AppendixE Digital I O Ports E 1 Digital I O Ports Appendix E...