![]() |
NVAPI Reference Documentation
|
Release 396: April 5
|
#include <nvapi.h>
Data Fields | |
NvU32 | version |
NvU32 | displayMask |
NvU8 | bIsDDCPort |
NvU8 | i2cDevAddress |
NvU8 * | pbI2cRegAddress |
NvU32 | regAddrSize |
NvU8 * | pbData |
NvU32 | cbSize |
NvU32 | i2cSpeed |
Used in NvAPI_I2CRead() and NvAPI_I2CWrite()
NvU8 NV_I2C_INFO_V1::bIsDDCPort |
This flag indicates either the DDC port (TRUE) or the communication port (FALSE) of the concerned display.
NvU32 NV_I2C_INFO_V1::cbSize |
The size of the data buffer, pbData, to be read or written.
NvU32 NV_I2C_INFO_V1::displayMask |
The Display Mask of the concerned display.
NvU8 NV_I2C_INFO_V1::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_V1::i2cSpeed |
The target speed of the transaction (between 28Kbps to 40Kbps; not guaranteed).
NvU8* NV_I2C_INFO_V1::pbData |
The buffer of data which is to be read or written (depending on the command).
NvU8* NV_I2C_INFO_V1::pbI2cRegAddress |
The I2C target register address. May be NULL, which indicates no register address should be sent.
NvU32 NV_I2C_INFO_V1::regAddrSize |
The size in bytes of target register address. If pbI2cRegAddress is NULL, this field must be 0.
NvU32 NV_I2C_INFO_V1::version |
The structure version.