class CDdcPortAccess : public CBase |
Adaptation API for VESA's E-DDC (Enhanced Display Data Channel) raw read
Public Member Functions | |
---|---|
~CDdcPortAccess () | |
IMPORT_C TUint | ApiVersion () |
void | CancelAll () |
IMPORT_C CDdcPortAccess * | NewL () |
TInt | Read ( TDdcPort , TUint , TDataBlock &, TRequestStatus &) |
Protected Member Functions | |
---|---|
CDdcPortAccess () | |
void | ConstructL () |
IMPORT_C TUint | ApiVersion | ( | ) | [static] |
Gets API version number. Compare this to KDdcAccessVersion, must match.
IMPORT_C CDdcPortAccess * | NewL | ( | ) | [static] |
Creates object. Method requires ECapabilityReadDeviceData capability.
TInt | Read | ( | TDdcPort | aDdcPort, |
TUint | aBlockNumber, | |||
TDataBlock & | aDataBlock, | |||
TRequestStatus & | aCompletedWhenRead | |||
) | [pure virtual] |
Starts DDC read from wanted port.
User should first read EMonitorPort, if there is EDID found, then read also EDisplayIdPort. If DisplayID is found from EMonitorPort, then it is not needed to read EDisplayIdPort.
DisplayID is "second generation" of EDID, and it is proposed to be used.
See the method reads one TDataBlock, and it size is double of one EDID block, so the first EDID read might get base-EDID and first extension, if exists. With variable size DisplayID, method reads anyway whole size of TDataBlock, even DisplayID section is smaller.
TDdcPort aDdcPort | DDC port which to be read |
TUint aBlockNumber | Datablock which to be read (parameter maps to segment-register 0x60) |
TDataBlock & aDataBlock | Method fills this with read values. Ensure that this data exists all the time, be careful if local variable. |
TRequestStatus & aCompletedWhenRead | Will be completed when ready, if no errors, then aDataBlock contains read values |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.