Appendix C – Digital I/O Ports
82
Info
tain
me
nt
M
ult
i-T
ou
ch
P
an
el
PC
AC
P-
1074
************************************************************************************
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 ACP-1074
Page 78: ...Appendix B I O Information 65 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 81: ...Appendix B I O Information 68 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 82: ...Appendix B I O Information 69 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 83: ...Appendix B I O Information 70 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 84: ...Appendix B I O Information 71 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 85: ...Appendix B I O Information 72 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 86: ...Appendix B I O Information 73 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...
Page 87: ...Appendix B I O Information 74 Infotainment Multi Touch Panel PC ACP 1074 www texim europe com ...