GetInterfaceInfo

The function is described in the following sections.

Description

Get the sensor's connection data bus and I2C hardware information.

Syntax

The following code block shows the syntax of the function.
GetInterfaceInfo(
    SENSOR_HANDLE *pstHandle,
    SENSOR_INTFC *pstInterface
    );

Parameter

The function has the following parameters.
Table 1. GetInterfaceInfo Parameter Description
Parameter Description Input/Output
pstHandle Sensor handle Input
pstInterface Sensor interface handle Output

Return

The function has the following return values.
Table 2. GetInterfaceInfo Return Description
Return Description
0 Success
Other values Failure

Requirement

None