Sensor_Create
The API is described in the following sections.
Description
Sensor structure create and initialization.
Syntax
The following code block shows the syntax of the API.
Sensor_Create( SENSOR_HANDLE **ppstHandle, STF_U8 u8Index );
Parameter
The API has the following parameters.
Parameter | Description | Input/Output |
---|---|---|
ppstHandle | Sensor handle | Input/Output |
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
None