ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ddc.c File Reference
#include "videoprt.h"

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}}

Generated on Sun May 27 2012 06:09:54 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.