SLI Zone
NVIDIA.com Developer Home

NVAPI Reference: group__i2cfunctions

I2C Functions
[I2C APIs]


Functions

NVAPI_INTERFACE NvAPI_I2CRead (NvPhysicalGpuHandle hPhysicalGpu, NV_I2C_INFO *pI2cInfo)
NVAPI_INTERFACE NvAPI_I2CWrite (NvPhysicalGpuHandle hPhysicalGpu, NV_I2C_INFO *pI2cInfo)

Function Documentation

NVAPI_INTERFACE NvAPI_I2CRead ( NvPhysicalGpuHandle  hPhysicalGpu,
NV_I2C_INFO pI2cInfo 
)

This function reads the data buffer from the I2C port

SUPPORTED OS: Mac OS X, Windows XP and higher
Since:
Version: 87.90
Parameters:
[in] hPhysicalGPU GPU selection.
[out] NV_I2C_INFO *pI2cInfo The I2C data input structure
Return values:
NVAPI_OK Completed request
NVAPI_ERROR Miscellaneous error occurred.
NVAPI_HANDLE_INVALIDATED Handle passed has been invalidated (see user guide).
NVAPI_EXPECTED_PHYSICAL_GPU_HANDLE Handle passed is not a physical GPU handle.
NVAPI_INCOMPATIBLE_STRUCT_VERSION Structure version is not supported.

NVAPI_INTERFACE NvAPI_I2CWrite ( NvPhysicalGpuHandle  hPhysicalGpu,
NV_I2C_INFO pI2cInfo 
)

This function writes the data buffer to the I2C port.

SUPPORTED OS: Mac OS X, Windows XP and higher
Since:
Version: 87.90
Parameters:
[in] hPhysicalGPU GPU selection.
[in] pI2cInfo The I2C data input structure
Return values:
NVAPI_OK Completed request
NVAPI_ERROR Miscellaneous error occurred.
NVAPI_HANDLE_INVALIDATED Handle passed has been invalidated (see user guide).
NVAPI_EXPECTED_PHYSICAL_GPU_HANDLE Handle passed is not a physical GPU handle.
NVAPI_INCOMPATIBLE_STRUCT_VERSION Structure version is not supported.


Copyright (c) 2007, 2008 NVIDIA Corporation. All rights reserved.