iic.h
来自「driver wdk」· C头文件 代码 · 共 26 行
H
26 行
extern int bIICError;
int IICWrite(PDEVICE_EXTENSION pDE,unsigned char uAddr, unsigned char uSubAddr, unsigned char nByte);
unsigned char IICRead(PDEVICE_EXTENSION pDE,unsigned char uAddr, unsigned char uSubAddr);
int _IICWrite(PDEVICE_EXTENSION pDE,unsigned char uAddr, unsigned char uSubAddr, unsigned char nByte);
unsigned char _IICRead(PDEVICE_EXTENSION pDE,unsigned char uAddr, unsigned char uSubAddr);
void IICAbort(PDEVICE_EXTENSION pDE);
void UploadI2c(PDEVICE_EXTENSION pDE);
void OpenIIC(PDEVICE_EXTENSION pDE);
int WaitIICAck(PDEVICE_EXTENSION pDE);
int WriteUserInformation(PDEVICE_EXTENSION pDE, int nOffset, int nLength, char *pBuf);
int ReadUserInformation(PDEVICE_EXTENSION pDE, int nOffset, int nLength, char *pBuf);
int IICWriteBytes(PDEVICE_EXTENSION pDE, unsigned char bySub, int nWrite, unsigned char *pBuf);
#define EEPOFF_VOLUME 6
#define EEPOFF_SERIALNO 7
void GetBoardInformation(PDEVICE_EXTENSION pDE);
//I2c subaddress
#define IIC_SUB_EEP 0xa0
#define IIC_SUB_VIP 0x48
#define IIC_SUB_VIP2 0x4a
#define IIC_SUB_ENC 0x54
#define IIC_SUB_TUNER 0xc6
#define IIC_SUB_OSD 0x7a
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?