小弟想要使用显卡的I2C跟显示器进行通信,并已经自己开发了一套软件!现在就剩下AMD/ATI显卡的通信没办法进行!!!小弟尝试使用ATIPDLXX.DLL进行开发已经能够控制显卡输出画面旋转分屏等,但就是没办法进行I2C通信
ATIDL_WriteAndReadI2C(ULONG, stATI_I2C *);
typedef struct tagATI_I2C
{
ULONG ulSize; // size of stATI_I2C
ULONG ulLine; // Numerical value representing hardware I2C
ULONG ulAddress; // The 7-bit I2C slave device address
ULONG ulOffset; // The offset of the data from the address
ULONG ulAction; // Read from or write to slave device
ULONG ulSpeed; // I2C clock speed in kHz
ULONG ulDataSize; // A numerical value representing the number of bytes to be sent or receive on the I2C bus
PUCHAR pucData; // Address of the unsigned characters which are to be sent or receive on the I2C bus
} stATI_I2C;
能否有达人能够给出详细的并且成功通信的Code,帮小弟解决这个问题!谢谢各位大大
http://www.cfanz.cn/index.php?c=article&a=read&id=225274
参考