summaryrefslogtreecommitdiff
path: root/src/CInt10FunProto.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2010-06-01 19:47:19 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2010-06-01 19:47:19 -0300
commitb54afa502e2c33ca0f812ed1e568b7d693d01083 (patch)
tree94d882d9ea46f41a06583bf69c8f291f8fd4909f /src/CInt10FunProto.h
parentc9ebd877197924bb97412019db498712f3b14d22 (diff)
Update to 0.7 versionHEAD0.7master
Diffstat (limited to 'src/CInt10FunProto.h')
-rw-r--r--src/CInt10FunProto.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/CInt10FunProto.h b/src/CInt10FunProto.h
index 922e894..bf1602d 100644
--- a/src/CInt10FunProto.h
+++ b/src/CInt10FunProto.h
@@ -18,7 +18,8 @@
* <jason.lin@rdc.com.tw>
*/
-/* internal functions prototype */
+
+
void SetVBERerurnStatus(USHORT VBEReturnStatus, CBIOS_ARGUMENTS *pCBiosArguments);
void SetTimingRegs(UCHAR ucDisplayPath, MODE_INFO *pModeInfo, RRATE_TABLE *pRRateTable);
@@ -149,3 +150,15 @@ CI_STATUS CheckForDSTNPanel(UCHAR bDeviceIndex);
USHORT GetVESAMEMSize();
void SetDeviceSupport();
+
+void I2CWriteClock(UCHAR I2CPort, UCHAR data);
+void I2CDelay(UCHAR I2CPort);
+void I2CWriteData(UCHAR I2CPort, UCHAR data);
+void I2CStart(UCHAR I2CPort);
+void SendI2CDataByte(UCHAR I2CPort, UCHAR Data);
+bool CheckACK(UCHAR I2CPort);
+UCHAR ReceiveI2CDataByte(UCHAR I2CPort, UCHAR I2CSlave);
+void SendNACK(UCHAR I2CPort);
+void I2CStop(UCHAR I2CPort);
+UCHAR ReadI2C(UCHAR I2CPort, UCHAR I2CSlave, UCHAR RegIdx, UCHAR* RegData);
+UCHAR WriteI2C(UCHAR I2CPort, UCHAR I2CSlave, UCHAR RegIdx, UCHAR RegData);