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.
Parameter | Description | Input/Output |
---|---|---|
pstHandle | Sensor handle | Input |
pstInterface | Sensor interface handle | Output |
Return
The function has the following return values.
Return | Description |
---|---|
0 | Success |
Other values | Failure |
Requirement
None