Go to the source code of this file.
Defines |
| #define | DDC_EEPROM_ADDRESS 0xA0 |
| #define | LOW 0 |
| #define | HIGH 1 |
| #define | WRITE 0 |
| #define | READ 1 |
| #define | READ_SDA() (i2c->ReadDataLine(HwDeviceExtension)) |
| #define | READ_SCL() (i2c->ReadClockLine(HwDeviceExtension)) |
| #define | WRITE_SDA(state) (i2c->WriteDataLine(HwDeviceExtension, state)) |
| #define | WRITE_SCL(state) (i2c->WriteClockLine(HwDeviceExtension, state)) |
| #define | DELAY_HALF() KeDelayExecutionThread(KernelMode, FALSE, &HalfPeriodDelay) |
Functions |
| static BOOL | I2CWrite (PVOID HwDeviceExtension, PI2C_CALLBACKS i2c, UCHAR Data) |
| static UCHAR | I2CRead (PVOID HwDeviceExtension, PI2C_CALLBACKS i2c, BOOL Ack) |
| static VOID | I2CStop (PVOID HwDeviceExtension, PI2C_CALLBACKS i2c) |
| static BOOL | I2CStart (PVOID HwDeviceExtension, PI2C_CALLBACKS i2c, UCHAR Address) |
| static BOOL | I2CRepStart (PVOID HwDeviceExtension, PI2C_CALLBACKS i2c, UCHAR Address) |
| BOOLEAN NTAPI | VideoPortDDCMonitorHelper (PVOID HwDeviceExtension, PVOID I2CFunctions, PUCHAR pEdidBuffer, ULONG EdidBufferSize) |
Variables |
| static LARGE_INTEGER | HalfPeriodDelay = {{0, 70}} |