diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2010-06-01 19:47:19 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2010-06-01 19:47:19 -0300 |
commit | b54afa502e2c33ca0f812ed1e568b7d693d01083 (patch) | |
tree | 94d882d9ea46f41a06583bf69c8f291f8fd4909f /src/CInt10FunProto.h | |
parent | c9ebd877197924bb97412019db498712f3b14d22 (diff) |
Diffstat (limited to 'src/CInt10FunProto.h')
-rw-r--r-- | src/CInt10FunProto.h | 15 |
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); |