Version

Retrieves the major and minor software version of I2C interface on a GPU.

Syntax

Copied!

ADLX_RESULT     Version (adlx_int* major, adlx_int* minor)

Parameters

  1. [out] major adlx_int* A pointer to a variable where the I2C major version is returned.

  2. [out] minor adlx_int* A pointer to a variable where the I2C minor version is returned.

Return Value

If the I2C major version and the I2C minor version are successfully returned, ADLX_OK is returned.

If the I2C major version and the I2C minor version are not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “II2C.h”

Minimum version

1.0