I2C_CALLBACKS 结构 (video.h)

I2C_CALLBACKS 结构包含指向由视频微型端口驱动程序实现的函数的指针,这些函数从 I2C 总线的串行数据和串行时钟行读取和写入数据。

语法

typedef struct _I2C_CALLBACKS {
  IN PVIDEO_WRITE_CLOCK_LINE WriteClockLine;
  IN PVIDEO_WRITE_DATA_LINE  WriteDataLine;
  IN PVIDEO_READ_CLOCK_LINE  ReadClockLine;
  IN PVIDEO_READ_DATA_LINE   ReadDataLine;
} I2C_CALLBACKS, *PI2C_CALLBACKS;

成员

WriteClockLine

指向由视频微型端口驱动程序实现的 WriteClockLine 函数的指针。

WriteDataLine

指向由视频微型端口驱动程序实现的 WriteDataLine 函数的指针。

ReadClockLine

指向由视频微型端口驱动程序实现的 ReadClockLine 函数的指针。

ReadDataLine

指向由视频微型端口驱动程序实现的 ReadDataLine 函数的指针。

要求

要求
Header video.h (包括 Video.h)

另请参阅

DDC_CONTROL

HwVidGetVideoChildDescriptor

I2C 函数

VideoPortDDCMonitorHelper