![]() |
NVAPI Reference Documentation
|
Release 396: April 5
|
#include <nvapi.h>
Used in NvAPI_I2CRead() and NvAPI_I2CWrite()
NvU8 NV_I2C_INFO_V3::bIsDDCPort |
This flag indicates either the DDC port (TRUE) or the communication port (FALSE) of the concerned display.
NvU32 NV_I2C_INFO_V3::bIsPortIdSet |
set this flag on if and only if portid value is set
NvU32 NV_I2C_INFO_V3::cbSize |
The size of the data buffer, pbData, to be read or written.
NvU32 NV_I2C_INFO_V3::displayMask |
The Display Mask of the concerned display.
NvU8 NV_I2C_INFO_V3::i2cDevAddress |
The address of the I2C slave. The address should be shifted left by one. For example, the I2C address 0x50, often used for reading EDIDs, would be stored here as 0xA0. This matches the position within the byte sent by the master, as the last bit is reserved to specify the read or write direction.
NvU32 NV_I2C_INFO_V3::i2cSpeed |
Deprecated, Must be set to NVAPI_I2C_SPEED_DEPRECATED.
NV_I2C_SPEED NV_I2C_INFO_V3::i2cSpeedKhz |
The target speed of the transaction in (kHz) (Chosen from the enum NV_I2C_SPEED).
NvU8* NV_I2C_INFO_V3::pbData |
The buffer of data which is to be read or written (depending on the command).
NvU8* NV_I2C_INFO_V3::pbI2cRegAddress |
The I2C target register address. May be NULL, which indicates no register address should be sent.
NvU8 NV_I2C_INFO_V3::portId |
The portid on which device is connected (remember to set bIsPortIdSet if this value is set) Optional for pre-Kepler
NvU32 NV_I2C_INFO_V3::regAddrSize |
The size in bytes of target register address. If pbI2cRegAddress is NULL, this field must be 0.
NvU32 NV_I2C_INFO_V3::version |
The structure version.