Latest news: November 14, 2008
Advanced WiFi-Manager v3.2 released!
October 21, 2008
WinI2C/DDC Lite v3.22 released!
October 20, 2008
Advanced WiFi-Manager v3.1 released!
October 17, 2008
WinI2C/DDC v3.22 released!
| | |
|
WinI2C/DDC: Developer's Guide
|
WinI2C/DDC Constants
Constants for low level DDC bus access:
| I2C_READ | 0x0001 - Read buffer (Length<=128 byte) |
| I2C_WRITE | 0x0002 - Write bufer (Length<=128 byte) |
| I2C_RESET | 0x0008 - Reset I2C |
| NO_STOP_BIT | 0x0100 - No stop bit |
| NO_ADDR_PART | 0x1000 - No address part |
Constants for GetMonitorGain and
SetMonitorGain functions:
| GAINTYPE_RED | 0x00 |
| GAINTYPE_GREEN | 0x01 |
| GAINTYPE_BLUE | 0x02 |
Constants for GetMonitorDisplayAreaPosition and
SetMonitorDisplayAreaPosition functions:
| POSTYPE_X | 0x00 |
| POSTYPE_Y | 0x01 |
Constants for GetMonitorDisplayAreaSize and
SetMonitorDisplayAreaSize functions:
| SIZETYPE_WIDTH | 0x00 |
| SIZETYPE_HEIGHT | 0x01 |
Constants for GetMonitorTechnologyType function:
| TECHNOLOGY_MASKCRT | 0x01 |
| TECHNOLOGY_GRILLCRT | 0x02 |
| TECHNOLOGY_TFT | 0x03 |
| TECHNOLOGY_LCOS | 0x04 |
| TECHNOLOGY_PLASMA | 0x05 |
| TECHNOLOGY_OLED | 0x06 |
| TECHNOLOGY_EL | 0x07 |
| TECHNOLOGY_MEM | 0x08 |
| TECHNOLOGY_FED | 0x09 |
Constants for SetMonitorPowerMode function:
| POWER_ON | 0x01 |
| POWER_STANDBY | 0x02 |
| POWER_SUSPEND | 0x03 |
| POWER_OFF | 0x04 |
Constants for GetLibraryOption
and SetLibraryOption functions:
| OPT_COMMLOGIC | 0x00 - communication logic option (for possible values refer to COMMLOGIC_ constants) |
| OPT_I2CFREQ | 0x01 - I2C frequency option (value must be in Hz, default value is 20000) |
| OPT_I2CTIMEOUT | 0x02 - I2C timeout option (value must be in microseconds, default value is 2500) |
| OPT_RAWBUS | 0x03 - raw I2C buses mode (1 - enabled, 0 - disabled, default is 0). In raw buses mode the library returns
all I2C buses available (without checking EDID or anything else) |
Constants for OPT_COMMLOGIC option:
| COMMLOGIC_MODE1 | 0x01 - native communication and if nothing found then ask video driver |
| COMMLOGIC_MODE2 | 0x02 - native communication only |
| COMMLOGIC_MODE3 | 0x03 - native communication and then ask video driver |
| COMMLOGIC_MODE4 | 0x04 - no native communication, ask video driver only |
| COMMLOGIC_MODE5 | 0x05 - ask video driver and if nothing found then native communication |
Constants for GetEDIDOption function:
| EDID_PNPID | 0x01 |
| EDID_MANUFACTURER | 0x02 |
| EDID_OPTIMALRESX | 0x03 |
| EDID_OPTIMALRESY | 0x04 |
| EDID_SERIALNUMBER | 0x05 |
| EDID_MONITORNAME | 0x06 |
| EDID_MINHFREQ | 0x07 |
| EDID_MAXHFREQ | 0x08 |
| EDID_MINVFREQ | 0x09 |
| EDID_MAXVFREQ | 0x0A |
| EDID_GAMMA | 0x0B |
| EDID_MANUFACTUREDATE | 0x0C |
| EDID_INPUTTYPE | 0x0D (possible return values are: "DIGITAL" and "ANALOG") |
| EDID_HSIZE | 0x0E |
| EDID_VSIZE | 0x0F |
| EDID_ASPECTRATIO | 0x10 (possible return values are: "4x3", "16x10", "5x4" and "16x9") |
| EDID_POWERMAN | 0x11 (return value: "STANDBY:x SUSPEND:x LOWPOWER:x") |
| EDID_VERSION | 0x12 (return value is version in format "x.x" |
| EDID_DISPLAYTYPE | 0x13 (possible return values are: "Monochrome/Grayscale", "RGB Color", "Non RGB Color" and "Unknown") |
|
|