NVAPI Reference Documentation
NVIDIA
Release 361: January 27
2016

Data Fields
NV_I2C_INFO_V3 Struct Reference

#include <nvapi.h>

Data Fields

NvU32 version
NvU32 displayMask
NvU8 bIsDDCPort
NvU8 i2cDevAddress
NvU8pbI2cRegAddress
NvU32 regAddrSize
NvU8pbData
NvU32 cbSize
NvU32 i2cSpeed
NV_I2C_SPEED i2cSpeedKhz
NvU8 portId
NvU32 bIsPortIdSet

Detailed Description

Used in NvAPI_I2CRead() and NvAPI_I2CWrite()


Field Documentation

This flag indicates either the DDC port (TRUE) or the communication port (FALSE) of the concerned display.

set this flag on if and only if portid value is set

The size of the data buffer, pbData, to be read or written.

The Display Mask of the concerned display.

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.

Deprecated, Must be set to NVAPI_I2C_SPEED_DEPRECATED.

The target speed of the transaction in (kHz) (Chosen from the enum NV_I2C_SPEED).

The buffer of data which is to be read or written (depending on the command).

The I2C target register address. May be NULL, which indicates no register address should be sent.

The portid on which device is connected (remember to set bIsPortIdSet if this value is set) Optional for pre-Kepler

The size in bytes of target register address. If pbI2cRegAddress is NULL, this field must be 0.

The structure version.


The documentation for this struct was generated from the following file:


Copyright (c) 2007-2015 NVIDIA Corporation. All rights reserved.

NVIDIA