STFLIB_ISP_SENSOR_SturctInitialize
The API is described in the following sections.
Description
Initialize a ST_SENSOR structure.
Syntax
The following code block shows the syntax of the API.
STFLIB_ISP_SENSOR_SturctInitialize(
ST_SENSOR *pstSensor,
STF_U8 u8SensorId,
STF_U8 u8Index
);
Parameter
The API has the following parameters.
Parameter | Description | Input/Output |
---|---|---|
pstSensor | Sensor handle | Input/Output |
u8SensorId | Sensor ID | Input |
u8Index | Sensor setting index. No longer in use | Input |
Return
The API has the following return values.
Return | Description |
---|---|
0 | Success |
Other values | Failure |
Requirement
The files libSensorapi.a and libISPC.a are required for using this API.