Skip to content

Version

Navigation: ADLX SDK ReferencesADLX InterfacesI2CIADLXI2C

Syntax

ADLX_RESULT    Version (adlx_int* major, adlx_int* minor)

Parameters

#DirectionNameTypeDescription
1.[out]majoradlx_int*A pointer to a variable where the I2C major version is returned.
#DirectionNameTypeDescription
---------------
2.[out]minoradlx_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

Headerinclude “II2C.h”
Minimum version1.0

See Also: ADLX Enums